* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #ddffdd;
            --secondary-color: #198754;
            --dark-primary: #1a1a1a;
            --dark-secondary: #2d2d2d;
            --accent-color: #f8f9fa;
            --text-dark: #212529;
            --text-muted: #6c757d;
            --border-color: #e9ecef;
            --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
            --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
            --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
            --border-radius: 12px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: linear-gradient(135deg, var(--primary-color) 0%, #ffffff 100%);
            min-height: 100vh;
            color: var(--text-dark);
            line-height: 1.6;
        }

        .app-container {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            position: relative;
        }


        /* Modern Header Styles */
        .header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border-color);
            position: sticky;
            top: 0;
            z-index: 1000;
            padding: 1rem 0;
            transition: var(--transition);
        }

        .header-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--secondary-color);
            text-decoration: none;
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--secondary-color), #20c997);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }

        .header-nav {
            display: flex;
            align-items: center;
            gap: 2rem;
        }

        .nav-links {
            display: flex;
            gap: 1.5rem;
            list-style: none;
        }

        .nav-link {
            color: var(--text-dark);
            text-decoration: none;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 6px;
            transition: var(--transition);
            position: relative;
        }

        .nav-link:hover {
            color: var(--secondary-color);
            background: var(--primary-color);
        }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -1rem;
            left: 50%;
            transform: translateX(-50%);
            width: 6px;
            height: 6px;
            background: var(--secondary-color);
            border-radius: 50%;
        }

        .user-profile {
            position: relative;
        }

        .profile-btn {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.5rem 1rem;
            background: white;
            border: 1px solid var(--border-color);
            border-radius: 50px;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: var(--shadow-light);
        }

        .profile-btn:hover {
            box-shadow: var(--shadow-medium);
            border-color: var(--secondary-color);
        }

        .profile-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--secondary-color), #20c997);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
        }

        .profile-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            margin-top: 0.5rem;
            background: white;
            border: 1px solid var(--border-color);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-heavy);
            min-width: 200px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: var(--transition);
        }

        .profile-dropdown.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-item {
            display: block;
            width: 100%;
            padding: 0.75rem 1rem;
            color: var(--text-dark);
            text-decoration: none;
            border: none;
            background: none;
            cursor: pointer;
            transition: var(--transition);
            border-bottom: 1px solid var(--border-color);
        }

        .dropdown-item:last-child {
            border-bottom: none;
        }

        .dropdown-item:hover {
            background: var(--primary-color);
            color: var(--secondary-color);
        }

        /* Main Content Area */
        .main-content {
            flex: 1;
            
            max-width: 1400px;
            margin: 0 auto;
            width: 100%;
            padding-left: 1.5rem;
            padding-right: 1.5rem;
        }

        /* Card Styles */
        .card {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-light);
            border: 1px solid var(--border-color);
            transition: var(--transition);
            overflow: hidden;
        }

        .card:hover {
            box-shadow: var(--shadow-medium);
            transform: translateY(-2px);
        }

        .card-header {
            padding: 1.5rem;
            border-bottom: 1px solid var(--border-color);
            background: linear-gradient(135deg, var(--primary-color), white);
        }

        .card-body {
            padding: 1.5rem;
        }

        .card-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 0.5rem;
        }

        /* Alert Styles */
        .alert {
            padding: 1rem 1.5rem;
            border-radius: var(--border-radius);
            border: none;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            animation: slideIn 0.3s ease;
        }

        .alert-success {
            background: linear-gradient(135deg, var(--primary-color), #d1edff);
            color: var(--secondary-color);
            border-left: 4px solid var(--secondary-color);
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Button Styles */
        .btn {
            padding: 0.75rem 1.5rem;
            border-radius: 6px;
            border: none;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            justify-content: center;
            font-size: 0.875rem;
        }

        .btn-primary {
            background: var(--secondary-color);
            color: white;
        }

        .btn-primary:hover {
            background: #157347;
            transform: translateY(-1px);
            box-shadow: var(--shadow-medium);
        }

        .btn-outline {
            background: transparent;
            color: var(--secondary-color);
            border: 2px solid var(--secondary-color);
        }

        .btn-outline:hover {
            background: var(--secondary-color);
            color: white;
        }

        /* Mobile Header Styles */
        .mobile-header {
            display: none;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border-color);
            position: sticky;
            top: 0;
            z-index: 1001;
            padding: 1rem;
            box-shadow: var(--shadow-light);
        }

        .mobile-header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 100%;
        }

        .mobile-menu-toggle {
            background: var(--secondary-color);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 0.75rem;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .mobile-menu-toggle:hover {
            background: #157347;
            transform: scale(1.05);
        }

        .mobile-menu-toggle svg {
            width: 20px;
            height: 20px;
        }

        .mobile-logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--secondary-color);
        }

        .mobile-logo-icon {
            width: 32px;
            height: 32px;
            background: linear-gradient(135deg, var(--secondary-color), #20c997);
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }

        .mobile-profile {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .mobile-profile-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 2px solid var(--border-color);
            object-fit: cover;
        }

        .mobile-profile-avatar.default {
            background: var(--secondary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 1rem;
        }

        .mobile-balance {
            text-align: right;
        }

        .mobile-balance-label {
            font-size: 0.75rem;
            color: var(--text-muted);
            margin-bottom: 0.25rem;
        }

        .mobile-balance-amount {
            font-size: 1rem;
            font-weight: 600;
            color: var(--secondary-color);
        }

        /* Mobile Sidebar Overlay */
        .mobile-sidebar-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }

        .mobile-sidebar-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .mobile-sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: 280px;
            height: 100vh;
            background: linear-gradient(180deg, var(--secondary-color) 0%, #157347 100%);
            color: white;
            overflow-y: auto;
            z-index: 1001;
            transform: translateX(-100%);
            transition: var(--transition);
            box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
        }

        .mobile-sidebar.active {
            transform: translateX(0);
        }

        .mobile-sidebar-header {
            padding: 1.5rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .mobile-sidebar-close {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            border-radius: 6px;
            padding: 0.5rem;
            cursor: pointer;
            transition: var(--transition);
        }

        .mobile-sidebar-close:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        .mobile-sidebar-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin: 0;
        }

        /* Mobile Navigation */
        .mobile-nav {
            list-style: none;
            padding: 0;
            margin: 1rem 0;
        }

        .mobile-nav-item {
            margin: 0;
        }

        .mobile-nav-link {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem 1.5rem;
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: var(--transition);
            border-left: 4px solid transparent;
        }

        .mobile-nav-link:hover,
        .mobile-nav-link.active {
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border-left-color: var(--primary-color);
        }

        .mobile-nav-icon {
            width: 20px;
            height: 20px;
            stroke: currentColor;
            fill: currentColor;
            stroke-width: 2;
        }

        /* Mobile Responsive */
        @media (max-width: 1023px) {
            .desktop-sidebar {
                display: none;
            }

            .mobile-header {
                display: block;
            }

            .header {
                display: none;
            }

            .app-container {
                margin-left: 0;
            }

            .main-content {
                padding: 1rem;
            }
        }

        @media (max-width: 768px) {
            .card-header,
            .card-body {
                padding: 1rem;
            }

            .mobile-header {
                padding: 0.75rem 1rem;
            }

            .mobile-balance {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .mobile-logo {
                font-size: 1.125rem;
            }

            .mobile-logo-icon {
                width: 28px;
                height: 28px;
            }

            .mobile-profile-avatar {
                width: 36px;
                height: 36px;
            }
        }

        @media (max-width: 480px) {
            .logo {
                font-size: 1.25rem;
            }

            .logo-icon {
                width: 36px;
                height: 36px;
            }

            .header-nav {
                gap: 1rem;
            }
        }

        /* Dark mode support */
        @media (prefers-color-scheme: dark) {
            :root {
                --accent-color: #2d2d2d;
                --text-dark: #ffffff;
                --text-muted: #adb5bd;
                --border-color: #404040;
            }

            body {
                background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
            }

            .header {
                background: rgba(45, 45, 45, 0.95);
            }

            .card {
                background: #2d2d2d;
                border-color: #404040;
            }

            .card-header {
                background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), transparent);
            }
        }

        /* Loading Animation */
        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid var(--border-color);
            border-radius: 50%;
            border-top-color: var(--secondary-color);
            animation: spin 1s ease-in-out infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Desktop Sidebar Styles */
        .desktop-sidebar {
            position: fixed;
            left: 0;
            top: 0;
            width: 280px;
            height: 100vh;
            background: linear-gradient(180deg, var(--secondary-color) 0%, #157347 100%);
            color: white;
            overflow-y: auto;
            z-index: 999;
            box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
        }

        .desktop-profile {
            padding: 2rem 1.5rem;
            text-align: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
        }

        .desktop-profile-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            margin: 0 auto 1rem;
            display: block;
            border: 4px solid rgba(255, 255, 255, 0.2);
            object-fit: cover;
            transition: var(--transition);
        }

        .desktop-profile-avatar:hover {
            transform: scale(1.05);
            border-color: var(--primary-color);
        }

        .user-profile-dropdown-avatar.default-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            margin: 0 auto 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.2);
            border: 4px solid rgba(255, 255, 255, 0.2);
            font-size: 2rem;
            font-weight: 700;
            color: white;
            transition: var(--transition);
        }

        .user-profile-dropdown-avatar.default-avatar:hover {
            transform: scale(1.05);
            border-color: var(--primary-color);
            background: rgba(255, 255, 255, 0.3);
        }

        .desktop-profile h3 {
            margin: 0 0 0.5rem 0;
            font-size: 1.25rem;
            font-weight: 600;
            color: white;
        }

        .desktop-profile p {
            margin: 0;
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.875rem;
        }

        .desktop-balance-card {
            margin: 1.5rem;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: var(--border-radius);
            padding: 1.5rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: var(--transition);
        }

        .desktop-balance-card:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-2px);
        }

        .desktop-balance-label {
            font-size: 0.875rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 0.5rem;
        }

        .desktop-balance-amount {
            font-size: 1.75rem;
            font-weight: 700;
            color: white;
            margin-bottom: 1rem;
            letter-spacing: -0.02em;
        }

        .desktop-fund-btn {
            display: block;
            width: 100%;
            padding: 0.75rem;
            background: var(--primary-color);
            color: var(--secondary-color);
            text-align: center;
            border-radius: 8px;
            font-weight: 600;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            font-size: 0.875rem;
        }

        .desktop-fund-btn:hover {
            background: white;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .desktop-nav {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .desktop-nav-item {
            margin: 0;
        }

        .desktop-nav-link {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem 1.5rem;
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: var(--transition);
            border-left: 4px solid transparent;
            position: relative;
        }

        .desktop-nav-link:hover {
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border-left-color: var(--primary-color);
        }

        .desktop-nav-link.active {
            background: rgba(255, 255, 255, 0.15);
            color: white;
            border-left-color: var(--primary-color);
        }

        .desktop-nav-link.active::before {
            content: '';
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            width: 8px;
            height: 8px;
            background: var(--primary-color);
            border-radius: 50%;
        }

        .desktop-nav-icon {
            width: 20px;
            height: 20px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .desktop-nav-link span {
            font-weight: 500;
        }

        /* Adjust main content for sidebar */
        @media (min-width: 1024px) {
            .app-container {
                margin-left: 280px;
            }
            
            .header {
                margin-left: 280px;
                width: calc(100% - 280px);
            }
        }

        /* Mobile sidebar hide */
        @media (max-width: 1023px) {
            .desktop-sidebar {
                transform: translateX(-100%);
            }
            
            .app-container {
                margin-left: 0;
            }
            
            .header {
                margin-left: 0;
                width: 100%;
            }
        }

        /* Scrollbar Styling */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--border-color);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--secondary-color);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #157347;
        }

        /* Sidebar scrollbar */
        .desktop-sidebar::-webkit-scrollbar {
            width: 6px;
        }

        .desktop-sidebar::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
        }

        .desktop-sidebar::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.3);
            border-radius: 3px;
        }

        .desktop-sidebar::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.5);
        }


/*Dashboard*/
/* Dashboard Specific Styles */

/* Dashboard Grid Container */
.dashboard-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Welcome Section */ 
.welcome-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #20c997 100%);
    border-radius: var(--border-radius);
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.welcome-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.welcome-text h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: white;
}

.welcome-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.welcome-stats {
    display: flex;
    gap: 1rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
}

.stat-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: white;
}

.stat-info p {
    font-size: 0.875rem;
    margin: 0;
    opacity: 0.8;
}

/* Mobile Welcome Section (First Section) */
.welcome-section:first-of-type {
    padding: 1rem;
    background: #f8fafc;
/*    min-height: 100vh;*/
    display: block; /* Show on mobile by default */
}

/* Header */
.welcome-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
}

.user-greeting {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-circle svg {
    width: 20px;
    height: 20px;
    stroke: #6b7280;
    stroke-width: 2;
}

.greeting-text {
    display: flex;
    flex-direction: column;
}

.greeting {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.username {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.tier-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f3f4f6;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    color: #374151;
}

.tier-badge svg {
    width: 16px;
    height: 16px;
    stroke: #6b7280;
    stroke-width: 2;
}

/* Balance Card */
.balance-card-mobile {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.balance-card-mobile::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.balance-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.account-info {
    color: white;
}

.account-number {
    font-size: 0.875rem;
    margin: 0 0 0.25rem 0;
    opacity: 0.9;
}

.account-label {
    font-size: 0.75rem;
    margin: 0 0 0.5rem 0;
    opacity: 0.8;
}

.balance-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.currency {
    font-size: 1.25rem;
    font-weight: 600;
}

.balance-amount {
    font-size: 1.75rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.balance-amount.hidden {
    font-size: 1.25rem;
    letter-spacing: 3px;
}

.eye-toggle-mobile {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.eye-toggle-mobile:hover {
    background: rgba(255, 255, 255, 0.3);
}

.eye-toggle-mobile svg {
    width: 14px;
    height: 14px;
    stroke: white;
    stroke-width: 2;
}

.card-logo {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-logo svg {
    width: 18px;
    height: 18px;
    stroke: white;
    stroke-width: 2;
}

/* Newsletter Card */
.newsletter-card {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.newsletter-image {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.newsletter-image svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
}

.newsletter-content {
    flex: 1;
    color: white;
}

.newsletter-content h3 {
    font-size: 0.875rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    letter-spacing: 0.5px;
}

.newsletter-content p {
    font-size: 0.75rem;
    opacity: 0.8;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.subscribe-btn {
    background: white;
    color: #1f2937;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
}

/* Desktop Welcome Section (Second Section) - Original with Beautiful Card */
.welcome-section:last-of-type {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #20c997 100%);
    border-radius: var(--border-radius);
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.welcome-section:last-of-type::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.welcome-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.welcome-text h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: white;
}

.welcome-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.welcome-stats {
    display: flex;
    gap: 1rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
}

.stat-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: white;
}

.stat-info p {
    font-size: 0.875rem;
    margin: 0;
    opacity: 0.8;
}

/* Beautiful Desktop Balance Card */
/*.desktop-balance-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 250px;
}

.desktop-balance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.7));
    border-radius: 16px 16px 0 0;
}
*/
.desktop-balance-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.25);
}

.desktop-balance-card h3 {
    margin: 0 0 1rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    opacity: 0.9;
}

.desktop-fund-btn {
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.desktop-fund-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

/* Desktop View - Show desktop section, hide mobile section */
@media (min-width: 768px) {
    .welcome-section:first-of-type {
        display: none; /* Hide mobile welcome section on desktop */
    }
    
    .welcome-section:last-of-type {
        display: block; /* Show desktop welcome section on desktop */
    }
}

/* Mobile-only styles */
.mobile-only {
    display: block;
}

.desktop-only {
    display: none;
}

/* Desktop view - Hide mobile, show desktop */
@media (min-width: 768px) {
    .mobile-only {
        display: none;
    }
    
    .desktop-only {
        display: block;
    }
}

/* Mobile-only styles */
.mobile-only {
    display: block;
}

.desktop-only {
    display: none;
}

/* Eye toggle desktop button styles */
.eye-toggle-desktop {
    transition: all 0.3s ease;
}

.eye-toggle-desktop:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.05);
}

.eye-toggle-desktop svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
}

/* Fund Wallet Card Styles */
.fund-wallet-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.fund-wallet-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.fund-wallet-icon {
    background: rgba(255, 255, 255, 0.3) !important;
}

.fund-wallet-card:hover .fund-wallet-icon {
    background: rgba(255, 255, 255, 0.4) !important;
    transform: scale(1.1);
}

/* Desktop view - Hide mobile, show desktop */
@media (min-width: 768px) {
    .mobile-only {
        display: none;
    }
    
    .desktop-only {
        display: block;
    }
}

/* Quick Actions Grid */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    text-decoration: none;
}

.action-card:hover::before {
    transform: scaleX(1);
}

.action-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--secondary-color), #ffffff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.action-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.action-content {
    flex: 1;
}

.action-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--text-dark);
}

.action-content p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.action-arrow {
    width: 20px;
    height: 20px;
    opacity: 0.6;
    transition: var(--transition);
}

.action-arrow svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 2;
}

.action-card:hover .action-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* Account Overview Section */
.account-tabs {
    display: flex;
    gap: 0.5rem;
    background: var(--accent-color);
    border-radius: 8px;
    padding: 0.25rem;
    flex-wrap: nowrap; /* Prevent wrapping */
    overflow-x: auto; /* Allow horizontal scroll if needed */
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap; /* Prevent text wrapping */
    flex-shrink: 0; /* Prevent buttons from shrinking */
}

.tab-btn.active {
    background: white;
    color: var(--secondary-color);
    box-shadow: var(--shadow-light);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .account-tabs {
        padding: 0.25rem;
    }
    
    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
}

/* Account Cards */
.account-card {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #20c997 100%);
    border-radius: var(--border-radius);
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.account-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.account-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    margin-bottom: 0.5rem;
}

.account-type h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    opacity: 0.9;
}

.status-indicator {
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.status-indicator.active {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
}

.status-indicator.inactive {
    background: rgba(156, 163, 175, 0.2);
    border-color: rgba(156, 163, 175, 0.4);
}

.account-balance {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.balance-label {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.balance-amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.025em;
}

.growth-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.growth-indicator svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
}

.growth-indicator.positive {
    background: rgba(34, 197, 94, 0.2);
}

.growth-indicator.negative {
    background: rgba(239, 68, 68, 0.2);
}

.growth-indicator.negative svg {
    transform: rotate(180deg);
}

/* Investment Stats */
.investment-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Account Details */
.account-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.detail-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.detail-value {
    font-weight: 600;
    text-align: right;
}

/* Account Actions */
.account-actions {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.account-actions .btn {
    flex: 1;
    justify-content: center;
    color: var(--secondary-color);
    background: white;
    border-color: white;
}

.account-actions .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.account-actions .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Progress Section */
.progress-section {
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.progress-label {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    transition: width 0.6s ease;
}

.progress-text {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Transactions Section */
.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.view-all-link:hover {
    color: #157347;
    text-decoration: none;
}

.view-all-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    transition: var(--transition);
}

.view-all-link:hover svg {
    transform: translateX(2px);
}

/* Transaction Table */
.transactions-table-container {
    overflow-x: auto;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.transactions-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.transactions-table th,
.transactions-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.transactions-table th {
    background: var(--accent-color);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-dark);
    letter-spacing: 0.025em;
}

.transactions-table tbody tr {
    transition: var(--transition);
}

.transactions-table tbody tr:hover {
    background: var(--primary-color);
}

.transaction-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.transaction-name {
    font-weight: 500;
    color: var(--text-dark);
}

.transaction-ref {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.transaction-type-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: capitalize;
    background: var(--accent-color);
    color: var(--text-dark);
}

.transaction-type-badge.deposit,
.transaction-type-badge.credit,
.transaction-type-badge.funding {
    background: #dcfce7;
    color: #166534;
}

.transaction-type-badge.withdrawal,
.transaction-type-badge.debit,
.transaction-type-badge.payment {
    background: #fef2f2;
    color: #991b1b;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: capitalize;
}

.status-badge.completed,
.status-badge.success {
    background: #dcfce7;
    color: #166534;
}

.status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.failed,
.status-badge.declined {
    background: #fef2f2;
    color: #991b1b;
}

.amount {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.amount.positive {
    color: #166534;
}

.amount.negative {
    color: #991b1b;
}

/* Mobile Transaction Cards */
.transactions-mobile {
    display: none;
}

.transaction-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.transaction-card:hover {
    box-shadow: var(--shadow-light);
    border-color: var(--secondary-color);
}

.transaction-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.transaction-details h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--text-dark);
}

.transaction-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.transaction-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.transaction-date {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.transaction-reference {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Empty State */
.empty-state,
.empty-state-mobile {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    opacity: 0.4;
}

.empty-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.5;
}

.empty-state h3,
.empty-state-mobile h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
}

.empty-state p,
.empty-state-mobile p {
    margin: 0;
    font-size: 0.875rem;
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 2rem;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border-color);
    border-radius: 50%;
    border-top-color: var(--secondary-color);
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .dashboard-container {
        gap: 1.5rem;
    }
    
    .welcome-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .quick-actions-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .investment-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .account-details {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .welcome-section {
        padding: 1.5rem;
    }
    
    .welcome-text h1 {
        font-size: 1.5rem;
    }
    
    .stat-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
    }
    
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .action-card {
        padding: 1rem;
    }
    
   /* .account-tabs {
        flex-direction: column;
    }*/
    
    .tab-btn {
        text-align: left;
    }
    
    .account-card {
        padding: 1.5rem;
    }
    
    .balance-amount {
        font-size: 2rem;
    }
    
    .investment-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .account-actions {
        flex-direction: column;
    }
    
    .transactions-table-container {
        display: none;
    }
    
    .transactions-mobile {
        display: block;
    }
}

@media (max-width: 480px) {
    .dashboard-container {
        gap: 1rem;
    }
    
    .welcome-section {
        padding: 1rem;
    }
    
    .welcome-text h1 {
        font-size: 1.25rem;
    }
    
    .account-card {
        padding: 1rem;
    }
    
    .balance-amount {
        font-size: 1.75rem;
    }
    
    .investment-stats {
        grid-template-columns: 1fr;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    .transactions-table {
        background: var(--dark-secondary);
    }
    
    .transaction-card {
        background: var(--dark-secondary);
        border-color: #404040;
    }
    
    .empty-state,
    .empty-state-mobile {
        color: var(--text-muted);
    }
}

/* Mobile Dashboard Redesign - Based on UI Image */

/* Mobile First Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 0;
        margin: 0;
    }

    /* Hide desktop elements on mobile */
    .desktop-sidebar,
    .header {
        display: none !important;
    }

    .app-container {
        margin-left: 0;
    }

    /* Mobile Header Redesign */
    .mobile-header {
        background: white;
        padding: 1rem 1.25rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .mobile-header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

    .user-greeting {
        flex: 1;
    }

    .greeting-text {
        font-size: 0.875rem;
        color: #6c757d;
        margin-bottom: 0.25rem;
        font-weight: 400;
    }

    .user-name {
        font-size: 1.125rem;
        font-weight: 600;
        color: #2c3e50;
        margin: 0;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .tier-badge {
        background: linear-gradient(135deg, #198754, #157347);
        color: white;
        padding: 0.25rem 0.75rem;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 500;
        letter-spacing: 0.25px;
    }

    .notification-bell {
        width: 20px;
        height: 20px;
        color: #6c757d;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .notification-bell:hover {
        color: #198754;
    }

    /* User Avatar */
    .user-avatar-mobile {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .avatar-circle {
        width: 60px;
        height: 60px;
        background: #bdc3c7;
        border-radius: 50%;
/*        margin: 0 auto;*/
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .avatar-circle img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }

    .default-avatar {
        background: #198754;
        color: white;
        font-size: 1.5rem;
        font-weight: 600;
    }

    /* Balance Card Redesign */
    .mobile-balance-card {
        background: linear-gradient(135deg, #198754, #20c997);
        border-radius: 16px;
        padding: 1.5rem;
        margin: 0 1.25rem 1.5rem;
        color: white;
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(25, 135, 84, 0.2);
    }

    .mobile-balance-card::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 150px;
        height: 150px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
    }

    .balance-header-mobile {
        position: relative;
        z-index: 2;
        margin-bottom: 1.5rem;
    }

    .balance-label-mobile {
        font-size: 0.875rem;
        opacity: 0.9;
        margin-bottom: 0.5rem;
        font-weight: 400;
    }

    .balance-amount-mobile {
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: -0.5px;
        margin: 0;
    }

    .card-footer-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        z-index: 2;
    }

    .card-number-mobile {
        font-size: 0.875rem;
        opacity: 0.8;
        letter-spacing: 1px;
        font-family: 'Courier New', monospace;
    }

    .bank-logo-mobile {
        background: rgba(255, 255, 255, 0.2);
        padding: 0.25rem 0.75rem;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
        backdrop-filter: blur(10px);
    }

    /* Newsletter/Promotion Card */
    .newsletter-card-mobile {
        margin: 0 1.25rem 1.5rem;
        background: white;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    }

    .newsletter-image-mobile {
        height: 120px;
        background: linear-gradient(135deg, #ff6b35, #f7931e);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }

    .newsletter-image-mobile::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="15" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="20" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="80" r="25" fill="rgba(255,255,255,0.08)"/></svg>');
    }

    .newsletter-icon-mobile {
        width: 48px;
        height: 48px;
        color: white;
        position: relative;
        z-index: 2;
    }

    .newsletter-content-mobile {
        padding: 1rem;
    }

    .newsletter-title-mobile {
        font-size: 0.875rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 0.5rem;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    .newsletter-subtitle-mobile {
        font-size: 0.8125rem;
        color: #6c757d;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .newsletter-btn-mobile {
        background: #2c3e50;
        color: white;
        border: none;
        padding: 0.625rem 1.25rem;
        border-radius: 8px;
        font-size: 0.8125rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.25px;
    }

    .newsletter-btn-mobile:hover {
        background: #34495e;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    /* Quick Actions Section */
    .quick-actions-mobile {
        margin: 1.5rem 1.25rem;
    }

    .section-title-mobile {
        font-size: 0.875rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 1rem;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    .quick-actions-grid-mobile {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .quick-action-item-mobile {
        background: white;
        border-radius: 12px;
        padding: 1rem;
        text-align: center;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        transition: all 0.3s ease;
        text-decoration: none;
        color: inherit;
        border: 1px solid #f8f9fa;
    }

    .quick-action-item-mobile:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        text-decoration: none;
        color: inherit;
    }

    .action-icon-mobile {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        margin: 0 auto 0.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
    }

    .action-icon-mobile.funds { background: linear-gradient(135deg, #4A90E2, #357abd); }
    .action-icon-mobile.airtime { background: linear-gradient(135deg, #FF8C42, #e67e22); }
    .action-icon-mobile.bills { background: linear-gradient(135deg, #8E4EC6, #7d3c98); }
    .action-icon-mobile.loans { background: linear-gradient(135deg, #E74C3C, #c0392b); }
    .action-icon-mobile.investment { background: linear-gradient(135deg, #198754, #157347); }
    .action-icon-mobile.history { background: linear-gradient(135deg, #34495e, #2c3e50); }

    .action-label-mobile {
        font-size: 0.8125rem;
        font-weight: 500;
        color: #2c3e50;
        line-height: 1.2;
    }

    /* Bottom Actions Grid */
    .bottom-actions-mobile {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin: 1.5rem 1.25rem 2rem;
    }

    /* Dashboard Container Mobile */
    .dashboard-container-mobile {
        padding-bottom: 2rem;
        background: #f8fafa;
        min-height: 100vh;
    }

    /* Responsive adjustments for smaller screens */
    @media (max-width: 480px) {
        .mobile-header {
            padding: 0.875rem 1rem;
        }

        .mobile-balance-card {
            margin: 0 1rem 1.25rem;
            padding: 1.25rem;
        }

        .balance-amount-mobile {
            font-size: 1.75rem;
        }

        .newsletter-card-mobile {
            margin: 0 1rem 1.25rem;
        }

        .quick-actions-mobile {
            margin: 1.25rem 1rem;
        }

        .quick-actions-grid-mobile {
            gap: 0.75rem;
        }

        .quick-action-item-mobile {
            padding: 0.875rem;
        }

        .action-icon-mobile {
            width: 40px;
            height: 40px;
        }

        .action-label-mobile {
            font-size: 0.75rem;
        }

        .bottom-actions-mobile {
            margin: 1.25rem 1rem 1.5rem;
            gap: 0.75rem;
        }
    }

    @media (max-width: 360px) {
        .quick-actions-grid-mobile {
            grid-template-columns: repeat(2, 1fr);
        }

        .bottom-actions-mobile {
            grid-template-columns: repeat(2, 1fr);
        }
    }
}

/* Dashboard Sticky Header Styles */
.dashboard-sticky-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 998;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.dashboard-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dashboard-page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.dashboard-breadcrumb {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
}

.dashboard-header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Header Balance Display */
.header-balance-display {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    background: linear-gradient(135deg, var(--primary-color), white);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.header-balance-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.125rem;
    font-weight: 500;
}

.header-balance-amount {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Header Notifications */
.header-notifications {
    position: relative;
}

.notification-btn {
    position: relative;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.notification-btn:hover {
    background: var(--primary-color);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 600;
    border: 2px solid white;
}

/* Dashboard Profile Dropdown */
.dashboard-profile-dropdown {
    position: relative;
}

.dashboard-profile-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    min-width: 200px;
}

.dashboard-profile-btn:hover {
    box-shadow: var(--shadow-medium);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.dashboard-profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.dashboard-profile-avatar.default-avatar {
    background: linear-gradient(135deg, var(--secondary-color), #20c997);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.dashboard-profile-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.dashboard-profile-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
}

.dashboard-profile-email {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.2;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.dashboard-profile-btn:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dashboard Dropdown Menu */
.dashboard-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.75rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
}

.dashboard-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--primary-color), white);
    border-bottom: 1px solid var(--border-color);
}

.dropdown-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dropdown-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-user-avatar.default-avatar {
    background: linear-gradient(135deg, var(--secondary-color), #20c997);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.dropdown-user-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.125rem 0;
}

.dropdown-user-details p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0;
}

.dropdown-section {
    padding: 0.5rem 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.dropdown-item-icon {
    color: var(--text-muted);
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.dropdown-item:hover .dropdown-item-icon {
    color: var(--secondary-color);
}

.dropdown-logout-form {
    width: 100%;
}

.logout-item {
    color: #e74c3c !important;
}

.logout-item:hover {
    background: rgba(231, 76, 60, 0.1) !important;
    color: #c0392b !important;
}

.logout-item .dropdown-item-icon {
    color: #e74c3c;
}

.logout-item:hover .dropdown-item-icon {
    color: #c0392b;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .dashboard-sticky-header {
        display: none;
    }
}

@media (max-width: 768px) {
    .dashboard-header-container {
        padding: 0 1rem;
    }
    
    .dashboard-header-right {
        gap: 1rem;
    }
    
    .header-balance-display {
        display: none;
    }
    
    .dashboard-profile-btn {
        min-width: auto;
        padding: 0.375rem 0.75rem;
    }
    
    .dashboard-profile-info {
        display: none;
    }
    
    .dashboard-dropdown-menu {
        min-width: 250px;
        right: -1rem;
    }
}

@media (max-width: 480px) {
    .dashboard-page-title {
        font-size: 1.25rem;
    }
    
    .dashboard-dropdown-menu {
        min-width: 200px;
        right: -0.5rem;
    }
}
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.action-card {
    background: white;
    border-radius: var(--border-radius, 12px);
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border-color, #e5e7eb);
    transition: var(--transition, all 0.3s ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--secondary-color, #17a2b8);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition, all 0.3s ease);
}

.action-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium, 0 8px 25px rgba(0, 0, 0, 0.1));
    text-decoration: none;
}

.action-card:hover::before {
    transform: scaleX(1);
}

.action-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary-color, #17a2b8), #20c997);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.action-content {
    flex: 1;
}

.action-content h3 {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--text-dark, #1f2937);
    line-height: 1.2;
}

.action-content p {
    font-size: 0.75rem;
    color: var(--text-muted, #6b7280);
    margin: 0;
    line-height: 1.3;
}

.action-arrow {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 16px;
    height: 16px;
    opacity: 0.4;
    transition: var(--transition, all 0.3s ease);
}

.action-arrow svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 2;
}

.action-card:hover .action-arrow {
    opacity: 0.8;
    transform: translateX(2px);
}

/* Mobile Responsive Breakpoints */
@media (max-width: 768px) {
    .quick-actions-grid {
        gap: 0.75rem;
    }
    
    .action-card {
        padding: 0.875rem;
        min-height: 110px;
    }
    
    .action-icon {
        width: 36px;
        height: 36px;
    }
    
    .action-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .action-content h3 {
        font-size: 0.8125rem;
    }
    
    .action-content p {
        font-size: 0.6875rem;
    }
}

@media (max-width: 480px) {
    .quick-actions-grid {
        gap: 0.5rem;
    }
    
    .action-card {
        padding: 0.75rem;
        min-height: 100px;
        gap: 0.5rem;
    }
    
    .action-icon {
        width: 32px;
        height: 32px;
    }
    
    .action-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .action-content h3 {
        font-size: 0.75rem;
    }
    
    .action-content p {
        font-size: 0.625rem;
    }
    
    .action-arrow {
        width: 14px;
        height: 14px;
        top: 6px;
        right: 6px;
    }
}

@media (max-width: 360px) {
    .action-card {
        padding: 0.625rem;
        min-height: 90px;
    }
    
    .action-content h3 {
        font-size: 0.6875rem;
    }
    
    .action-content p {
        font-size: 0.5625rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}


/* Fund Wallet Page Styles */

/* Container */
.fund-wallet-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ffffff 100%);
}

/* Payment Status Messages */
#payment-status {
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    animation: slideIn 0.3s ease;
    box-shadow: var(--shadow-light);
    font-weight: 500;
}

#payment-status .fas {
    margin-right: 0.5rem;
}

/* Payment Tabs */
.payment-tabs {
    display: flex;
    background: var(--accent-color);
    border-radius: 12px;
    padding: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-light);
}

.tab-btn {
    flex: 1;
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tab-btn.active {
    background: white;
    color: var(--secondary-color);
    box-shadow: var(--shadow-light);
}

.tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-dark);
}

/* Payment Content */
.payment-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

/* Payment Description */
.payment-description {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), rgba(255, 255, 255, 0.9));
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.payment-description h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.note-text {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
    font-weight: 500;
}

/* Gateway Selection */
.gateway-selection {
    margin-bottom: 3rem;
}

.gateway-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.gateway-options {
    display: grid;
    gap: 1rem;
}

.gateway-option {
    position: relative;
}

.gateway-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.gateway-label {
    display: block;
    cursor: pointer;
    transition: var(--transition);
}

.gateway-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-light);
}

.gateway-card:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.gateway-option input[type="radio"]:checked + .gateway-label .gateway-card {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, var(--primary-color), white);
    box-shadow: var(--shadow-medium);
}

.gateway-logo {
    width: 60px;
    height: 40px;
    object-fit: contain;
    margin-right: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    background: white;
}

.budpay-logo {
    width: 60px;
    height: 40px;
    background: linear-gradient(135deg, #4A90E2, #357abd);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    border: 1px solid var(--border-color);
}

.budpay-text {
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.gateway-info {
    flex: 1;
}

.gateway-name {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.gateway-desc {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.gateway-check {
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: var(--transition);
}

.gateway-option input[type="radio"]:checked + .gateway-label .gateway-check {
    color: var(--secondary-color);
}

/* Amount Section */
.amount-section {
    margin-bottom: 2rem;
}

.amount-label {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.amount-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.amount-input-wrapper:focus-within {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-medium);
}

.currency-prefix {
    font-weight: 600;
    color: var(--secondary-color);
    margin-right: 0.75rem;
    font-size: 1.125rem;
}

.amount-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    background: transparent;
}

.amount-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

/* Summary Card */
.summary-card {
    background: linear-gradient(135deg, var(--accent-color), white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-light);
}

.summary-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.summary-item:last-child {
    border-bottom: none;
    margin-top: 0.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.summary-label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1rem;
}

.summary-value {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--secondary-color);
}

.total-item .summary-label {
    font-weight: 700;
    font-size: 1.125rem;
}

.total-item .summary-value {
    font-size: 1.25rem;
    color: var(--text-dark);
}

.wallet-amount-item {
    background: rgba(25, 135, 84, 0.1);
    margin: 0 -1rem;
    padding: 1rem;
    border-radius: 8px;
    border: none;
}

.charges-item .summary-value {
    color: #dc3545;
}

/* Security Section */
.security-section {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.05), transparent);
    border-radius: var(--border-radius);
    border: 1px solid rgba(25, 135, 84, 0.1);
}

.security-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.security-text strong {
    color: var(--secondary-color);
}

.payment-methods {
    display: flex;
    justify-content: center;
    align-items: center;
}

#securityLogo {
    height: 30px;
    object-fit: contain;
    opacity: 0.8;
}

/* Pay Button */
.pay-now-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color), #20c997);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 56px;
}

.pay-now-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #157347, #0f8b5e);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.pay-now-btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pay-now-btn:disabled:hover {
    background: var(--text-muted);
}

/* Loading State */
.pay-now-btn .fas.fa-spinner {
    animation: spin 1s linear infinite;
}

/* Desktop Responsive Design */
@media (min-width: 1024px) {
    .fund-wallet-container {
        padding: 3rem 2rem;
    }
    
    .payment-content {
        padding: 3rem;
    }
    
    .gateway-options {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .gateway-card {
        padding: 2rem;
    }
    
    .gateway-logo,
    .budpay-logo {
        width: 80px;
        height: 50px;
    }
    
    .summary-card {
        padding: 2.5rem;
    }
    
    .amount-input-wrapper {
        padding: 1rem 1.5rem;
    }
    
    .amount-input {
        font-size: 1.25rem;
    }
    
    .currency-prefix {
        font-size: 1.25rem;
    }
}

/* Tablet Responsive Design */
@media (max-width: 1023px) and (min-width: 768px) {
    .fund-wallet-container {
        padding: 2rem 1.5rem;
    }
    
    .payment-content {
        padding: 2rem;
    }
    
    .gateway-options {
        gap: 1rem;
    }
    
    .payment-description h2 {
        font-size: 1.375rem;
    }
}

/* Mobile Responsive Design */
@media (max-width: 767px) {
    .fund-wallet-container {
        padding: 1rem;
        background: #f8fafa;
    }
    
    .payment-content {
        padding: 1.5rem;
        margin-top: 1rem;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .payment-description {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .payment-description h2 {
        font-size: 1.25rem;
        line-height: 1.4;
    }
    
    .note-text {
        font-size: 0.8125rem;
    }
    
    .payment-tabs {
        margin-bottom: 1.5rem;
        padding: 0.375rem;
    }
    
    .tab-btn {
        padding: 0.875rem 1rem;
        font-size: 0.8125rem;
    }
    
    .gateway-selection {
        margin-bottom: 2rem;
    }
    
    .gateway-title {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .gateway-options {
        gap: 0.75rem;
    }
    
    .gateway-card {
        padding: 1rem;
        flex-wrap: wrap;
    }
    
    .gateway-logo,
    .budpay-logo {
        width: 50px;
        height: 35px;
        margin-right: 1rem;
    }
    
    .budpay-text {
        font-size: 0.6875rem;
    }
    
    .gateway-name {
        font-size: 0.9375rem;
    }
    
    .gateway-desc {
        font-size: 0.8125rem;
    }
    
    .amount-section {
        margin-bottom: 1.5rem;
    }
    
    .amount-label {
        font-size: 0.9375rem;
    }
    
    .amount-input-wrapper {
        padding: 0.875rem 1rem;
    }
    
    .amount-input {
        font-size: 1rem;
    }
    
    .currency-prefix {
        font-size: 1rem;
        margin-right: 0.5rem;
    }
    
    .summary-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .summary-title {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .summary-item {
        padding: 0.75rem 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .summary-item:last-child {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 1rem;
    }
    
    .summary-label {
        font-size: 0.9375rem;
    }
    
    .summary-value {
        font-size: 1rem;
        align-self: flex-end;
    }
    
    .total-item .summary-label {
        font-size: 1rem;
    }
    
    .total-item .summary-value {
        font-size: 1.125rem;
    }
    
    .wallet-amount-item {
        margin: 0 -0.5rem;
        padding: 0.75rem 0.5rem;
    }
    
    .security-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .security-text {
        font-size: 0.8125rem;
        margin-bottom: 0.75rem;
    }
    
    #securityLogo {
        height: 25px;
    }
    
    .pay-now-btn {
        font-size: 1rem;
        padding: 1rem;
        min-height: 52px;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 480px) {
    .fund-wallet-container {
        padding: 0.75rem;
    }
    
    .payment-content {
        padding: 1.25rem;
    }
    
    .payment-description {
        padding: 1.25rem;
    }
    
    .payment-description h2 {
        font-size: 1.125rem;
    }
    
    .gateway-card {
        padding: 0.875rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .gateway-logo,
    .budpay-logo {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .gateway-info {
        text-align: center;
    }
    
    .gateway-check {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .summary-card {
        padding: 1.25rem;
    }
    
    .summary-item {
        padding: 0.625rem 0;
    }
    
    .amount-input {
        font-size: 0.9375rem;
    }
    
    .pay-now-btn {
        font-size: 0.9375rem;
        min-height: 48px;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 360px) {
    .gateway-options {
        gap: 0.5rem;
    }
    
    .gateway-card {
        padding: 0.75rem;
    }
    
    .gateway-logo,
    .budpay-logo {
        width: 45px;
        height: 30px;
    }
    
    .gateway-name {
        font-size: 0.875rem;
    }
    
    .gateway-desc {
        font-size: 0.75rem;
    }
    
    .summary-card {
        padding: 1rem;
    }
    
    .pay-now-btn {
        font-size: 0.875rem;
        padding: 0.875rem;
        min-height: 44px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .fund-wallet-container {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    }
    
    .payment-content {
        background: var(--dark-secondary);
        border-color: #404040;
    }
    
    .payment-description {
        background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), rgba(45, 45, 45, 0.9));
    }
    
    .gateway-card {
        background: var(--dark-secondary);
        border-color: #404040;
    }
    
    .gateway-card:hover,
    .gateway-option input[type="radio"]:checked + .gateway-label .gateway-card {
        background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), var(--dark-secondary));
    }
    
    .summary-card {
        background: linear-gradient(135deg, rgba(45, 45, 45, 0.8), var(--dark-secondary));
        border-color: #404040;
    }
    
    .amount-input-wrapper {
        background: var(--dark-secondary);
        border-color: #404040;
    }
    
    .security-section {
        background: linear-gradient(135deg, rgba(25, 135, 84, 0.05), transparent);
        border-color: rgba(25, 135, 84, 0.1);
    }
    
    .wallet-amount-item {
        background: rgba(25, 135, 84, 0.15);
    }
}

/* Print Styles */
@media print {
    .fund-wallet-container {
        background: white !important;
        box-shadow: none !important;
    }
    
    .payment-content {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
    
    .pay-now-btn {
        display: none !important;
    }
    
    .gateway-card:hover,
    .gateway-option input[type="radio"]:checked + .gateway-label .gateway-card {
        background: white !important;
        border: 2px solid #000 !important;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .gateway-card {
        border-width: 3px;
    }
    
    .gateway-option input[type="radio"]:checked + .gateway-label .gateway-card {
        border-color: #000;
        background: #fff;
    }
    
    .pay-now-btn {
        border: 2px solid #000;
    }
    
    .amount-input-wrapper:focus-within {
        border-width: 3px;
    }
}

/* Focus Visible Support */
.gateway-label:focus-visible,
.tab-btn:focus-visible,
.pay-now-btn:focus-visible,
.amount-input:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}


/* Quick Amount Buttons */
.quick-amounts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.quick-amount-btn {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.05), white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
}

.quick-amount-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.5s ease;
}

.quick-amount-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), #20c997);
    color: white;
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.quick-amount-btn:hover::before {
    left: 100%;
}

.quick-amount-btn:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

.quick-amount-btn.selected {
    background: linear-gradient(135deg, var(--secondary-color), #20c997);
    color: white;
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-medium);
}

.quick-amount-btn.selected::after {
    content: '✓';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Desktop Responsive Design for Quick Amounts */
@media (min-width: 1024px) {
    .quick-amounts {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .quick-amount-btn {
        padding: 1.25rem 2rem;
        font-size: 1.125rem;
        min-height: 64px;
    }
    
    .quick-amount-btn.selected::after {
        width: 20px;
        height: 20px;
        font-size: 0.875rem;
    }
}

/* Tablet Responsive Design for Quick Amounts */
@media (max-width: 1023px) and (min-width: 768px) {
    .quick-amounts {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .quick-amount-btn {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        min-height: 60px;
    }
}

/* Mobile Responsive Design for Quick Amounts */
@media (max-width: 767px) {
    .quick-amounts {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-bottom: 1.5rem;
        padding: 0.75rem 0;
    }
    
    .quick-amount-btn {
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
        min-height: 52px;
        border-radius: 12px;
    }
    
    .quick-amount-btn.selected::after {
        width: 16px;
        height: 16px;
        font-size: 0.6875rem;
        top: 0.375rem;
        right: 0.375rem;
    }
}

/* Very Small Mobile Devices for Quick Amounts */
@media (max-width: 480px) {
    .quick-amounts {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .quick-amount-btn {
        padding: 0.75rem 0.875rem;
        font-size: 0.875rem;
        min-height: 48px;
        border-radius: 10px;
    }
}

/* Extra Small Mobile Devices for Quick Amounts */
@media (max-width: 360px) {
    .quick-amounts {
        grid-template-columns: 1fr 1fr;
        gap: 0.375rem;
    }
    
    .quick-amount-btn {
        padding: 0.625rem 0.75rem;
        font-size: 0.8125rem;
        min-height: 44px;
        border-radius: 8px;
    }
    
    .quick-amount-btn.selected::after {
        width: 14px;
        height: 14px;
        font-size: 0.625rem;
    }
}

/* Dark Mode Support for Quick Amounts */
@media (prefers-color-scheme: dark) {
    .quick-amount-btn {
        background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), var(--dark-secondary));
        border-color: #404040;
        color: var(--text-light);
    }
    
    .quick-amount-btn:hover {
        background: linear-gradient(135deg, var(--secondary-color), #20c997);
        color: white;
        border-color: var(--secondary-color);
    }
    
    .quick-amount-btn.selected {
        background: linear-gradient(135deg, var(--secondary-color), #20c997);
        color: white;
        border-color: var(--secondary-color);
    }
}

/* Print Styles for Quick Amounts */
@media print {
    .quick-amounts {
        display: none !important;
    }
}

/* High Contrast Mode for Quick Amounts */
@media (prefers-contrast: high) {
    .quick-amount-btn {
        border-width: 3px;
    }
    
    .quick-amount-btn:hover,
    .quick-amount-btn.selected {
        border-color: #000;
        background: #fff;
        color: #000;
    }
}

/* Focus Visible Support for Quick Amounts */
.quick-amount-btn:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Animation for Quick Amount Selection */
@keyframes quickAmountPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.quick-amount-btn.selected {
    animation: quickAmountPulse 0.3s ease-out;
}

/* Accessibility Enhancements for Quick Amounts */
@media (prefers-reduced-motion: reduce) {
    .quick-amount-btn {
        transition: none;
    }
    
    .quick-amount-btn::before {
        transition: none;
    }
    
    .quick-amount-btn.selected {
        animation: none;
    }
}

/* Loading State for Quick Amount Buttons */
.quick-amount-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.quick-amount-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Spin animation for loading state */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}



/* Profile Page Styles */
.main-content {
    min-height: 100vh;
    
    padding: 20px 0;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.profile-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Information Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 40px;
}

.info-section {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ddffdd, #764ba2);
}

.info-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f7fafc;
}

.section-title i {
    color: #ddffdd;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #ddffdd, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Info Items */
.info-item {
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-item:hover {
    background: rgba(102, 126, 234, 0.03);
    border-radius: 8px;
    margin: 0 -10px 20px -10px;
    padding: 15px 10px;
}

.info-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.1rem;
    color: #1e293b;
    font-weight: 500;
    line-height: 1.4;
}

.info-value.empty {
    color: #94a3b8;
    font-style: italic;
}

/* Verification Items */
.verification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #e2e8f0;
    transition: all 0.3s ease;
}

.verification-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.verification-item.verified {
    border-left-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.verification-item.unverified {
    border-left-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

.verification-info {
    flex: 1;
}

.verification-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.verification-value {
    font-size: 1rem;
    color: #1e293b;
    font-weight: 500;
}

.verification-status {
    flex-shrink: 0;
    margin-left: 20px;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.status-badge.verified {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.status-badge.unverified {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.status-badge i {
    font-size: 0.9rem;
}

/* Action Buttons */
.action-buttons {
    padding: 30px 40px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-secondary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn i {
    font-size: 1rem;
}

/* Text Utilities */
.text-muted {
    color: #94a3b8 !important;
    font-size: 0.85rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-content {
        padding: 10px 0;
    }
    
    .content-wrapper {
        padding: 0 15px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .info-section {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .verification-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .verification-status {
        margin-left: 0;
        align-self: flex-start;
    }
    
    .action-buttons {
        padding: 20px;
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .info-grid {
        padding: 15px;
    }
    
    .info-section {
        padding: 15px;
    }
    
    .section-title {
        font-size: 1.1rem;
        gap: 8px;
    }
    
    .verification-item {
        padding: 15px;
    }
    
    .status-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .info-section {
        background: rgba(30, 41, 59, 0.95);
        color: #e2e8f0;
    }
    
    .section-title {
        color: #e2e8f0;
    }
    
    .info-value {
        color: #cbd5e1;
    }
    
    .info-label,
    .verification-label {
        color: #94a3b8;
    }
    
    .verification-item {
        background: rgba(51, 65, 85, 0.3);
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.info-item:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .main-content {
        background: white;
    }
    
    .profile-section {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .action-buttons {
        display: none;
    }
}


/* Change Password Page Styles */
.main-content {
    min-height: 100vh;
    padding: 20px 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.change-password-section {
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 25px 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
   background: linear-gradient(135deg, #10b981, #059669);
}

.header-content {
    flex: 1;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-title i {
    color: #198754;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    margin: 0;
}

.header-actions {
    flex-shrink: 0;
}

/* Form Container */
.form-container {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.form-wrapper {
    padding: 40px;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f7fafc;
}

.form-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.form-description {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* Alert Styles */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert i {
    font-size: 1.2rem;
    margin-top: 2px;
}

.error-list {
    margin: 0;
    padding-left: 20px;
}

.error-list li {
    margin-bottom: 5px;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-label i {
    color: #198754;
    font-size: 1rem;
}

.input-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 14px 50px 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-input:focus {
    outline: none;
    border-color: #198754;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input:hover {
    border-color: #d1d5db;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.toggle-password:hover {
    color: #198754;
    background: rgba(102, 126, 234, 0.1);
}

/* Password Strength Meter */
.password-strength {
    margin-top: 10px;
}

.strength-meter {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.strength-bar {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.strength-text {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Password Match Indicator */
.password-match {
    margin-top: 10px;
}

.match-text {
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Password Requirements */
.password-requirements {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
}

.requirements-title {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #4b5563;
}

.requirements-list li:last-child {
    margin-bottom: 0;
}

.text-success {
    color: #10b981;
}

.text-danger {
    color: #ef4444;
}

/* Form Actions */
.form-actions {
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-primary:disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
    color: #1f2937;
}

.btn-full {
    width: 100%;
}

/* Security Tips */
.security-tips {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
}

.tips-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0369a1;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tips-title i {
    color: #0284c7;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #075985;
    font-size: 0.9rem;
    line-height: 1.5;
}

.tips-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #0284c7;
    font-weight: bold;
}

.tips-list li:last-child {
    margin-bottom: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-content {
        padding: 10px 0;
    }
    
    .content-wrapper {
        padding: 0 15px;
    }
    
    .page-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px;
    }
    
    .header-actions {
        width: 100%;
    }
    
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .form-wrapper {
        padding: 25px 20px;
    }
    
    .page-title {
        font-size: 1.6rem;
    }
    
    .form-title {
        font-size: 1.4rem;
    }
    
    .form-input {
        padding: 12px 45px 12px 14px;
    }
    
    .password-requirements,
    .security-tips {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .form-wrapper {
        padding: 20px 15px;
    }
    
    .page-title {
        font-size: 1.4rem;
        flex-direction: column;
        gap: 8px;
    }
    
    .form-title {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Focus styles for accessibility */
.form-input:focus,
.btn:focus,
.toggle-password:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .main-content {
        background: white;
    }
    
    .form-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .header-actions,
    .toggle-password,
    .btn {
        display: none;
    }
}

/* Profile Picture Page Specific Styles */
.profile-picture-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Current Picture Card */
.current-picture-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(25, 135, 84, 0.1);
    transition: all 0.3s ease;
}

.current-picture-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-header-modern {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), white);
    border-bottom: 1px solid var(--border-color);
}

.card-title-modern {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.current-picture-display {
    padding: 2rem;
    text-align: center;
}

.profile-picture-preview {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.current-picture-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.current-picture-img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.picture-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.picture-status {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.picture-info h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.picture-meta {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin: 0;
}

/* Upload Section */
.upload-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.upload-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(25, 135, 84, 0.1);
}

.upload-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), white);
    border-bottom: 1px solid var(--border-color);
}

.upload-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.upload-description {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin: 0;
}

.upload-form {
    padding: 2rem;
}

/* Drag & Drop Zone */
.upload-zone {
    border: 3px dashed var(--border-color);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8), white);
}

.upload-zone:hover {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, var(--primary-color), white);
    transform: translateY(-2px);
}

.upload-zone.dragover {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), white);
    box-shadow: 0 8px 25px rgba(25, 135, 84, 0.2);
}

.upload-zone-content {
    pointer-events: none;
}

.upload-icon {
    color: var(--text-muted);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.upload-zone:hover .upload-icon {
    color: var(--secondary-color);
}

.upload-text h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.upload-text p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin: 0 0 1.5rem 0;
}

.upload-formats {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.format-badge {
    background: rgba(25, 135, 84, 0.1);
    color: var(--secondary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.upload-limit {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Image Preview */
.image-preview {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.preview-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.preview-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.preview-actions {
    position: absolute;
    top: -8px;
    right: -8px;
}

.preview-remove {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.preview-remove:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}

.preview-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.preview-info p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0 0 0.5rem 0;
}

.preview-specs {
    display: flex;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Upload Actions */
.upload-actions {
    margin-top: 1.5rem;
}

.btn-upload {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color), #20c997);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 56px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
}

.btn-upload:hover:not(:disabled) {
    background: linear-gradient(135deg, #157347, #0f8b5e);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 135, 84, 0.4);
}

.btn-upload:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-loader {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Guidelines Card */
.guidelines-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(25, 135, 84, 0.1);
    overflow: hidden;
}

.guidelines-header {
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), white);
    border-bottom: 1px solid var(--border-color);
}

.guidelines-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guidelines-list {
    padding: 1.25rem;
}

.guideline-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    color: var(--text-dark);
}

.guideline-item:last-child {
    margin-bottom: 0;
}

.guideline-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guideline-icon.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.guideline-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-spinner {
    margin-bottom: 1rem;
}

.spinner-large {
    animation: spin 2s linear infinite;
}

.loading-text {
    font-size: 1.125rem;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .profile-picture-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .current-picture-display {
        padding: 1.5rem;
    }
    
    .current-picture-img {
        width: 160px;
        height: 160px;
    }
    
    .upload-zone {
        padding: 2rem 1.5rem;
    }
    
    .upload-form {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 0;
    }
    
    .content-wrapper {
        padding: 0 1rem;
    }
    
    .page-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    .header-actions {
        width: 100%;
    }
    
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .profile-picture-section {
        margin-top: 1rem;
        gap: 1rem;
    }
    
    .card-header-modern,
    .upload-header {
        padding: 1.25rem;
    }
    
    .current-picture-display {
        padding: 1.25rem;
    }
    
    .current-picture-img {
        width: 140px;
        height: 140px;
    }
    
    .upload-zone {
        padding: 1.5rem 1rem;
    }
    
    .upload-form {
        padding: 1.25rem;
    }
    
    .upload-text h3 {
        font-size: 1rem;
    }
    
    .upload-text p {
        font-size: 0.875rem;
    }
    
    .format-badge {
        font-size: 0.6875rem;
        padding: 0.1875rem 0.625rem;
    }
    
    .preview-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .preview-actions {
        position: static;
    }
    
    .preview-specs {
        justify-content: center;
    }
    
    .guidelines-card {
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .card-title-modern,
    .upload-title {
        font-size: 1.125rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .current-picture-img {
        width: 120px;
        height: 120px;
    }
    
    .upload-zone {
        padding: 1.25rem 0.75rem;
    }
    
    .upload-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .upload-text h3 {
        font-size: 0.9375rem;
    }
    
    .upload-text p {
        font-size: 0.8125rem;
    }
    
    .format-badge {
        font-size: 0.625rem;
        padding: 0.125rem 0.5rem;
    }
    
    .btn-upload {
        font-size: 0.9375rem;
        padding: 0.875rem 1.5rem;
        min-height: 52px;
    }
    
    .preview-image {
        width: 100px;
        height: 100px;
    }
    
    .guideline-item {
        font-size: 0.875rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .current-picture-card,
    .upload-card,
    .guidelines-card {
        background: var(--dark-secondary);
        border-color: #404040;
    }
    
    .card-header-modern,
    .upload-header {
        background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), var(--dark-secondary));
    }
    
    .upload-zone {
        background: linear-gradient(135deg, rgba(72, 85, 99, 0.3), var(--dark-secondary));
        border-color: #404040;
    }
    
    .upload-zone:hover {
        background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), var(--dark-secondary));
    }
    
    .image-preview {
        background: linear-gradient(135deg, rgba(25, 135, 84, 0.05), var(--dark-secondary));
        border-color: #404040;
    }
    
    .guidelines-header {
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), var(--dark-secondary));
    }
}

/* Print Styles */
@media print {
    .loading-overlay,
    .mobile-header,
    .dashboard-sticky-header {
        display: none !important;
    }
    
    .profile-picture-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .upload-card,
    .guidelines-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .btn-upload,
    .preview-remove {
        display: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .upload-zone {
        border-width: 4px;
    }
    
    .current-picture-img {
        border-width: 4px;
        border-color: #000;
    }
    
    .btn-upload {
        border: 2px solid #000;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Visible Support */
.file-input:focus + .upload-zone-content,
.btn-upload:focus-visible,
.preview-remove:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}


/* KYC Page Specific Styles */
.kyc-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ffffff 100%);
    padding: 0;
}

/* Mobile Header for KYC */
.kyc-mobile-header {
    display: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.kyc-mobile-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kyc-back-btn {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.kyc-back-btn:hover {
    background: var(--primary-color);
    transform: translateX(-2px);
}

.kyc-mobile-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* KYC Header */
.kyc-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #20c997 100%);
    color: white;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.kyc-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.kyc-header-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.kyc-title-section {
    flex: 1;
}

.kyc-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.025em;
}

.kyc-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

.progress-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 300px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-label {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.9;
}

.progress-percentage {
    font-size: 1.5rem;
    font-weight: 700;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: linear-gradient(
        -45deg,
        rgba(255, 255, 255, .2) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, .2) 50%,
        rgba(255, 255, 255, .2) 75%,
        transparent 75%,
        transparent
    );
    background-size: 50px 50px;
    animation: move 2s linear infinite;
    border-radius: 4px;
}

@keyframes move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

.completion-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.2);
    padding: 0.75rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.missing-fields-info {
    font-size: 0.875rem;
    opacity: 0.8;
    text-align: center;
    font-weight: 500;
}

/* Form Container */
.kyc-form {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
}

.form-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease;
}

.form-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    padding: 2rem 2rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), rgba(255, 255, 255, 0.9));
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), #20c997);
}

.section-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-badge.required {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.section-badge.optional {
    background: rgba(59, 130, 246, 0.1);
    color: #ddffdd;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Fields Grid */
.fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.field-group {
    position: relative;
}

.field-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.field-label .required-indicator {
    color: #dc2626;
    font-size: 0.875rem;
}

.field-input-wrapper {
    position: relative;
}

.field-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
    color: var(--text-dark);
}

.field-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.1);
    transform: translateY(-2px);
}

.field-input:hover {
    border-color: #d1d5db;
}

.field-input.has-error {
    border-color: #dc2626;
    background: rgba(239, 68, 68, 0.05);
}

.field-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.field-textarea {
    min-height: 120px;
    resize: vertical;
}

.field-error {
    color: #dc2626;
    font-size: 0.8125rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* File Upload Styles */
.file-upload-wrapper {
    position: relative;
}

.file-upload-zone {
    border: 3px dashed var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8), white);
}

.file-upload-zone:hover {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, var(--primary-color), white);
    transform: translateY(-2px);
}

.file-upload-zone.dragover {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), white);
    box-shadow: 0 8px 25px rgba(25, 135, 84, 0.2);
}

.file-upload-icon {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.file-upload-text {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.file-upload-hint {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.file-input-hidden {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Completion Message */
.completion-message {
    background: white;
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    animation: fadeInUp 0.8s ease;
}

.completion-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.completion-message h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
}

.completion-message p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 56px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), #20c997);
    color: white;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 135, 84, 0.4);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
    color: #1f2937;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    min-height: 64px;
}

/* Alert Styles */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    margin: 0 2rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-weight: 500;
    animation: slideDown 0.3s ease;
    backdrop-filter: blur(10px);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.2);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.1);
}

.alert i {
    font-size: 1.25rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.alert ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.25rem;
}

.alert ul li {
    margin-bottom: 0.25rem;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .kyc-mobile-header {
        display: block;
    }
    
    .kyc-header {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .kyc-header-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .kyc-title {
        font-size: 2rem;
    }
    
    .progress-card {
        min-width: auto;
        width: 100%;
    }
    
    .kyc-form {
        padding: 0 1.5rem 2rem;
    }
    
    .fields-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .section-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .form-actions {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .alert {
        margin: 0 1.5rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .kyc-header {
        padding: 1.5rem 1rem;
    }
    
    .kyc-title {
        font-size: 1.75rem;
    }
    
    .kyc-subtitle {
        font-size: 1rem;
    }
    
    .kyc-form {
        padding: 0 1rem 1.5rem;
    }
    
    .section-header {
        padding: 1.25rem 1.25rem 0.75rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.125rem;
    }
    
    .fields-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.25rem;
    }
    
    .field-input {
        padding: 0.875rem 1rem;
    }
    
    .file-upload-zone {
        padding: 1.5rem 1rem;
    }
    
    .completion-message {
        padding: 3rem 1.5rem;
    }
    

    /* Loan Details Page Specific Styles */

/* Services Section - Loan Summary Cards */
.services-section {
    background: white;
    border-radius: var(--border-radius, 12px);
    box-shadow: var(--shadow-light, 0 2px 10px rgba(0, 0, 0, 0.1));
    border: 1px solid var(--border-color, #e9ecef);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: var(--transition, all 0.3s ease);
}

.services-section:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium, 0 4px 20px rgba(0, 0, 0, 0.15));
}

.services-card {
    padding: 2rem;
}

.services-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark, #212529);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color, #e9ecef);
}

.services-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, var(--secondary-color, #198754), #20c997);
    border-radius: 2px;
}

/* Services Grid - Loan Summary Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-link {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8), white);
    border: 2px solid var(--border-color, #e9ecef);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition, all 0.3s ease);
    position: relative;
    overflow: hidden;
}

.service-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color, #198754), #20c997);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition, all 0.3s ease);
}

.service-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium, 0 8px 25px rgba(0, 0, 0, 0.1));
    border-color: var(--secondary-color, #198754);
}

.service-link:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--secondary-color, #198754), #20c997);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition, all 0.3s ease);
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.2);
}

.service-link:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(25, 135, 84, 0.3);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.service-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted, #6c757d);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Wallet Card - Loan Information */
.wallet-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 2rem;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: var(--transition, all 0.3s ease);
}

.wallet-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background: radial-gradient(circle at 30% 20%, white 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, white 0%, transparent 40%);
}

.card-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.wallet-card:hover .card-shine {
    transform: translateX(100%);
}

.card-header {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.bank-name {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.card-number {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-family: 'Courier New', monospace;
    position: relative;
    z-index: 2;
}

/* Transactions Table */
.transactions-table-wrapper {
    overflow-x: auto;
    border-radius: var(--border-radius, 12px);
    border: 1px solid var(--border-color, #e9ecef);
    margin-top: 1.5rem;
    box-shadow: var(--shadow-light, 0 2px 10px rgba(0, 0, 0, 0.05));
}

.transactions-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.9375rem;
}

.transactions-table th {
    background: linear-gradient(135deg, var(--accent-color, #f8f9fa), white);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-dark, #212529);
    border-bottom: 2px solid var(--border-color, #e9ecef);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.transactions-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color, #e9ecef);
    color: var(--text-dark, #212529);
    vertical-align: middle;
}

.transactions-table tbody tr {
    transition: var(--transition, all 0.3s ease);
}

.transactions-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.02), rgba(255, 255, 255, 0.8));
    transform: scale(1.01);
}

/* Row Status Styling */
.transactions-table tbody tr.paid-row {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(255, 255, 255, 0.9));
    border-left: 4px solid #10b981;
}

.transactions-table tbody tr.overdue-row {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(255, 255, 255, 0.9));
    border-left: 4px solid #ef4444;
}

/* Amount Styling */
.amount-positive {
    color: #10b981;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.amount-negative {
    color: #ef4444;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* Status Badges */
.status {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status.completed {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status.completed::before {
    background: #10b981;
}

.status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #92400e;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status.pending::before {
    background: #f59e0b;
}

.status.overdue {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status.overdue::before {
    background: #ef4444;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Mobile Transaction Cards */
.transactions-mobile {
    display: none;
    margin-top: 1.5rem;
}

.transaction-card {
    background: white;
    border: 1px solid var(--border-color, #e9ecef);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-light, 0 2px 10px rgba(0, 0, 0, 0.05));
    transition: var(--transition, all 0.3s ease);
    position: relative;
    overflow: hidden;
}

.transaction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--secondary-color, #198754);
    transform: scaleY(0);
    transform-origin: top;
    transition: var(--transition, all 0.3s ease);
}

.transaction-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium, 0 8px 25px rgba(0, 0, 0, 0.1));
}

.transaction-card:hover::before {
    transform: scaleY(1);
}

.transaction-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.transaction-info {
    flex: 1;
}

.transaction-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark, #212529);
    margin-bottom: 0.25rem;
}

.transaction-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.25px;
}

.transaction-type.withdrawal,
.transaction-type.payment {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.transaction-type.deposit {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.transaction-amount {
    font-size: 1.125rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.transaction-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.transaction-date {
    font-size: 0.875rem;
    color: var(--text-muted, #6c757d);
    font-weight: 500;
}

.transaction-ref {
    font-size: 0.75rem;
    color: var(--text-muted, #6c757d);
    font-family: monospace;
    background: rgba(108, 117, 125, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.transaction-notes {
    font-size: 0.75rem;
    color: var(--text-muted, #6c757d);
    font-style: italic;
    margin-top: 0.5rem;
}

/* No Transactions State */
.no-transactions {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted, #6c757d);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.empty-state i {
    font-size: 4rem;
    opacity: 0.4;
}

.empty-state p {
    font-size: 1.125rem;
    font-weight: 500;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
    }
    
    .services-card {
        padding: 1.5rem;
    }
    
    .wallet-card {
        padding: 1.5rem;
    }
    
    .transactions-table-wrapper {
        overflow-x: scroll;
    }
    
    .transactions-table {
        min-width: 800px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 0;
    }
    
    .content-wrapper {
        padding: 1rem;
    }
    
    .services-section {
        margin-bottom: 1.5rem;
    }
    
    .services-card {
        padding: 1.25rem;
    }
    
    .services-title {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }
    
    .service-link {
        padding: 1rem;
    }
    
    .service-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 0.75rem;
    }
    
    .service-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .service-label {
        font-size: 0.8125rem;
    }
    
    .wallet-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .card-number {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .bank-name {
        font-size: 0.9375rem;
    }
    
    /* Hide table, show mobile cards */
    .transactions-table-wrapper {
        display: none;
    }
    
    .transactions-mobile {
        display: block;
    }
    
    .transaction-card {
        padding: 1.25rem;
    }
    
    .transaction-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .transaction-amount {
        align-self: flex-end;
        margin-top: -2rem;
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .service-link {
        padding: 0.875rem;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.5rem;
    }
    
    .service-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .service-label {
        font-size: 0.75rem;
    }
    
    .wallet-card {
        padding: 1rem;
    }
    
    .card-number {
        font-size: 0.9375rem;
        letter-spacing: 1px;
    }
    
    .transaction-card {
        padding: 1rem;
    }
    
    .transaction-name {
        font-size: 0.9375rem;
    }
    
    .transaction-amount {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .service-link {
        padding: 0.75rem;
    }
    
    .service-icon {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }
    
    .service-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .service-label {
        font-size: 0.6875rem;
        line-height: 1.3;
    }
    
    .wallet-card {
        margin-bottom: 0.75rem;
    }
    
    .card-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .transaction-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .status {
        padding: 0.375rem 0.75rem;
        font-size: 0.6875rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .services-section {
        background: var(--dark-secondary, #2d2d2d);
        border-color: #404040;
    }
    
    .service-link {
        background: linear-gradient(135deg, rgba(45, 45, 45, 0.8), var(--dark-secondary, #2d2d2d));
        border-color: #404040;
    }
    
    .transactions-table {
        background: var(--dark-secondary, #2d2d2d);
    }
    
    .transactions-table th {
        background: linear-gradient(135deg, rgba(64, 64, 64, 0.8), var(--dark-secondary, #2d2d2d));
    }
    
    .transaction-card {
        background: var(--dark-secondary, #2d2d2d);
        border-color: #404040;
    }
    
    .transaction-ref {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Print Styles */
@media print {
    .services-section,
    .wallet-card,
    .transaction-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
    
    .service-link:hover::before,
    .transaction-card::before {
        display: none !important;
    }
    
    .transactions-mobile {
        display: none !important;
    }
    
    .transactions-table-wrapper {
        display: block !important;
    }
    
    .transactions-table {
        font-size: 0.8125rem;
    }
    
    .status {
        border: 1px solid #000 !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .service-link {
        border-width: 2px;
    }
    
    .service-link:hover {
        border-color: #000;
    }
    
    .transactions-table th {
        border-bottom-width: 3px;
    }
    
    .status {
        border-width: 2px;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    .service-link,
    .transaction-card,
    .wallet-card {
        transition: none !important;
    }
    
    .card-shine {
        display: none !important;
    }
    
    .status.overdue::before {
        animation: none !important;
    }
}

/* Focus Styles for Accessibility */
.service-link:focus,
.transaction-card:focus {
    outline: 3px solid var(--secondary-color, #198754);
    outline-offset: 2px;
}

/* Loading States */
.loading-row {
    opacity: 0.6;
    pointer-events: none;
}

.loading-row td {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    background-size: 200px 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: 200px 0;
    }
}

/* Tooltip Styles for Additional Info */
.tooltip-trigger {
    position: relative;
    cursor: help;
}

.tooltip-trigger:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 0.5rem;
}

.tooltip-trigger:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}


/* Mobile Profile Wrapper */
.mobile-profile-wrapper {
    position: relative;
    margin-right: 12px;
}

.mobile-avatar-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
}

.mobile-avatar-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.mobile-avatar-btn:active .mobile-avatar-image {
    transform: scale(0.95);
}

.mobile-avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-avatar-circle.default-avatar {
    font-size: 20px;
    font-weight: 600;
    color: white;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-avatar-btn:active .mobile-avatar-circle {
    transform: scale(0.95);
}

/* Full-Page Mobile Profile Menu */
.mobile-profile-fullpage {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f9fafb;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-profile-fullpage.active {
    transform: translateX(0);
}

.profile-menu-container {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Header */
.profile-menu-header {
    background: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 10;
}

.profile-menu-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
}

.close-profile-menu {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s;
}

.close-profile-menu:active {
    background: #f3f4f6;
    transform: scale(0.95);
}

/* Profile Info Card */
.profile-info-card {
    position: relative;
    margin: 20px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.profile-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: #198754;
}

.profile-card-content {
    position: relative;
    background: white;
    margin-top: 80px;
    padding: 50px 20px 25px;
    text-align: center;
    border-radius: 16px;
}

.profile-avatar-large {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid white;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-initial {
    width: 100%;
    height: 100%;
    background: #198754;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 700;
    color: white;
}

.profile-name {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
}

.profile-email {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #6b7280;
    word-break: break-all;
}

.profile-tier-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #198754;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Menu Items */
.profile-menu-items {
    flex: 1;
    padding: 0 20px 30px;
}

.menu-section {
    margin-bottom: 30px;
}

.menu-section-title {
    margin: 0 0 12px 0;
    font-size: 13px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    margin-bottom: 10px;
    text-decoration: none;
    color: #1f2937;
    transition: all 0.2s;
    border: 2px solid transparent;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.menu-item:active {
    transform: scale(0.98);
    background: #f9fafb;
    border-color: #e5e7eb;
}

.menu-item-icon {
    width: 40px;
    height: 40px;
    background: #198754;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
}

.menu-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.menu-item-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

.menu-item-desc {
    font-size: 12px;
    color: #9ca3af;
}

.menu-item-arrow {
    color: #d1d5db;
    flex-shrink: 0;
}

/* Logout Item Styling */
.logout-item {
    border: 2px solid #fee2e2;
}

.logout-item .menu-item-icon {
    background: #198754;
    color: #ffffff;
}

.logout-item .menu-item-title {
    color: #dc2626;
}

.logout-item:active {
    background: #fef2f2;
    border-color: #fecaca;
}

/* Update existing welcome section styles */
.user-greeting {
    display: flex;
    align-items: center;
    gap: 0;
}

.greeting-text {
    flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-profile-fullpage {
        display: block;
    }
}

@media (min-width: 769px) {
    .mobile-profile-fullpage {
        display: none;
    }
}

/* Prevent body scroll when menu is open */
body.profile-menu-open {
    overflow: hidden;
}


/*Footer*/

/* Mobile Bottom Navigation - Fintech Style */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(25, 135, 84, 0.1);
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    display: none;
}

.mobile-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 12px;
}

.mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    padding: 8px 4px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mobile-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 32px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), #20c997);
    border-radius: 0 0 3px 3px;
    transition: transform 0.3s ease;
}

.mobile-nav-item.active::before {
    transform: translateX(-50%) scaleX(1);
}

.mobile-nav-icon-wrapper {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.mobile-nav-item.active .mobile-nav-icon-wrapper {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.15), rgba(32, 201, 151, 0.1));
    transform: translateY(-4px);
}

.mobile-nav-item:active .mobile-nav-icon-wrapper {
    transform: scale(0.9);
}

.mobile-nav-icon {
    width: 24px;
    height: 24px;
    stroke: #6b7280;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: all 0.3s ease;
}

.mobile-nav-item.active .mobile-nav-icon {
    stroke: var(--secondary-color);
    transform: scale(1.1);
}

.mobile-nav-label {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.3s ease;
    letter-spacing: 0.2px;
}

.mobile-nav-item.active .mobile-nav-label {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Notification Badge */
.mobile-nav-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    padding: 0 4px;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Center Action Button (Special) */
.mobile-nav-item.center-action {
    margin: 0 8px;
}

.mobile-nav-item.center-action .mobile-nav-icon-wrapper {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--secondary-color), #20c997);
    box-shadow: 0 8px 24px rgba(25, 135, 84, 0.3);
    border: 4px solid white;
}

.mobile-nav-item.center-action .mobile-nav-icon {
    stroke: white;
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
}

.mobile-nav-item.center-action .mobile-nav-label {
    color: var(--secondary-color);
    font-weight: 700;
}

.mobile-nav-item.center-action:active .mobile-nav-icon-wrapper {
    transform: scale(0.95) translateY(-24px);
}

/* Ripple Effect */
.mobile-nav-item::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(25, 135, 84, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.mobile-nav-item:active::after {
    transform: scale(2);
    opacity: 1;
    transition: transform 0.5s, opacity 0.3s;
}

/* Add padding to main content when bottom nav is visible */
@media (max-width: 1023px) {
    .mobile-bottom-nav {
        display: block;
    }
    
    .main-content {
        padding-bottom: calc(80px + env(safe-area-inset-bottom));
    }
    
    .dashboard-container-mobile {
        padding-bottom: calc(100px + env(safe-area-inset-bottom));
    }
}

/* Hide on very small screens (adjust icon sizes) */
@media (max-width: 360px) {
    .mobile-nav-icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .mobile-nav-icon {
        width: 22px;
        height: 22px;
    }
    
    .mobile-nav-label {
        font-size: 10px;
    }
    
    .mobile-nav-item.center-action .mobile-nav-icon-wrapper {
        width: 52px;
        height: 52px;
        margin-top: -22px;
    }
    
    .mobile-nav-item.center-action .mobile-nav-icon {
        width: 26px;
        height: 26px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .mobile-bottom-nav {
        background: rgba(45, 45, 45, 0.98);
        border-top-color: rgba(255, 255, 255, 0.1);
    }
    
    .mobile-nav-icon {
        stroke: #d1d5db;
    }
    
    .mobile-nav-label {
        color: #9ca3af;
    }
    
    .mobile-nav-item.active .mobile-nav-icon-wrapper {
        background: linear-gradient(135deg, rgba(25, 135, 84, 0.25), rgba(32, 201, 151, 0.15));
    }
    
    .mobile-nav-item.center-action .mobile-nav-icon-wrapper {
        border-color: #2d2d2d;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .mobile-nav-item,
    .mobile-nav-icon-wrapper,
    .mobile-nav-icon,
    .mobile-nav-label,
    .mobile-nav-item::before,
    .mobile-nav-item::after {
        transition: none !important;
        animation: none !important;
    }
}

/* Focus styles for keyboard navigation */
.mobile-nav-item:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Print - hide bottom nav */
@media print {
    .mobile-bottom-nav {
        display: none !important;
    }
}

/* Mobile App  */

 /* Onboarding Container */
        .onboarding-container {
            width: 100%;
            max-width: 480px;
            margin: 0 auto;
            min-height: 100vh;
            background: white;
            position: relative;
            overflow: hidden;
            box-shadow: 0 0 60px rgba(0, 0, 0, 0.1);
        }

        /* Logo Area */
        .logo-area {
            position: absolute;
            top: 20px;
            left: 20px;
            z-index: 100;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--secondary-color), #20c997);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
            font-weight: 700;
            color: white;
            font-size: 1.25rem;
        }

        .logo-text {
            font-size: 1.125rem;
            font-weight: 700;
            color: var(--text-dark);
        }

        .logo-text span {
            color: var(--secondary-color);
        }

        /* Skip Button */
        .skip-button {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.9);
            border: 2px solid var(--border-color);
            padding: 8px 20px;
            border-radius: 20px;
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--text-muted);
            cursor: pointer;
            transition: var(--transition);
            z-index: 100;
            backdrop-filter: blur(10px);
        }

        .skip-button:hover {
            background: white;
            color: var(--secondary-color);
            border-color: var(--secondary-color);
            transform: translateY(-2px);
        }

        /* Slides Container */
        .slides-container {
            display: flex;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            height: 100vh;
        }

        .slide {
            min-width: 100%;
            width: 100%;
            display: flex;
            flex-direction: column;
            padding: 80px 30px 120px;
            position: relative;
        }

        /* Slide Backgrounds */
        .slide-1 {
            background: #ddffdd;
        }

        .slide-2 {
            background: #ddffdd;
        }

        .slide-3 {
            background: #ddffdd;
        }

       /* Illustration Area */
        .illustration-area {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 40px;
            position: relative;
        }

        /* Wallet Illustration - Slide 1 */
        .wallet-illustration {
            position: relative;
            width: 280px;
            height: 280px;
        }

        .wallet-main {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: 180px;
            height: 140px;
            background: linear-gradient(135deg, #d4a373 0%, #c08552 100%);
            border-radius: 20px;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
            animation: wallet-float 3s ease-in-out infinite;
        }

        .wallet-flap {
            position: absolute;
            top: -25px;
            left: 0;
            right: 0;
            height: 30px;
            background: linear-gradient(135deg, #b88a5e 0%, #a67647 100%);
            border-radius: 20px 20px 0 0;
            box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
        }

        .wallet-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 16px;
            height: 16px;
            background: white;
            border-radius: 50%;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
        }

        .coins-group {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            height: 100%;
        }

        .coin {
            position: absolute;
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
            border-radius: 50%;
            box-shadow: 0 10px 25px rgba(255, 215, 0, 0.5);
            border: 4px solid #FFF8DC;
        }

        .coin::before {
            content: '₦';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: #FFF8DC;
            font-size: 1.5rem;
            font-weight: 700;
        }

        .coin-1 {
            top: 5px;
            left: 50%;
            transform: translateX(-50%);
            animation: coin-fall-1 2.5s infinite ease-in-out;
        }

        .coin-2 {
            top: 45px;
            left: 20%;
            animation: coin-fall-2 2.5s 0.4s infinite ease-in-out;
        }

        .coin-3 {
            top: 45px;
            right: 20%;
            animation: coin-fall-3 2.5s 0.8s infinite ease-in-out;
        }

        @keyframes wallet-float {
            0%, 100% { transform: translateX(-50%) translateY(0); }
            50% { transform: translateX(-50%) translateY(-10px); }
        }

        @keyframes coin-fall-1 {
            0%, 100% { transform: translateX(-50%) translateY(0) rotate(0deg); }
            50% { transform: translateX(-50%) translateY(15px) rotate(180deg); }
        }

        @keyframes coin-fall-2 {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(20px) rotate(180deg); }
        }

        @keyframes coin-fall-3 {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(18px) rotate(180deg); }
        }

        /* Shield Illustration - Slide 2 */
        .shield-illustration {
            position: relative;
            width: 280px;
            height: 280px;
        }

        .shield-main {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 160px;
            height: 180px;
            background: linear-gradient(135deg, var(--secondary-color), #20c997);
            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
            box-shadow: 0 25px 50px rgba(25, 135, 84, 0.4);
            animation: shield-pulse 2s ease-in-out infinite;
        }

        .shield-check {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .shield-check::after {
            content: '✓';
            color: var(--secondary-color);
            font-size: 2rem;
            font-weight: 700;
        }

        .security-particles {
            position: absolute;
            width: 100%;
            height: 100%;
        }

        .particle {
            position: absolute;
            width: 8px;
            height: 8px;
            background: var(--secondary-color);
            border-radius: 50%;
            opacity: 0.6;
        }

        .particle-1 {
            top: 20%;
            left: 15%;
            animation: particle-float-1 3s ease-in-out infinite;
        }

        .particle-2 {
            top: 30%;
            right: 15%;
            animation: particle-float-2 3.5s ease-in-out infinite;
        }

        .particle-3 {
            bottom: 25%;
            left: 20%;
            animation: particle-float-3 4s ease-in-out infinite;
        }

        .particle-4 {
            bottom: 30%;
            right: 20%;
            animation: particle-float-4 3.2s ease-in-out infinite;
        }

        @keyframes shield-pulse {
            0%, 100% { transform: translate(-50%, -50%) scale(1); }
            50% { transform: translate(-50%, -50%) scale(1.05); }
        }

        @keyframes particle-float-1 {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }

        @keyframes particle-float-2 {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-25px); }
        }

        @keyframes particle-float-3 {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-15px); }
        }

        @keyframes particle-float-4 {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-22px); }
        }

        /* Graph Illustration - Slide 3 */
        .graph-illustration {
            position: relative;
            width: 280px;
            height: 280px;
        }

        .graph-container {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 200px;
            height: 200px;
            background: white;
            border-radius: 20px;
            padding: 20px;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
            animation: graph-float 3s ease-in-out infinite;
        }

        .graph-bars {
            display: flex;
            align-items: flex-end;
            justify-content: space-around;
            height: 100%;
            gap: 10px;
        }

        .bar {
            flex: 1;
            background: linear-gradient(180deg, var(--secondary-color), #20c997);
            border-radius: 8px 8px 0 0;
            position: relative;
            animation: bar-grow 1.5s ease-out forwards;
            transform-origin: bottom;
        }

        .bar-1 { height: 0; animation-delay: 0.2s; }
        .bar-2 { height: 0; animation-delay: 0.4s; }
        .bar-3 { height: 0; animation-delay: 0.6s; }
        .bar-4 { height: 0; animation-delay: 0.8s; }

        @keyframes bar-grow {
            to {
                height: var(--bar-height);
            }
        }

        .bar-1 { --bar-height: 60%; }
        .bar-2 { --bar-height: 80%; }
        .bar-3 { --bar-height: 100%; }
        .bar-4 { --bar-height: 75%; }

        .trend-arrow {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            background: rgba(25, 135, 84, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: trend-bounce 2s ease-in-out infinite;
        }

        .trend-arrow::after {
            content: '↗';
            color: var(--secondary-color);
            font-size: 1.5rem;
            font-weight: 700;
        }

        @keyframes graph-float {
            0%, 100% { transform: translate(-50%, -50%) translateY(0); }
            50% { transform: translate(-50%, -50%) translateY(-10px); }
        }

        @keyframes trend-bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-5px); }
        }

        /* Content Area */
        .content-area {
            text-align: center;
            padding: 0 10px;
        }

        .slide-title {
            font-size: 2rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 15px;
            line-height: 1.2;
            animation: slide-in-up 0.6s ease;
        }

        .slide-description {
            font-size: 1rem;
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 20px;
            animation: slide-in-up 0.8s ease;
        }

        .features-list {
            text-align: left;
            margin: 20px 0;
            animation: slide-in-up 1s ease;
        }

        .feature-item {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 12px;
            padding: 12px;
            background: rgba(25, 135, 84, 0.05);
            border-radius: 12px;
            transition: var(--transition);
        }

        .feature-item:hover {
            background: rgba(25, 135, 84, 0.1);
            transform: translateX(5px);
        }

        .feature-icon {
            width: 24px;
            height: 24px;
            background: var(--secondary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            color: white;
            font-size: 0.75rem;
            font-weight: 700;
        }

        .feature-icon::after {
            content: '✓';
        }

        .feature-text {
            font-size: 0.9375rem;
            color: var(--text-dark);
            font-weight: 500;
        }

        @keyframes slide-in-up {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Bottom Controls */
        .bottom-controls {
            position: fixed;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 480px;
            padding: 30px;
            background: white;
            border-top: 1px solid var(--border-color);
            z-index: 50;
        }

        /* Progress Dots */
        .progress-dots {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-bottom: 20px;
        }

        .dot {
            width: 10px;
            height: 10px;
            background: var(--border-color);
            border-radius: 50%;
            transition: var(--transition);
            cursor: pointer;
        }

        .dot.active {
            background: var(--secondary-color);
            width: 30px;
            border-radius: 5px;
        }

        /* Navigation Buttons */
        .navigation-buttons {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .btn-get-started {
            width: 100%;
            padding: 16px 24px;
            border-radius: 16px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            text-decoration: none;
            background: linear-gradient(135deg, var(--secondary-color), #20c997);
            color: white;
            box-shadow: 0 8px 25px rgba(25, 135, 84, 0.3);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .btn-get-started:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 35px rgba(25, 135, 84, 0.4);
        }

        .sign-in-text {
            text-align: center;
            font-size: 0.9375rem;
            color: var(--text-muted);
        }

        .sign-in-text a {
            color: var(--secondary-color);
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
        }

        .sign-in-text a:hover {
            text-decoration: underline;
        }

        /* Hide/Show elements */
        .hidden {
            display: none !important;
        }

        /* Responsive Design */
        @media (max-width: 480px) {
            .slide {
                padding: 70px 20px 100px;
            }

            .slide-title {
                font-size: 1.75rem;
            }

            .slide-description {
                font-size: 0.9375rem;
            }

            .wallet-illustration,
            .shield-illustration,
            .graph-illustration {
                width: 240px;
                height: 240px;
            }

            .wallet-main {
                width: 160px;
                height: 120px;
            }

            .coin {
                width: 40px;
                height: 40px;
            }

            .bottom-controls {
                padding: 20px;
            }

            .btn {
                padding: 14px 20px;
                font-size: 0.9375rem;
            }

            .sign-in-text {
                font-size: 0.875rem;
            }

            .logo-area {
                top: 15px;
                left: 15px;
            }

            .logo-icon {
                width: 36px;
                height: 36px;
                font-size: 1.125rem;
            }

            .logo-text {
                font-size: 1rem;
            }

            .skip-button {
                top: 15px;
                right: 15px;
                padding: 6px 16px;
            }
        }

        @media (max-width: 360px) {
            .slide-title {
                font-size: 1.5rem;
            }

            .wallet-illustration,
            .shield-illustration,
            .graph-illustration {
                width: 200px;
                height: 200px;
            }

            .feature-item {
                padding: 10px;
            }

            .feature-text {
                font-size: 0.875rem;
            }

            .logo-text {
                display: none;
            }
        }

        /* Dark Mode Support */
        @media (prefers-color-scheme: dark) {
            body {
                background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
            }

            .onboarding-container {
                background: #2d2d2d;
            }

            .slide-1 {
                background: linear-gradient(135deg, #1e3a2e 0%, #2d2d2d 100%);
            }

            .slide-2 {
                background: linear-gradient(135deg, #1e2a3a 0%, #2d2d2d 100%);
            }

            .slide-3 {
                background: linear-gradient(135deg, #3a2e1e 0%, #2d2d2d 100%);
            }

            .bottom-controls {
                background: #2d2d2d;
                border-top-color: #404040;
            }

            .slide-title {
                color: #e2e8f0;
            }

            .slide-description {
                color: #94a3b8;
            }

            .feature-text {
                color: #cbd5e1;
            }

            .graph-container {
                background: #1e293b;
            }

            .logo-text {
                color: #e2e8f0;
            }

            .sign-in-text {
                color: #94a3b8;
            }

            .sign-in-text a {
                color: #20c997;
            }
        }


/* Page Transition Styles */
.page-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

.page-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background: #fff;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.page-content.active {
    transform: translateX(0);
    z-index: 10;
}

.page-content.slide-out-left {
    transform: translateX(-100%);
    z-index: 5;
}

.page-content.slide-in-right {
    transform: translateX(100%);
    z-index: 10;
}

.page-content.slide-in-right.active {
    transform: translateX(0);
}

/* Fade overlay for smooth transition */
.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Loading indicator during transition */
.transition-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Ensure smooth scrolling */
body {
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
}

/* Back button for account opening page */
.native-back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.native-back-button:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.native-back-button svg {
    width: 24px;
    height: 24px;
}

/* Mobile Account Opening Styles */
.account-opening-mobile {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f0fe 100%);
    padding-bottom: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Header */
.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #e5e7eb;
    transform: scale(1.05);
}

.back-btn:active {
    transform: scale(0.95);
}

.header-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.header-spacer {
    width: 40px;
}

/* Progress Bar */
.progress-bar-container {
    padding: 1.5rem 1.25rem 1rem;
    background: white;
}

.progress-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #198754 0%, #ddffdd 100%);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    text-align: center;
}

/* Main Content */
.account-content {
    padding: 1.5rem 1.25rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-icon {
    display: inline-flex;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.5rem;
}

.hero-subtitle {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
    padding: 0 1rem;
}

/* Account Cards Grid */
.account-types-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.account-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
    border: 2px solid transparent;
}

.account-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #198754 0%, #198754 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.account-card:hover::before {
    transform: scaleX(1);
}

.account-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #198754;
}

.account-card:active {
    transform: translateY(-2px);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #198754;
    flex-shrink: 0;
}

.corporate-card .card-icon {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #f59e0b;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.card-description {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    font-size: 0.9375rem;
    color: #374151;
}

.card-features li svg {
    flex-shrink: 0;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.footer-text {
    font-size: 1rem;
    font-weight: 600;
    color: #198754;
}

.card-footer svg {
    color: #198754;
    transition: transform 0.3s ease;
}

.account-card:hover .card-footer svg {
    transform: translateX(4px);
}

/* Alternative Section */
.alternative-section {
    margin: 2rem 0;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e5e7eb;
}

.divider-text {
    padding: 0 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 500;
}

.login-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.login-link:hover {
    border-color: #198754;
    color: #198754;
    background: #f0f9ff;
}

/* Help Section */
.help-section {
    margin: 2rem 0;
}

.help-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
}

.help-card svg {
    color: #f59e0b;
    flex-shrink: 0;
}

.help-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #78350f;
    margin: 0 0 0.25rem;
}

.help-content p {
    font-size: 0.875rem;
    color: #92400e;
    margin: 0;
}

/* Security Badge */
.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f0fdf4;
    border-radius: 8px;
    margin-top: 2rem;
}

.security-badge svg {
    flex-shrink: 0;
}

.security-badge span {
    font-size: 0.8125rem;
    color: #15803d;
    font-weight: 500;
}

/* Responsive Design */
@media (min-width: 640px) {
    .account-opening-mobile {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .account-content {
        padding: 2rem;
    }
}

@media (min-width: 768px) {
    .account-types-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

/* Touch Feedback */
@media (hover: none) {
    .account-card:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    .back-btn:active,
    .login-link:active {
        transform: scale(0.95);
    }
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.account-card {
    animation: slideUp 0.5s ease-out forwards;
}

.account-card:nth-child(1) {
    animation-delay: 0.1s;
}

.account-card:nth-child(2) {
    animation-delay: 0.2s;
}


/*aCCOUNT oPENING*/

/* DOB Selector Styles */
.dob-selectors {
    margin-bottom: 10px;
}

.dob-label {
    font-weight: 500;
    color: var(--theme-text-color);
    margin-bottom: 5px;
    font-size: 14px;
}

.dob-select {
    padding: 8px 12px;
    border: 1px solid var(--theme-border-color);
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
    width: 100%;
}

.dob-select:focus {
    outline: none;
    border-color: var(--brand_color);
    box-shadow: 0 0 0 0.2rem rgba(var(--brand_color_rgb), 0.25);
}

.dob-select.is-invalid {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block !important;
}

.age-info {
    padding: 5px 10px;
    background-color: #e7f3ff;
    border-left: 3px solid var(--brand_color);
    border-radius: 3px;
}

/* Password Toggle */
.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--theme-text-color);
    z-index: 10;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--brand_color);
}

/* File Upload and Camera Styles */
.file-upload-wrapper {
    position: relative;
}

.file-upload-area {
    border: 2px dashed var(--theme-border-color);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.file-upload-area:hover {
    border-color: var(--brand_color);
    background: rgba(var(--brand_color_rgb), 0.05);
}

.file-upload-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.file-upload-content h5 {
    margin: 10px 0 5px;
    color: var(--theme-title-color);
    font-size: 16px;
}

.file-upload-content p {
    margin: 0;
    color: var(--theme-text-color);
    font-size: 14px;
}

/* Camera Section */
.camera-section {
    border: 2px dashed var(--theme-border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.camera-placeholder {
    text-align: center;
}

.camera-icon {
    color: var(--brand_color);
    margin-bottom: 15px;
}

.camera-interface video {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.camera-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.preview-image {
    max-width: 300px;
    border-radius: 8px;
}

.photo-preview-container {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.photo-preview-wrapper {
    display: inline-block;
    position: relative;
}

.unified-preview-image {
    max-width: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.photo-info {
    margin-top: 10px;
}

.btn-remove-photo {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-photo:hover {
    background: #c82333;
}

/* Consent Styles */
.consent-box {
    font-size: 14px;
    line-height: 1.6;
}

.consent-list {
    list-style: disc;
    padding-left: 20px;
    font-size: 14px;
}

.consent-list li {
    margin-bottom: 5px;
}

.form-check-input {
    margin-top: 0.3rem;
}

.form-check-label {
    font-size: 14px;
    line-height: 1.5;
}

/* Success Animation */
.success-animation {
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

.success-icon {
    font-size: 80px;
    margin: 20px 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.loading-spinner {
    margin-top: 30px;
}

.spinner2 {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--brand_color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Validation */
.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #28a745;
}

/* Responsive */
@media (max-width: 768px) {
    .stepper-widget {
        display: none;
    }
    
    .file-upload-area, .camera-section {
        padding: 20px 15px;
    }
    
    .nav-btn {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-btn .theme-btn {
        width: 100%;
    }
    
    .dob-selectors .col-4 {
        margin-bottom: 10px;
    }
}

/* ===============================================
   INDIVIDUAL ACCOUNT OPENING - MOBILE OPTIMIZED STYLES
   Complete CSS with Beautiful Mobile App Interface
   =============================================== */

/* Root Variables */
:root {
    --primary-color: #ddffdd;
    --secondary-color: #198754;
    --text-dark: #1a1a1a;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 8px 24px rgba(0, 0, 0, 0.16);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --dark-secondary: #2d2d2d;
}

/* Banner Area - Mobile Optimized */
.banner-area {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ffffff 100%);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.banner-content {
    text-align: center;
}

.banner-content h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.symbol-pulse {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

/* Stepper Widget - Mobile Responsive */
.stepper-widget {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    margin-bottom: 2rem;
}

.stepper-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stepper-widget li {
    position: relative;
    padding: 1rem 0 1rem 3rem;
    border-left: 2px solid var(--border-color);
    margin-left: 1rem;
    transition: var(--transition);
}

.stepper-widget li:last-child {
    border-left: 2px solid transparent;
}

.stepper-widget li.active {
    border-left-color: var(--secondary-color);
}

.stepper-widget li.completed {
    border-left-color: var(--secondary-color);
}

.stepper-widget li .number {
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    background: var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: white;
    transition: var(--transition);
    z-index: 2;
}

.stepper-widget li.active .number {
    background: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.stepper-widget li.completed .number {
    background: var(--secondary-color);
}

.stepper-widget li.completed .number i {
    display: block;
}

.stepper-widget li.completed .number span,
.stepper-widget li .number i {
    display: none;
}

.stepper-widget li.completed .number span {
    display: none;
}

.stepper-widget li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: var(--transition);
}

.stepper-widget li.active a {
    color: var(--secondary-color);
    font-weight: 600;
}

.stepper-widget li.completed a {
    color: var(--text-dark);
}

/* Form Container - Mobile First */
.loan-details-widget {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

/* Form Header */
.account-form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.account-form-header img {
    max-width: 150px;
    margin-bottom: 1rem;
}

.account-form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.account-form-header p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
}

/* Form Labels and Inputs - Mobile Optimized */
.label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    background: #f9fafb;
    color: var(--text-dark);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.1);
    transform: translateY(-2px);
}

.form-control:hover {
    border-color: #d1d5db;
}

.form-control.is-invalid {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

.form-control.is-valid {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
}

/* Select Dropdowns */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Textarea */
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Date of Birth Selectors - Mobile Optimized */
.dob-selectors {
    margin-bottom: 1rem;
}

.dob-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    display: block;
}

.dob-select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.9375rem;
    background-color: white;
    width: 100%;
    transition: var(--transition);
}

.dob-select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.1);
}

.dob-select.is-invalid {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
    padding: 0.5rem;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 8px;
}

.error-message.show {
    display: block !important;
}

.age-info {
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), rgba(255, 255, 255, 0.5));
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
    margin-top: 0.75rem;
}

.age-info small {
    font-size: 0.875rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Password Toggle - Mobile Friendly */
.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
    z-index: 10;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 8px;
}

.password-toggle:hover {
    color: var(--secondary-color);
    background: rgba(25, 135, 84, 0.1);
}

.password-toggle:active {
    transform: translateY(-50%) scale(0.95);
}

/* File Upload - Mobile Optimized */
.file-upload-wrapper {
    position: relative;
}

.file-upload-area {
    border: 3px dashed var(--border-color);
    border-radius: 16px;
    padding: 2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8), white);
    position: relative;
    overflow: hidden;
}

.file-upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.05), transparent);
    opacity: 0;
    transition: var(--transition);
}

.file-upload-area:hover {
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.file-upload-area:hover::before {
    opacity: 1;
}

.file-upload-area:active {
    transform: translateY(0);
}

.file-upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.file-upload-content {
    position: relative;
    z-index: 2;
}

.file-upload-content h5 {
    margin: 0.75rem 0 0.5rem;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
}

.file-upload-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Camera Section - Mobile First Design */
.camera-section {
    border: 3px dashed var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8), white);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.camera-placeholder {
    text-align: center;
    width: 100%;
}

.camera-icon {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.camera-placeholder p {
    color: var(--text-muted);
    margin: 1rem 0;
    font-size: 0.9375rem;
}

/* Camera Interface */
.camera-interface {
    width: 100%;
}

.camera-preview {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-medium);
}

.camera-controls {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* Captured Photo Display */
.captured-photo {
    width: 100%;
    text-align: center;
}

.preview-image {
    max-width: 100%;
    width: 300px;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    margin-bottom: 1rem;
}

/* Photo Preview Container */
.photo-preview-container {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), rgba(255, 255, 255, 0.9));
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.photo-preview-container h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.photo-preview-wrapper {
    display: inline-block;
    position: relative;
}

.unified-preview-image {
    max-width: 250px;
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-heavy);
    border: 4px solid white;
}

.photo-info {
    margin-top: 1rem;
}

.photo-info .badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
}

.btn-remove-photo {
    position: absolute;
    top: -0.75rem;
    right: -0.75rem;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    z-index: 10;
}

.btn-remove-photo:hover {
    background: #c82333;
    transform: scale(1.1);
}

.btn-remove-photo:active {
    transform: scale(0.95);
}

/* Consent Boxes */
.consent-box {
    font-size: 0.9375rem;
    line-height: 1.7;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.consent-box h5 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.consent-box p {
    margin-bottom: 1rem;
}

.consent-box strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Consent Checkboxes */
.consent-checkboxes {
    margin-top: 1.5rem;
}

.form-check {
    padding-left: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.25rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.form-check-label {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-dark);
    cursor: pointer;
}

.consent-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0.75rem 0;
}

.consent-list li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.875rem;
}

/* Email Verification Section */
.verification-info {
    padding: 2rem 1rem;
    text-align: center;
}

.verification-icon {
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.verification-info p {
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0;
}

.verification-info strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* OTP Input - Mobile Optimized */
#otp {
    font-size: 1.5rem !important;
    letter-spacing: 0.5rem;
    text-align: center;
    font-weight: 600;
    padding: 1rem;
}

.btn-link {
    background: none;
    border: none;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-link:hover {
    background: rgba(25, 135, 84, 0.1);
    text-decoration: underline;
}

.btn-link:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#resendTimer {
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

/* Success Animation - Mobile Optimized */
.success-animation {
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin: 2rem 0;
}

.success-icon {
    font-size: 5rem;
    margin: 1.5rem 0;
    animation: pulse 2s ease-in-out infinite;
}

.loading-spinner {
    margin-top: 2rem;
}

.spinner2 {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

/* Navigation Buttons - Mobile First */
.nav-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 50px;
    white-space: nowrap;
}

.theme-btn-primary_alt {
    background: linear-gradient(135deg, var(--secondary-color), #20c997);
    color: white;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
}

.theme-btn-primary_alt:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 135, 84, 0.4);
    color: white;
    text-decoration: none;
}

.theme-btn-primary_alt:active {
    transform: translateY(0);
}

.theme-btn-primary_alt:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.6;
}

.theme-btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 2px solid var(--border-color);
}

.theme-btn-secondary:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
    color: #1f2937;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    min-height: 40px;
}

/* Alert Styles */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: 500;
    animation: slideDown 0.3s ease;
    border: 1px solid transparent;
}

.alert-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(219, 234, 254, 0.5));
    color: #1e40af;
    border-color: rgba(59, 130, 246, 0.2);
}

.alert i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Loading States */
.loading-state {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading-state::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
}

/* Progress Indicator */
.progress-wrapper {
    margin: 1.5rem 0;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), #20c997);
    border-radius: 10px;
    transition: width 0.4s ease;
    box-shadow: 0 0 10px rgba(25, 135, 84, 0.5);
}

/* Floating Action Button (FAB) for Mobile */
.fab-help {
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--secondary-color), #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(25, 135, 84, 0.4);
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
}

.fab-help:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(25, 135, 84, 0.5);
}

.fab-help:active {
    transform: scale(0.95);
}

.fab-help i {
    color: white;
    font-size: 1.5rem;
}

/* Tooltip */
.tooltip-custom {
    position: relative;
    display: inline-block;
}

.tooltip-custom .tooltip-text {
    visibility: hidden;
    background-color: var(--text-dark);
    color: white;
    text-align: center;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.875rem;
}

.tooltip-custom:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Input Focus Ring Enhancement */
.form-control:focus-visible {
    outline: 3px solid rgba(25, 135, 84, 0.2);
    outline-offset: 2px;
}

/* Skeleton Loader */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: 8px;
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-button {
    height: 50px;
    width: 100%;
}

/* Animations */
@keyframes bounceIn {
    0% { 
        transform: scale(0.3); 
        opacity: 0; 
    }
    50% { 
        transform: scale(1.05); 
    }
    70% { 
        transform: scale(0.9); 
    }
    100% { 
        transform: scale(1); 
        opacity: 1; 
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.1); 
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-10px); 
    }
}

@keyframes spin {
    0% { 
        transform: rotate(0deg); 
    }
    100% { 
        transform: rotate(360deg); 
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Responsive Design - Mobile First Approach */

/* Small Mobile Devices (320px - 480px) */
@media (max-width: 480px) {
    .banner-content h1 {
        font-size: 1.5rem;
    }
    
    .loan-details-widget {
        padding: 1.25rem;
        border-radius: 16px;
    }
    
    .account-form-header h3 {
        font-size: 1.25rem;
    }
    
    .form-control {
        padding: 0.75rem 0.875rem;
        font-size: 0.9375rem;
    }
    
    .dob-selectors .col-4 {
        margin-bottom: 0.75rem;
    }
    
    .nav-btn {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .theme-btn {
        width: 100%;
        padding: 0.875rem 1.25rem;
    }
    
    .file-upload-area,
    .camera-section {
        padding: 1.25rem 1rem;
        min-height: 200px;
    }
    
    .file-upload-icon {
        font-size: 2rem;
    }
    
    .camera-icon i {
        font-size: 2.5rem;
    }
    
    .unified-preview-image {
        max-width: 200px;
    }
    
    #otp {
        font-size: 1.25rem !important;
        letter-spacing: 0.375rem;
    }
    
    .success-icon {
        font-size: 4rem;
    }
    
    .spinner2 {
        width: 40px;
        height: 40px;
    }
    
    .stepper-widget {
        display: none;
    }
    
    .fab-help {
        bottom: 1rem;
        right: 1rem;
        width: 48px;
        height: 48px;
    }
    
    .consent-box {
        padding: 1rem;
        font-size: 0.875rem;
    }
    
    .consent-list li {
        font-size: 0.8125rem;
    }
}

/* Medium Mobile Devices (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .stepper-widget {
        display: none;
    }
    
    .loan-details-widget {
        padding: 1.5rem;
    }
    
    .nav-btn {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .theme-btn {
        flex: 1;
        min-width: calc(50% - 0.5rem);
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .account-form-header h3 {
        font-size: 1.5rem;
    }
}

/* Tablet Devices (769px - 1023px) */
@media (min-width: 769px) and (max-width: 1023px) {
    .stepper-widget {
        padding: 1.25rem;
    }
    
    .stepper-widget li {
        padding: 0.875rem 0 0.875rem 2.5rem;
    }
    
    .loan-details-widget {
        padding: 2rem;
    }
    
    .camera-controls {
        flex-wrap: nowrap;
    }
    
    .banner-content h1 {
        font-size: 2.25rem;
    }
}

/* Desktop Devices (1024px and up) */
@media (min-width: 1024px) {
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .stepper-widget {
        position: sticky;
        top: 100px;
    }
    
    .loan-details-widget {
        padding: 2.5rem;
    }
    
    .account-form-header h3 {
        font-size: 1.75rem;
    }
    
    .form-control {
        padding: 1rem 1.25rem;
    }
    
    .file-upload-area,
    .camera-section {
        padding: 2.5rem 2rem;
    }
    
    .camera-controls {
        justify-content: center;
    }
    
    .unified-preview-image {
        max-width: 300px;
    }
    
    .theme-btn {
        padding: 1.125rem 2rem;
        font-size: 1rem;
    }
    
    .fab-help {
        display: none;
    }
}

/* Large Desktop (1440px and up) */
@media (min-width: 1440px) {
    .loan-details-widget {
        padding: 3rem;
    }
    
    .account-form-header {
        padding-bottom: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .container {
        max-width: 1320px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .theme-btn:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    .password-toggle:active {
        transform: translateY(-50%) scale(0.9);
    }
    
    .file-upload-area:active {
        transform: scale(0.98);
    }
    
    .btn-remove-photo:active {
        transform: scale(0.9);
    }
    
    /* Increase tap target size for mobile */
    .form-check-input {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .password-toggle {
        padding: 0.75rem;
        right: 0.5rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #1a3a1a;
        --text-dark: #f9fafb;
        --text-muted: #9ca3af;
        --border-color: #404040;
    }
    
    .loan-details-widget {
        background: var(--dark-secondary);
        border-color: #404040;
    }
    
    .banner-area {
        background: linear-gradient(135deg, #1a3a1a 0%, #2d2d2d 100%);
    }
    
    .form-control {
        background: #1a1a1a;
        color: white;
        border-color: #404040;
    }
    
    .form-control:focus {
        background: #2d2d2d;
        border-color: var(--secondary-color);
    }
    
    .file-upload-area,
    .camera-section {
        background: linear-gradient(135deg, rgba(45, 45, 45, 0.8), #1a1a1a);
        border-color: #404040;
    }
    
    .consent-box {
        background: #2d2d2d;
        border-color: #404040;
    }
    
    .photo-preview-container {
        background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), #2d2d2d);
        border-color: #404040;
    }
    
    #resendTimer {
        background: #2d2d2d;
    }
    
    .alert-info {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(45, 45, 45, 0.8));
        color: #93c5fd;
        border-color: rgba(59, 130, 246, 0.3);
    }
    
    .stepper-widget {
        background: #2d2d2d;
        border-color: #404040;
    }
    
    .skeleton {
        background: linear-gradient(90deg, #2d2d2d 25%, #404040 50%, #2d2d2d 75%);
        background-size: 200% 100%;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .form-control {
        border-width: 3px;
    }
    
    .file-upload-area,
    .camera-section {
        border-width: 4px;
    }
    
    .theme-btn {
        border: 2px solid currentColor;
    }
    
    .stepper-widget li .number {
        border: 2px solid white;
    }
    
    .btn-remove-photo {
        border: 2px solid white;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .camera-icon,
    .verification-icon,
    .file-upload-icon,
    .success-icon {
        animation: none !important;
    }
    
    .ripple::after {
        display: none;
    }
}

/* Print Styles */
@media print {
    .stepper-widget,
    .nav-btn,
    .camera-section,
    .file-upload-area,
    .password-toggle,
    .fab-help,
    .btn-remove-photo {
        display: none !important;
    }
    
    .loan-details-widget {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        page-break-inside: avoid;
    }
    
    .form-control {
        border: 1px solid #000 !important;
        background: white !important;
    }
    
    .banner-area {
        background: white !important;
    }
    
    .photo-preview-container {
        border: 1px solid #ccc !important;
    }
    
    /* Show all steps when printing */
    .loan-step {
        display: block !important;
        page-break-before: always;
    }
    
    .loan-step:first-child {
        page-break-before: auto;
    }
}

/* Landscape Orientation on Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .banner-content {
        padding: 1rem;
    }
    
    .banner-content h1 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .symbol-pulse {
        margin: 1rem 0;
    }
    
    .loan-details-widget {
        padding: 1rem;
    }
    
    .account-form-header {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }
    
    .camera-section {
        min-height: 180px;
    }
    
    .file-upload-area {
        padding: 1rem;
    }
}

/* Focus Visible Enhancement for Accessibility */
*:focus-visible {
    outline: 3px solid rgba(25, 135, 84, 0.5);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline-color: rgba(25, 135, 84, 0.7);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Custom Scrollbar */
.consent-box::-webkit-scrollbar {
    width: 8px;
}

.consent-box::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.consent-box::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

.consent-box::-webkit-scrollbar-thumb:hover {
    background: #157347;
}

/* Form Row Spacing */
.row.gy-4 > * {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .row.gy-4 > * {
        margin-bottom: 1rem;
    }
}

/* Enhanced Button States */
.theme-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.3);
}

.theme-btn-primary_alt:focus {
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.3), 0 4px 15px rgba(25, 135, 84, 0.3);
}

/* Input Error State Animation */
.form-control.is-invalid {
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Success State Animation */
.form-control.is-valid {
    animation: success-bounce 0.5s ease-in-out;
}

@keyframes success-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Enhanced Photo Preview */
.photo-preview-wrapper {
    animation: fadeInScale 0.4s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Step Transition */
.loan-step {
    animation: slideInUp 0.4s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Badge Styles */
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;
}

.bg-primary {
    background-color: var(--secondary-color) !important;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mt-60 { margin-top: 3.75rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.d-flex { display: flex; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.justify-content-end { justify-content: flex-end; }
.align-items-center { align-items: center; }
.align-items-flex-start { align-items: flex-start; }

.position-relative { position: relative; }
.position-absolute { position: absolute; }

.mx-auto { margin-left: auto; margin-right: auto; }

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Mobile App-like Enhancements */
.loan-details-widget {
    will-change: transform;
}

.theme-btn {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

/* Safe Area Insets for Notched Devices */
@supports (padding: max(0px)) {
    .banner-area {
        padding-top: max(2rem, env(safe-area-inset-top));
    }
    
    .fab-help {
        bottom: max(2rem, calc(env(safe-area-inset-bottom) + 1rem));
        right: max(1.5rem, env(safe-area-inset-right));
    }
    
    .loan-details-widget {
        padding-left: max(1.5rem, env(safe-area-inset-left));
        padding-right: max(1.5rem, env(safe-area-inset-right));
    }
}

/* Backdrop Blur Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Card Hover Effect Enhancement */
.loan-details-widget:hover {
    box-shadow: var(--shadow-medium);
    transition: box-shadow 0.3s ease;
}

/* Mobile Navigation Enhancement */
@media (max-width: 768px) {
    .nav-btn.sticky-mobile {
        position: sticky;
        bottom: 0;
        background: white;
        padding: 1rem;
        margin: 0 -1.5rem;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }
}

/* Success Checkmark Animation */
.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.success-checkmark .check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid var(--secondary-color);
    animation: checkmark-scale 0.3s ease-in-out;
}

.success-checkmark .check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.success-checkmark .check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: checkmark-rotate 4.25s ease-in;
}

@keyframes checkmark-scale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes checkmark-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* iOS-style Switches (if needed for future enhancements) */
.switch-ios {
    position: relative;
    display: inline-block;
    width: 51px;
    height: 31px;
}

.switch-ios input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 25px;
    width: 25px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .switch-slider {
    background-color: var(--secondary-color);
}

input:checked + .switch-slider:before {
    transform: translateX(20px);
}

/* Final Touch - Smooth Everything */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure proper box-sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}



/* Mobile Account Wrapper */
.mobile-account-wrapper {
    min-height: 100vh;
    background: #ddffdd;
    padding-bottom: 2rem;
}

/* Header */
.mobile-account-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-back-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: none;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #374151;
}

.header-back-btn:hover {
    background: #e5e7eb;
    transform: scale(1.05);
}

.header-back-btn:active {
    transform: scale(0.95);
}

.header-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    letter-spacing: -0.01em;
}

.header-spacer {
    width: 44px;
}

/* Hero Section */
.account-hero {
    text-align: center;
    padding: 2rem 1.25rem;
}

.hero-icon-wrapper {
    display: inline-flex;
    margin-bottom: 1.25rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-heading {
    font-size: 1.875rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

/* Account Types Container */
.account-types-container {
    padding: 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Account Type Card */
.account-type-card {
    background: white;
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
}

.account-type-card:nth-child(1) {
    animation-delay: 0.1s;
}

.account-type-card:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.account-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #198754;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.account-type-card:hover::before {
    transform: scaleX(1);
}

.account-type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border-color: #198754;
}

.corporate-card::before {
    background: #f59e0b;
}

.corporate-card:hover {
    border-color: #f59e0b;
}

/* Card Header/Footer */
.card-action-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.footer-action-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.01em;
}

.card-action-footer svg {
    color: #198754;
    transition: transform 0.3s ease;
}

.corporate-card .card-action-footer svg {
    color: #f59e0b;
}

.account-type-card:hover .card-action-footer svg {
    transform: translateX(4px);
}

/* Card Description */
.card-desc {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}


.card-action-btn:hover {
    background: #198754;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.card-action-btn:active {
    transform: translateY(0);
}

.card-action-btn .btn-text {
    font-weight: 600;
}

.card-action-btn svg {
    transition: transform 0.3s ease;
}

.card-action-btn:hover svg {
    transform: translateX(4px);
}

/* Corporate card button variant */
.corporate-card .card-action-btn {
    background: #f59e0b;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.corporate-card .card-action-btn:hover {
    background: #d97706;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

/* Section Divider */
.section-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 1.25rem;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.divider-text {
    padding: 0 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Existing Account Section */
.existing-account-section {
    padding: 0 1.25rem;
    margin-bottom: 2rem;
}

.login-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-card:hover {
    border-color: #198754;
    background: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.login-card:active {
    transform: scale(0.98);
}

.login-card > svg:first-child {
    color: #198754;
    flex-shrink: 0;
}

.login-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.login-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.login-card-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
}

.login-card > svg:last-child {
    color: #9ca3af;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.login-card:hover > svg:last-child {
    color: #198754;
    transform: translateX(4px);
}

/* Help Section */
.help-info-section {
    padding: 0 1.25rem;
    margin-bottom: 2rem;
}

.help-card-box {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #fef3c7;
    border-radius: 16px;
    border: 2px solid #fde68a;
}

.help-card-box > svg {
    color: #f59e0b;
    flex-shrink: 0;
}

.help-content-box {
    flex: 1;
}

.help-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #78350f;
    margin: 0 0 0.5rem;
}

.help-text {
    font-size: 0.875rem;
    color: #92400e;
    margin: 0 0 0.75rem;
    line-height: 1.5;
}

.help-link {
    font-size: 0.875rem;
    font-weight: 700;
    color: #d97706;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
}

.help-link:hover {
    color: #b45309;
    gap: 0.5rem;
}

/* Security Assurance */
.security-assurance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    margin: 1rem 1.25rem 0;
    background: #f0fdf4;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
}

.security-assurance svg {
    flex-shrink: 0;
}

.security-assurance span {
    font-size: 0.875rem;
    color: #15803d;
    font-weight: 600;
}

/* Responsive Design */
@media (min-width: 640px) {
    .mobile-account-wrapper {
        max-width: 640px;
        margin: 0 auto;
    }
    
    .account-types-container {
        padding: 0 2rem;
    }
    
    .existing-account-section,
    .help-info-section {
        padding: 0 2rem;
    }
    
    .security-assurance {
        margin: 1rem 2rem 0;
    }
}

@media (min-width: 768px) {
    .account-types-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Touch Feedback */
@media (hover: none) {
    .account-type-card:active {
        transform: scale(0.98);
    }
    
    .header-back-btn:active {
        transform: scale(0.95);
    }
    
    .login-card:active {
        transform: scale(0.98);
    }
    
    .card-action-btn:active {
        transform: scale(0.98);
    }
}