:root {
    --routia-blue: #0046ad;
    --routia-blue-dark: #003584;
    --routia-blue-light: #e6effc;
    --routia-dark: hsl(221, 39%, 11%);
    --scrollbar-track: hsl(221, 39%, 11%);
}

body { 
    font-family: 'Inter', sans-serif; 
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}
::-webkit-scrollbar-thumb {
    background: var(--routia-blue);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--routia-blue-dark);
}

.bg-routia { background-color: var(--routia-blue); }
.text-routia { color: var(--routia-blue); }
.border-routia { border-color: var(--routia-blue); }

#sidebar { 
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    width: 4.5rem; 
    overflow: hidden;
    background-color: var(--routia-dark);
}
#sidebar.expanded { width: 18rem; }

.sidebar-item { 
    transition: all 0.2s; 
    white-space: nowrap;
    display: flex;
    align-items: center;
    min-width: 18rem;
    color: #94a3b8; 
}
.sidebar-item:hover { background-color: rgba(255,255,255,0.05); color: white; }
.active-tab { background-color: var(--routia-blue) !important; color: white !important; font-weight: 600; }

.nav-label {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    margin-left: 1rem;
}
#sidebar.expanded .nav-label { opacity: 1; }

.login-sidebar-bg {
    background-color: var(--routia-dark);
    position: relative;
    overflow: hidden;
}

.login-sidebar-bg::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 70, 173, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.input-field {
    transition: all 0.2s;
    border: 1.5px solid #e2e8f0;
    background-color: #f8fafc;
}

.input-field:focus {
    border-color: var(--routia-blue);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 70, 173, 0.1);
    outline: none;
}

.btn-routia {
    background-color: var(--routia-blue);
    transition: all 0.2s;
}
.btn-routia:hover {
    background-color: var(--routia-blue-dark);
    transform: translateY(-1px);
}



