.settings-form {
    max-width: 600px;
    margin: 0 auto;
}

.settings-form-compact {
    max-width: none;
    margin: 0;
}

.settings-section {
    margin-bottom: 1.25rem;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
}

.settings-form-compact .settings-section {
    margin-bottom: 1rem;
    padding: 0.875rem;
}

.settings-section h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.5rem;
    font-size: 0.95rem;
}

.settings-form .form-group {
    margin-bottom: 1rem;
}

.settings-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
}

.settings-form .form-control {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.9rem;
    box-sizing: border-box;
}

.settings-form select.settings-select,
.settings-form select.form-control {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 0.5rem 0.75rem;
    font-size: 16px;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    -webkit-appearance: menulist;
    appearance: auto;
    touch-action: manipulation;
}

.settings-form .form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.settings-form .form-check-input {
    margin: 0;
}

.settings-form .form-check-label {
    margin: 0;
    cursor: pointer;
}

.settings-form .form-text {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.settings-form .error {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.settings-form .form-actions {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #dee2e6;
}

.side-menu-settings-panel {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: var(--spacing-md);
    -webkit-overflow-scrolling: touch;
}

.side-menu-settings-title {
    margin: 0 0 var(--spacing-md);
    font-size: var(--font-size-lg);
    color: var(--text-primary);
}

.side-menu-settings-panel .settings-form .btn-primary {
    width: 100%;
}

.session-settings-form .session-suspend-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.session-settings-form .btn-gradient-danger {
    background: linear-gradient(135deg, #ff6b7a 0%, #dc3545 100%);
    color: #fff !important;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.25);
}

.session-settings-form .btn-gradient-danger:hover {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.35);
}

.eliminated-cards-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.eliminated-card-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.eliminated-card-item:last-child {
    border-bottom: none;
}

.eliminated-card-text {
    flex: 1;
    min-width: 0;
    font-size: 0.875rem;
    color: #495057;
    word-break: break-word;
}

.eliminated-card-restore {
    flex-shrink: 0;
}

.session-settings-form .form-check {
    flex-wrap: wrap;
}

.session-settings-form .form-check .form-text {
    flex-basis: 100%;
    margin-left: 0;
    padding-left: 1.5rem;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-full);
}

.profile-page .avatar-preview {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    overflow: hidden;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-light);
}

.profile-page .avatar-preview i {
    font-size: 3rem;
    color: var(--text-secondary);
}

.profile-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
}

.profile-section h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.5rem;
}

.profile-page .password-input {
    position: relative;
}

.profile-page .password-input .form-control {
    padding-right: 2.75rem;
}

.profile-page .password-toggle {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    min-width: auto;
    min-height: auto;
    padding: 0.25rem;
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.profile-stats-grid .stat-item {
    text-align: center;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.profile-stats-grid .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.profile-stats-grid .stat-label {
    font-size: 0.85rem;
    color: #6c757d;
}

.profile-page .profile-actions {
    margin-top: 1.5rem;
}
