:root {
    --tua-orange : #F9A01B;
    --tua-green  : #3AAA35;
    --tua-blue   : #1B4F8A;
    --tua-blue-dk: #153d6b;
    --tua-blue-lt: #2563a8;
}

body { background: #f4f6f9; }

.sidebar {
    width: 240px;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow-y: auto;
    background: var(--tua-blue) !important;
}

.sidebar-brand {
    display: block;
    padding-bottom: .6rem;
    border-bottom: 1px solid rgba(255,255,255,.15);
    margin-bottom: .8rem;
}

.sidebar-brand img {
    display: block;
    width: 100%;
    max-width: 160px;
    filter: brightness(0) invert(1);
    margin: 20px 0 10px;
}

.sidebar-brand .brand-sub {
    display: block;
    color: rgba(255,255,255,.7);
    font-size: .7rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-top: .25rem;
}

.sidebar-brand .brand-tagline {
    display: block;
    color: rgba(255,255,255,.6);
    font-size: .65rem;
    white-space: nowrap;
    margin-top: .15rem;
}

.sidebar .nav-link {
    color: rgba(255,255,255,.8);
    border-left: 3px solid transparent;
    border-radius: 0 4px 4px 0;
    transition: background .15s, border-color .15s, color .15s;
}

.sidebar .nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,.1);
    border-left-color: rgba(249,160,27,.5);
}

.sidebar .nav-link.active {
    color: #fff;
    background: rgba(249,160,27,.18);
    border-left-color: var(--tua-orange);
    font-weight: 600;
}

.sidebar-username { color: rgba(255,255,255,.75); }

.sidebar-logout-btn {
    color: rgba(255,255,255,.75);
    border-color: rgba(255,255,255,.75);
}
.sidebar-logout-btn:hover {
    color: rgba(255,255,255,.75);
    border-color: rgba(255,255,255,.75);
    background-color: rgba(255,255,255,.1);
}

.sidebar-powered-by {
    color: rgba(255,255,255,.5);
    font-size: 12px;
}
.sidebar-powered-by img {
    opacity: .8;
    vertical-align: -2px;
    margin-right: .25rem;
}

.main-content { flex: 1; overflow-x: hidden; }

.btn-primary {
    background-color: var(--tua-orange);
    border-color: var(--tua-orange);
    color: #fff;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #d9870f !important;
    border-color: #d9870f !important;
    color: #fff;
}

.tua-login-bg {
    background: radial-gradient(circle at 50% -10%, var(--tua-blue-lt) 0%, var(--tua-blue) 45%, var(--tua-blue-dk) 100%);
    min-height: 100vh;
}

.tua-login-logo { width: 240px; margin-bottom: 2rem; }

.tua-auth-card {
    border-radius: 1rem;
    animation: tua-auth-in .35s ease-out;
}

.tua-auth-card .form-control:focus {
    border-color: var(--tua-orange);
    box-shadow: 0 0 0 .25rem rgba(249,160,27,.25);
}

@keyframes tua-auth-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.thumb-placeholder {
    width: 96px; height: 72px;
    background: #e9ecef;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: #adb5bd;
    font-size: 1.5rem;
}
