/* Glassmorphism Utilities */
.glass-panel {
    background: #121016; /* Replaces rgba(17, 25, 40, 0.75) */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #050505; /* Replaces #0f172a */
}

::-webkit-scrollbar-thumb {
    background: #1e1b24; /* Replaces #334155 */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563eb; /* Replaces #475569 with Brand Purple */
}

/* Input Autofill Fix for Dark Mode */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: white;
    -webkit-box-shadow: 0 0 0px 1000px #121016 inset; /* Replaces #1e293b */
    transition: background-color 5000s ease-in-out 0s;
}

/* Smooth appearance */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Hide content during auth check */
.auth-loading {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}