@media (max-width: 768px) {
    header {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100vw;
        z-index: 10000 !important;
        background: #4b6cb7 !important;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 70px;
        padding: 0 15px;
    }
}
@media (max-width: 768px) {
    .mobile-bottom-nav .nav-link {
        font-size: 0.95rem !important;
    }
}
/* Authentication styles for AuraStack */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    overflow-y: auto;
    padding: 20px 0;
}

.auth-modal.active,
.auth-modal[style*="flex"] {
    display: flex;
}

.auth-container {
    background: rgba(13, 25, 45, 0.9);
    border-radius: 16px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    padding: 40px;
    width: 400px;
    max-width: 90%;
    max-height: calc(100vh - 40px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow-y: auto;
    margin: auto;
    flex-shrink: 0;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #64ffda, #8a84ff);
    z-index: 1;
}

/* Custom scrollbar for auth container */
.auth-container::-webkit-scrollbar {
    width: 6px;
}

.auth-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.auth-container::-webkit-scrollbar-thumb {
    background: rgba(100, 255, 218, 0.5);
    border-radius: 3px;
}

.auth-container::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 255, 218, 0.8);
}

.auth-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(90deg, #64ffda, #8a84ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.auth-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-close:hover {
    color: #64ffda;
    transform: rotate(90deg);
}

.auth-tabs {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-tab {
    padding: 10px 20px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    flex: 1;
    text-align: center;
}

.auth-tab:hover {
    color: rgba(100, 255, 218, 0.8);
    transform: translateY(-1px);
}

.auth-tab.active {
    color: #64ffda;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #64ffda, #8a84ff);
    border-radius: 3px 3px 0 0;
}

.auth-form {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.auth-form.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: rgba(100, 255, 218, 0.5);
    box-shadow: 0 0 0 2px rgba(100, 255, 218, 0.1);
}

.auth-submit {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: linear-gradient(135deg, #64ffda, #8a84ff);
    color: #061121;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.auth-submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

.auth-separator {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: rgba(255, 255, 255, 0.5);
}

.auth-separator::before,
.auth-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-separator span {
    padding: 0 15px;
    font-size: 14px;
}

.social-auth {
    display: flex;
    justify-content: center;
}

.google-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.google-auth-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.google-auth-btn img {
    width: 20px;
    height: 20px;
}

.auth-footer {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.auth-link {
    color: #64ffda;
    text-decoration: none;
    transition: all 0.3s ease;
}

.auth-link:hover {
    text-decoration: underline;
}

/* User dropdown menu */
.user-dropdown {
    position: relative;
}

.user-menu {
    position: absolute;
    top: 40px;
    right: 0;
    width: 200px;
    background: rgba(13, 25, 45, 0.95);
    border-radius: 10px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.user-dropdown:hover .user-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu-item {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.user-menu-item:hover {
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
}

.user-menu-item i {
    font-size: 18px;
}

.auth-status {
    padding: 10px 15px;
    text-align: center;
    font-size: 14px;
    color: #ff5252;
    background: rgba(255, 82, 82, 0.1);
    border-radius: 8px;
    margin-top: 15px;
    display: block;
    transition: all 0.3s ease;
}

.auth-status.success {
    color: #64ffda;
    background: rgba(100, 255, 218, 0.1);
}

.auth-status.error {
    color: #ff5252;
    background: rgba(255, 82, 82, 0.1);
}

.auth-status.loading {
    color: #72a1de;
    background: rgba(114, 161, 222, 0.1);
}

.auth-status:empty {
    display: none;
}

.auth-status.visible {
    display: block;
}

/* Toast notifications */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(13, 25, 45, 0.95);
    border-left: 4px solid #64ffda;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: transform 0.4s ease;
    z-index: 1000;
}

.toast.show {
    transform: translateX(0);
}

.toast i {
    font-size: 20px;
    color: #64ffda;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 16px;
    color: white;
    margin-bottom: 5px;
}

.toast-message {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.toast-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toast-close:hover {
    color: white;
}

/* Mobile styles */
@media (max-width: 768px) {
    .auth-modal {
        padding: 10px;
        align-items: flex-start;
    }
    
    .auth-container {
        padding: 30px 20px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 12px;
        max-height: calc(100vh - 20px);
    }
    
    .auth-tab {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .form-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .toast {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
}
