body {
    background-color: #f4f6f8;
}

.login-body {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a3d2f 0%, #0d2318 100%);
}

.login-card {
    width: 100%;
    max-width: 380px;
    border: none;
    border-radius: 10px;
}

.account-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.account-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.list-group-item.active {
    background-color: #1a3d2f;
    border-color: #1a3d2f;
}

.card-header {
    font-weight: 600;
    background-color: #fff;
}


.azp-navbar-clock {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
}


main {
    padding-top: 70px !important;
}

.azp-navbar-clock {
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
}

.theme-switch {
    position: relative;
    width: 50px;
    height: 25px;
}
.theme-input {
    opacity: 0;
    width: 0;
    height: 0;
}
.theme-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 25px;
    transition: background-color 0.4s;
}
.theme-slider:before {
    content: "☀️";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 3.5px;
    font-size: 14px;
    text-align: center;
    line-height: 18px;
    transition: transform 0.4s, background-color 0.4s, content 0.4s;
}
.theme-input:checked + .theme-slider {
    background-color: #222;
}
.theme-input:checked + .theme-slider:before {
    transform: translateX(24px);
    content: "🌙";
}

/* ============================================
   login.php - Login page
   ============================================ */
.login-body {
    margin: 0;
    min-height: 100vh;
    background-color: var(--azp-bg);
    position: relative;
    overflow: hidden;
}

/* Layer 1: blurred, zoomed-in copy — fills every corner, no blank edges */
.login-body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url('assets/login-bg.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(28px) brightness(0.65) saturate(1.1);
    transform: scale(1.15);
    z-index: 0;
}

/* Layer 2: FULL uncropped image (contain) + gradient for contrast */
.login-body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.5) 100%),
        url('assets/login-bg.avif');
    background-size: cover, contain;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    z-index: 1;
}

.login-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 380px;
    border: none;
    border-radius: var(--azp-radius);
    background: var(--azp-surface);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: loginCardIn 0.5s ease-out;
    transition: background-color .3s ease;
}

@keyframes loginCardIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.login-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--azp-brand-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--azp-brand);
    font-size: 1.6rem;
}

.login-card .form-control {
    padding: 0.6rem 0.85rem;
    border-radius: calc(var(--azp-radius) - 6px);
}

.login-card .form-control:focus {
    border-color: var(--azp-brand);
    box-shadow: 0 0 0 0.2rem var(--azp-brand-soft);
}

.btn-azp-brand {
    padding: 0.6rem 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: transform .15s ease, box-shadow .15s ease;
}

.btn-azp-brand:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}