/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

body {
    background-image:
        radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(245, 158, 11, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
}

/* Nav Active State */
.nav-link.active {
    background-color: #d1fae5;
    /* indigo-100 */
    color: #065f46;
    /* indigo-800 */
}

.nav-link.active i {
    color: #059669;
    /* indigo-600 */
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* Hightech Background for Login */
.hightech-bg {
    background-image:
        radial-gradient(at 0% 0%, rgba(5, 150, 105, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(52, 211, 153, 0.15) 0px, transparent 50%),
        linear-gradient(135deg, #064e3b 0%, #022c22 100%);
    background-size: cover;
    background-attachment: fixed;
    color: white;
    /* Ensure text visible if outside card */
}

/* Override app-content for login centering */
.login-mode #app-content {
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-mode #main-header {
    display: none !important;
}

/* Hide Number Input Spinners */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}