:root {
    /* Color Palette */
    --bg-color: #0f111a;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --accent-color: #6366f1; /* Indigo */
    --accent-hover: #818cf8;
    --danger: #ef4444;
    
    /* Glassmorphism */
    --glass-bg: rgba(15, 17, 26, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    /* Transitions */
    --tr-fast: 0.15s ease;
    --tr-med: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,0.2) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(339,49%,30%,0.1) 0, transparent 50%);
    background-attachment: fixed;
}

img, video, canvas, svg {
    max-width: 100%;
}

button, input, select, textarea {
    max-width: 100%;
}

/* Navbar Base */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--tr-med);
    border-bottom: 1px solid var(--glass-border);
}

.glassmorphism {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--glass-shadow);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

/* Logo */
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.navbar-logo i {
    color: var(--accent-color);
    font-size: 1.75rem;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.6));
}

/* Nav Links */
.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--tr-fast);
}

.nav-link:hover, .nav-link.active {
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--tr-med);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--accent-color);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Right Side Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-width: 0;
}

/* Search Box */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}

.search-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 9999px;
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    width: 220px;
    transition: var(--tr-med);
    outline: none;
    -webkit-appearance: none; /* Mobile fix */
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    width: 260px;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.search-btn {
    position: absolute;
    left: 12px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color var(--tr-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-input:focus + .search-btn, .search-btn:hover {
    color: var(--accent-color);
}

/* Auth Section */
.auth-section {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
}

/* Icon Buttons (Notifications, etc) */
.icon-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: var(--tr-fast);
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--bg-color);
}

/* Notifications Container & Dropdown */
.notif-container {
    position: relative;
}

.notif-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: -20px;
    width: 340px;
    max-width: calc(100vw - 2rem);
    background: rgba(20, 24, 36, 0.98);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.notif-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notif-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notif-header h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

.notif-mark-read {
    color: var(--accent-color);
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 500;
}

.notif-mark-read:hover { text-decoration: underline; }

.notif-body {
    max-height: 350px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.notif-body::-webkit-scrollbar { width: 6px; }
.notif-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }

.notif-item {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    text-decoration: none;
    transition: var(--tr-fast);
    position: relative;
    text-align: left;
}

.notif-item:hover { background: rgba(255,255,255,0.05); }

.notif-item.unread {
    background: rgba(99, 102, 241, 0.05);
}
.notif-item.unread::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--accent-color);
}

.notif-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Categorical Icons */
.n-billing { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.n-plan { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.n-account { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.n-other { background: rgba(156, 163, 175, 0.15); color: #9ca3af; }

.notif-content { flex: 1; }
.notif-title { color: white; font-weight: 500; font-size: 0.95rem; margin-bottom: 0.25rem; }
.notif-desc { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.4; margin-bottom: 0.4rem; }
.notif-time { color: rgba(255,255,255,0.3); font-size: 0.75rem; }

.notif-delete-btn {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.08);
    color: rgba(248, 113, 113, 0.85);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--tr-fast);
}

.notif-delete-btn:hover {
    background: rgba(239, 68, 68, 0.16);
    color: #f87171;
}

.notif-footer {
    padding: 0.75rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.notif-footer a { color: var(--accent-color); text-decoration: none; font-size: 0.85rem; font-weight: 500; }

/* Profile Dropdown */
.profile-dropdown-container {
    position: relative;
}

.profile-btn {
    background: none;
    border: 2px solid transparent;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--tr-fast);
    display: flex;
}

.profile-btn:hover, .profile-btn.active {
    border-color: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

.profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 250px;
    max-width: calc(100vw - 2rem);
    background: rgba(20, 24, 36, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    color: white;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.user-email {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.dropdown-menu hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin: 0.5rem 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: var(--tr-fast);
}

.dropdown-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.dropdown-item.text-danger:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Content Area */
.content-area {
    padding: 8rem 2rem 2rem;
    text-align: center;
    max-width: 1000px; /* Increased for better read on desktop */
    width: 100%;
    margin: 0 auto;
}

.content-area h1 {
    font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive typography */
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.content-area p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.auth-container,
.pricing-container,
.profile-container,
.settings-container,
.saved-container,
.payment-container,
.policy-container {
    width: min(100%, var(--page-max, 1000px));
}

.auth-card,
.profile-card,
.settings-card,
.payment-card,
.dashboard-card,
.policy-card,
.item-card,
.pricing-card,
.converter-box {
    max-width: 100%;
}

/* Responsive */
@media (max-width: 900px) {
    .navbar-menu {
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 17, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    }
    
    .navbar-menu.mobile-active {
        display: flex;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .search-input {
        width: 180px;
    }
    
    .search-input:focus {
        width: 220px;
    }
}

@media (max-width: 820px) {
    .notif-dropdown,
    .dropdown-menu {
        position: fixed;
        top: 78px;
        right: 1rem;
        left: 1rem;
        width: auto;
        max-width: none;
    }
}

@media (max-width: 768px) {
    /* SUPPRESS AUTH IN HEADER ON MOBILE */
    #authSection:not(.logged-in) {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }
    
    /* Ensure logged-in profile icon stays but labels hide */
    #authSection.logged-in .user-name, 
    #authSection.logged-in .user-email {
        display: none !important;
    }
    
    .content-area {
        padding: 6.5rem 1.25rem 2rem;
    }

    .content-area h1 {
        font-size: clamp(1.8rem, 9vw, 2.6rem);
        letter-spacing: 0;
        overflow-wrap: anywhere;
    }

    .content-area p {
        font-size: 1rem;
    }

    .btn-cta,
    .btn-primary,
    .btn-secondary,
    .btn-submit,
    .action-btn {
        min-height: 44px;
    }

    .pricing-grid,
    .data-grid,
    .form-grid,
    .items-grid {
        grid-template-columns: 1fr !important;
    }

    .full-width {
        grid-column: 1 !important;
    }

    .profile-header-flex,
    .dashboard-header,
    .price-row,
    .total-row,
    .item-top,
    .item-actions,
    .payment-methods {
        flex-wrap: wrap;
    }

    .item-info,
    .data-item,
    .price-row > *,
    .total-row > * {
        min-width: 0;
    }

    .item-name,
    .data-item span {
        overflow-wrap: anywhere;
        white-space: normal !important;
    }

    .payment-card,
    .profile-card,
    .settings-card,
    .dashboard-card,
    .policy-card,
    .pricing-card,
    .item-card {
        padding: 2rem 1.25rem;
    }

    .qr-section {
        max-width: 100%;
        padding: 1rem;
    }

    .qr-placeholder {
        width: min(200px, 70vw) !important;
        height: min(200px, 70vw) !important;
    }
}

@media (max-width: 650px) {
    .auth-section {
        gap: 0.75rem; /* Tighter gap on mobile */
    }
    
    .search-container {
        display: flex; /* Ensure it stays visible */
        width: 42px;
        transition: width var(--tr-med);
    }

    .search-container:focus-within {
        width: min(160px, calc(100vw - 10rem));
    }

    .search-input {
        width: 100%;
        height: 42px;
        padding: 0 0.75rem 0 42px;
        cursor: pointer;
        color: transparent;
    }

    .search-input:focus {
        width: 100%;
        padding: 0 0.75rem 0 42px;
        color: white;
    }

    .search-input::placeholder {
        color: transparent;
    }

    .search-input:focus::placeholder {
        color: rgba(255, 255, 255, 0.3);
    }
    
    .search-btn {
        left: 0 !important;
        top: 0 !important;
        width: 42px;
        height: 42px;
        transform: none !important;
    }

    .search-input:focus + .search-btn {
        left: 0 !important;
        transform: none !important;
    }
    
    .navbar-logo span {
        display: none; 
    }

    .navbar-actions {
        gap: 0.5rem; 
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex: 1;
    }

    .navbar-container {
        padding: 1rem 1rem; 
    }
    
    /* Mobile Menu Auth Link Styling */
    .mobile-auth-links .auth-wrapper {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem !important;
    }
    
    .mobile-auth-links .nav-link,
    .mobile-auth-links .btn-cta {
        width: 100%;
        text-align: center;
        display: block !important;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-container {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .navbar-logo i {
        font-size: 1.5rem;
    }

    .navbar-actions {
        gap: 0.4rem;
    }

    .icon-btn,
    .profile-img,
    .search-container,
    .search-btn,
    .search-input {
        width: 38px;
        height: 38px;
    }

    .search-container:focus-within {
        width: min(150px, calc(100vw - 8.5rem));
    }

    .search-input,
    .search-input:focus {
        padding-left: 38px;
    }

    .search-btn {
        width: 38px;
        height: 38px;
    }

    .mobile-toggle {
        font-size: 1.25rem;
        min-width: 38px;
        min-height: 38px;
    }

    .navbar-menu {
        padding: 1.25rem;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .content-area {
        padding: 5.5rem 1rem 1.5rem;
    }

    .notif-dropdown,
    .dropdown-menu {
        top: 66px;
        right: 0.75rem;
        left: 0.75rem;
    }

    .notif-item,
    .dropdown-item {
        overflow-wrap: anywhere;
    }

    .footer-links {
        gap: 0.9rem 1.2rem;
    }

    .aero-modal {
        width: calc(100% - 1.5rem);
        padding: 1.5rem;
        border-radius: 16px;
    }

    .auth-container,
    .payment-container,
    .profile-container,
    .settings-container,
    .saved-container,
    .pricing-container,
    .policy-container {
        width: 100%;
    }

    .auth-card,
    .payment-card,
    .profile-card,
    .settings-card,
    .dashboard-card,
    .policy-card,
    .pricing-card,
    .item-card {
        padding: 1.35rem;
        border-radius: 14px;
    }

    .profile-card .full-width[style*="display: flex"],
    .payment-methods,
    .item-actions {
        flex-direction: column;
    }

    .profile-card .full-width[style*="display: flex"] > *,
    .payment-methods > *,
    .item-actions > * {
        width: 100%;
    }

    .amount {
        font-size: 3rem !important;
    }

    .empty-state {
        padding: 2.5rem 1rem !important;
    }
}

/* Footer Styling */
.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(15, 17, 26, 0.4);
    backdrop-filter: blur(8px);
}

.footer-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.live-visitors {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.footer-logo i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--tr-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
/* Global CTA Button Styles */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 2.2rem;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: white;
    border-radius: 99px; /* Pill shape for premium feel */
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4), 
                0 0 15px rgba(168, 85, 247, 0.2);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.6s;
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 35px -8px rgba(99, 102, 241, 0.5), 
                0 0 25px rgba(168, 85, 247, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:active {
    transform: translateY(-1px) scale(0.98);
}

/* Aero Premium Modal */
.aero-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 11, 14, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.aero-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.aero-modal {
    background: rgba(23, 25, 35, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.aero-modal-overlay.active .aero-modal {
    transform: translateY(0);
}

.modal-icon {
    font-size: 3.5rem;
    color: #fbbf24;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(251, 191, 36, 0.3));
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.modal-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-features {
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.modal-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.modal-feature-item i {
    color: #10b981;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.close-modal {
    color: #94a3b8;
    background: none;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: white;
}

/* Password Toggle Style */
.password-toggle {
    position: absolute;
    right: 1.2rem;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64748b;
    transition: color 0.2s;
    z-index: 10;
}

.password-toggle:hover {
    color: var(--accent-color);
}

/* AI Chatbot Styles */
.chatbot-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #818cf8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    z-index: 9999;
    transition: transform 0.3s, box-shadow 0.3s;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
}

.chatbot-toggle i {
    font-size: 1.5rem;
    color: white;
}

.chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 500px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    display: none;
    flex-direction: column;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.chatbot-container.active {
    display: flex;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--glass-border);
    background: linear-gradient(135deg, var(--accent-color), #818cf8);
    border-radius: 16px 16px 0 0;
}

.chatbot-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
}

.chatbot-title i {
    font-size: 1.2rem;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.chatbot-close:hover {
    opacity: 1;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chatbot-message {
    display: flex;
    max-width: 85%;
}

.chatbot-message.user {
    align-self: flex-end;
}

.chatbot-message.bot {
    align-self: flex-start;
}

.chatbot-message .message-content {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.chatbot-message.user .message-content {
    background: var(--accent-color);
    color: white;
    border-bottom-right-radius: 4px;
}

.chatbot-message.bot .message-content {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border-bottom-left-radius: 4px;
}

.chatbot-input {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid var(--glass-border);
}

.chatbot-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 0.9rem;
    outline: none;
}

.chatbot-input input::placeholder {
    color: #64748b;
}

.chatbot-input input:focus {
    border-color: var(--accent-color);
}

.chatbot-input button {
    width: 45px;
    height: 45px;
    background: var(--accent-color);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.chatbot-input button:hover {
    background: #4f46e5;
}

@media (max-width: 480px) {
    .chatbot-container {
        width: calc(100% - 40px);
        right: 20px;
        bottom: 90px;
        height: calc(100vh - 180px);
    }
}
