/**
 * Inspace Account Pages - Enterprise Unified CSS
 * Version: 3.0.0
 * Mobile-first, enterprise-grade design system
 */

/* ============================================
   CSS Variables - Design Tokens
   ============================================ */
:root {
    /* Primary Brand Colors */
    --account-primary: #6366f1;
    --account-primary-dark: #4f46e5;
    --account-primary-light: #818cf8;
    --account-secondary: #8b5cf6;
    
    /* Semantic Colors */
    --account-success: #10b981;
    --account-success-light: #d1fae5;
    --account-warning: #f59e0b;
    --account-warning-light: #fef3c7;
    --account-danger: #ef4444;
    --account-danger-light: #fee2e2;
    --account-info: #06b6d4;
    --account-info-light: #cffafe;
    
    /* Neutral Colors */
    --account-white: #ffffff;
    --account-gray-50: #f9fafb;
    --account-gray-100: #f3f4f6;
    --account-gray-200: #e5e7eb;
    --account-gray-300: #d1d5db;
    --account-gray-400: #9ca3af;
    --account-gray-500: #6b7280;
    --account-gray-600: #4b5563;
    --account-gray-700: #374151;
    --account-gray-800: #1f2937;
    --account-gray-900: #111827;
    
    /* Shadows */
    --account-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --account-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --account-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --account-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --account-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Border Radius - Smoother, modern values */
    --account-radius-xs: 4px;
    --account-radius-sm: 6px;
    --account-radius: 8px;
    --account-radius-lg: 10px;
    --account-radius-xl: 12px;
    --account-radius-2xl: 16px;
    --account-radius-full: 9999px;
    
    /* Transitions */
    --account-transition-fast: 150ms ease;
    --account-transition: 200ms ease;
    --account-transition-slow: 300ms ease;
}

/* ============================================
   Reset & Base
   ============================================ */
body.account-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--account-gray-50) 0%, var(--account-white) 50%, var(--account-gray-100) 100%);
    background-attachment: fixed;
    color: var(--account-gray-800);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   Animations
   ============================================ */
@keyframes accountFadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes accountShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes accountSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes accountPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ============================================
   Layout - Container System
   ============================================ */
.account-main-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    min-height: calc(100vh - 140px);
    animation: accountFadeInUp 0.6s ease-out;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .account-main-container {
        padding: 1.5rem;
    }
}

.account-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

/* ===================================================================
   HERO SECTION - UNIFIED ACROSS ALL ACCOUNT PAGES
   =================================================================== */
.account-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.account-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.account-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .account-hero {
        padding: 2.5rem;
    }
    
    .account-hero-content {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
}

.account-hero-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .account-hero-avatar {
        width: 100px;
        height: 100px;
        margin-bottom: 0;
        margin-right: 1.5rem;
    }
}

.account-hero-info {
    flex-grow: 1;
}

.account-hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
}

@media (min-width: 768px) {
    .account-hero-title {
        font-size: 1.75rem;
    }
}

.account-hero-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0 0 0.5rem 0;
}

.account-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    font-size: 0.85rem;
    opacity: 0.85;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .account-hero-meta {
        justify-content: flex-start;
    }
}

.account-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.account-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .account-hero-actions {
        margin-top: 0;
        margin-left: auto;
        justify-content: flex-end;
    }
}

.account-hero-btn {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    white-space: nowrap;
}

.account-hero-btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.account-hero-btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-1px);
}

.account-hero-btn-outline {
    background: white;
    color: #667eea;
    border: 1px solid white;
}

.account-hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #5a6fd8;
    transform: translateY(-1px);
}

/* ===================================================================
   STATS SECTION - UNIFIED STATISTICS DISPLAY
   =================================================================== */
.account-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 576px) {
    .account-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .account-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.account-stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.account-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.account-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.account-stat-card:hover::before {
    opacity: 1;
}

.account-stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}

.account-stat-icon-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.account-stat-icon-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.account-stat-icon-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.account-stat-icon-info {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.account-stat-icon-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.account-stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.account-stat-label {
    font-size: 0.8rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

@media (max-width: 575.98px) {
    .account-stat-card {
        padding: 1rem;
    }
    
    .account-stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .account-stat-number {
        font-size: 1.5rem;
    }
    
    .account-stat-label {
        font-size: 0.7rem;
    }
}

/* ============================================
   Page Header
   ============================================ */
.account-page-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--account-gray-100);
}

.account-page-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--account-primary) 0%, var(--account-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 0.5rem 0;
}

.account-page-title i {
    font-size: 1em;
}

.account-page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0.5rem 0 0 0;
}

.account-breadcrumb {
    background: transparent;
    padding: 0;
    margin: 1rem 0 0 0;
}

.account-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.account-breadcrumb .breadcrumb-item.active {
    color: white;
}

/* ===================================================================
   QUICK ACTIONS - UNIFIED ACTION GRID
   =================================================================== */
.account-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 576px) {
    .account-quick-actions {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .account-quick-actions {
        grid-template-columns: repeat(4, 1fr);
    }
}

.account-quick-action {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    text-decoration: none;
    color: #374151;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.account-quick-action:hover {
    color: #667eea;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.account-quick-action i {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    transition: all 0.3s ease;
}

.account-quick-action:hover i {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.account-quick-action span {
    font-weight: 500;
    font-size: 0.875rem;
}

@media (max-width: 575.98px) {
    .account-quick-action {
        padding: 1rem;
    }
    
    .account-quick-action i {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .account-quick-action span {
        font-size: 0.8rem;
    }
}

/* ===================================================================
   UNIFIED CARD SYSTEM
   =================================================================== */
.account-card {
    background: white;
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.account-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.account-card-header {
    background: linear-gradient(135deg, #f8f9fc 0%, #f1f3f8 100%);
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem;
    border-radius: 16px 16px 0 0;
}

.account-card-header h5,
.account-card-header h6 {
    margin: 0;
    color: #495057;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.account-card-body {
    padding: 2rem;
}

.account-card-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 1rem 2rem;
    border-radius: 0 0 16px 16px;
}

/* ===================================================================
   FORM SYSTEM - UNIFIED & PROFESSIONAL
   =================================================================== */
.account-form {
    background: white;
}

.account-form .form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.account-form .form-control,
.account-form .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: #fafbfc;
}

.account-form .form-control:focus,
.account-form .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
    background: white;
}

.account-form .form-control:hover,
.account-form .form-select:hover {
    border-color: #ced4da;
    background: white;
}

.account-form .form-check {
    margin-bottom: 1rem;
}

.account-form .form-check-input {
    margin-top: 0.25rem;
}

.account-form .form-check-label {
    font-weight: 500;
    color: #495057;
}

.account-form .form-text {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.account-form .invalid-feedback {
    display: block;
    font-size: 0.875rem;
    color: #dc3545;
    margin-top: 0.25rem;
}

.account-form .is-invalid {
    border-color: #dc3545;
    background: #fff5f5;
}

/* ===================================================================
   BUTTON SYSTEM - CONSISTENT & MODERN
   =================================================================== */
.account-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.account-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.account-btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.account-btn-secondary {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
}

.account-btn-secondary:hover {
    background: #5a6268;
    border-color: #545b62;
    color: white;
    transform: translateY(-1px);
}

.account-btn-outline {
    background: transparent;
    color: #667eea;
    border-color: #667eea;
}

.account-btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
}

.account-btn-danger {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.account-btn-danger:hover {
    background: #c82333;
    border-color: #bd2130;
    color: white;
    transform: translateY(-1px);
}

.account-btn-success {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.account-btn-success:hover {
    background: #218838;
    border-color: #1e7e34;
    color: white;
    transform: translateY(-1px);
}

/* ===================================================================
   FORM SWITCH SYSTEM - ENHANCED
   =================================================================== */
.account-form-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: background-color 0.2s ease;
}

.account-form-switch:hover {
    background: #e9ecef;
}

.account-form-switch .form-check {
    margin: 0;
}

.account-form-switch .form-check-input {
    width: 3rem;
    height: 1.5rem;
    border-radius: 1rem;
    background-color: #ced4da;
    border: none;
    transition: all 0.2s ease;
}

.account-form-switch .form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.account-form-switch .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.account-form-switch-label {
    flex-grow: 1;
    margin-right: 1rem;
}

.account-form-switch-title {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.25rem;
}

.account-form-switch-description {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0;
}

/* ===================================================================
   INFORMATION PANELS & BADGES
   =================================================================== */
.account-info-panel {
    background: linear-gradient(135deg, #f8f9fc 0%, #f1f3f8 100%);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.account-info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.account-info-item:last-child {
    border-bottom: none;
}

.account-info-label {
    font-weight: 500;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.account-info-value {
    color: #6c757d;
    text-align: right;
}

.account-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.account-badge-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.account-badge-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.account-badge-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.account-badge-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.account-badge-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

/* ===================================================================
   NAVIGATION ELEMENTS
   =================================================================== */
.account-nav-pills {
    background: white;
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.account-nav-pills .nav-link {
    border-radius: 8px;
    margin-bottom: 0.25rem;
    padding: 0.75rem 1rem;
    color: #6c757d;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.account-nav-pills .nav-link:hover {
    background: #f8f9fa;
    color: #495057;
}

.account-nav-pills .nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* ===================================================================
   ALERT & NOTIFICATION SYSTEM
   =================================================================== */
.account-alert {
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.account-alert-info {
    background: #e3f2fd;
    border-left-color: #2196f3;
    color: #0d47a1;
}

.account-alert-success {
    background: #e8f5e8;
    border-left-color: #4caf50;
    color: #1b5e20;
}

.account-alert-warning {
    background: #fff3e0;
    border-left-color: #ff9800;
    color: #e65100;
}

.account-alert-danger {
    background: #ffebee;
    border-left-color: #f44336;
    color: #b71c1c;
}

/* ===================================================================
   LOADING STATES
   =================================================================== */
.account-loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    flex-direction: column;
    gap: 1rem;
}

.account-loading-spinner {
    width: 3rem;
    height: 3rem;
    border: 0.3rem solid #f3f3f3;
    border-top: 0.3rem solid #667eea;
    border-radius: 50%;
    animation: account-spin 1s linear infinite;
}

@keyframes account-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.account-loading-text {
    color: #6c757d;
    font-size: 1.1rem;
    font-weight: 500;
}

/* ===================================================================
   RESPONSIVE DESIGN SYSTEM
   =================================================================== */

/* Tablet - Medium devices */
@media (max-width: 991.98px) {
    .account-container,
    .account-main-container {
        padding: 0 1rem;
    }
    
    .account-page-header {
        padding: 1.5rem 0;
        margin-bottom: 1.5rem;
    }
}

/* Mobile - Small devices */
@media (max-width: 767.98px) {
    .account-container,
    .account-main-container {
        padding: 0 0.75rem;
    }
    
    .account-page-header {
        padding: 1.25rem 0;
        margin-bottom: 1.25rem;
    }
    
    .account-page-title {
        font-size: 1.35rem;
        gap: 0.75rem;
    }
    
    .account-page-subtitle {
        font-size: 0.95rem;
    }
    
    .account-card-body {
        padding: 1.25rem;
    }
    
    .account-card-header {
        padding: 1.25rem;
    }
    
    .account-btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
        padding: 0.625rem 1.25rem;
    }
    
    .account-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .account-info-value {
        text-align: left;
    }
    
    .account-form-switch {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .account-form-switch-label {
        margin-right: 0;
    }
    
    .account-info-panel {
        padding: 1.25rem;
    }
}

/* Extra small devices */
@media (max-width: 575.98px) {
    .account-container,
    .account-main-container {
        padding: 0 0.5rem;
    }
    
    .account-page-header {
        padding: 1rem 0;
        margin-bottom: 1rem;
    }
    
    .account-page-title {
        font-size: 1.2rem;
        gap: 0.5rem;
    }
    
    .account-card-header,
    .account-card-body {
        padding: 1rem;
    }
    
    .account-card-footer {
        padding: 0.875rem 1rem;
    }
    
    .account-form .form-control,
    .account-form .form-select {
        padding: 0.625rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .account-form .form-label {
        font-size: 0.875rem;
    }
    
    .account-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .account-nav-pills .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .account-info-panel {
        padding: 1rem;
    }
    
    .account-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* ===================================================================
   ACCESSIBILITY ENHANCEMENTS
   =================================================================== */
.account-btn:focus,
.account-form .form-control:focus,
.account-form .form-select:focus,
.account-nav-pills .nav-link:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.account-form-switch .form-check-input:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* ===================================================================
   ANIMATION SYSTEM
   =================================================================== */
.account-fade-in {
    animation: accountFadeIn 0.3s ease-in-out;
}

@keyframes accountFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.account-slide-in {
    animation: accountSlideIn 0.3s ease-in-out;
}

@keyframes accountSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================================================
   UTILITY CLASSES
   =================================================================== */
.account-text-primary {
    color: #667eea !important;
}

.account-text-muted {
    color: #6c757d !important;
}

.account-bg-light {
    background-color: #f8f9fa !important;
}

.account-border-radius {
    border-radius: 12px !important;
}

.account-shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

.account-shadow-hover:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-2px);
}

.account-gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.account-gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* ===================================================================
   DARK MODE SUPPORT (Future Enhancement)
   =================================================================== */
@media (prefers-color-scheme: dark) {
    .account-card {
        background: #2d3748;
        color: #e2e8f0;
    }
    
    .account-card-header {
        background: #4a5568;
        border-bottom-color: #4a5568;
    }
    
    .account-form .form-control,
    .account-form .form-select {
        background: #4a5568;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .account-info-panel {
        background: #4a5568;
        border-color: #4a5568;
        color: #e2e8f0;
    }
}
