body.staff-login-page.login {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.3), transparent 28%),
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.18), transparent 24%),
        radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.12), transparent 26%),
        linear-gradient(135deg, #07111f 0%, #0c1830 48%, #08111f 100%);
    position: relative;
    overflow-x: hidden;
}

body.staff-login-page.login #container {
    min-height: 100vh;
    background: transparent;
}

body.staff-login-page.login #content {
    width: 100%;
    margin: 0;
    padding: 0;
}

.staff-login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
}

.staff-login-brand {
    position: relative;
    display: flex;
    align-items: center;
    padding: 64px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: #f8fbff;
    overflow: hidden;
}

.staff-login-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
    pointer-events: none;
    opacity: 0.65;
}

.staff-login-orb--one {
    width: 180px;
    height: 180px;
    top: -36px;
    right: 10%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.42) 0%, rgba(59, 130, 246, 0) 70%);
}

.staff-login-orb--two {
    width: 240px;
    height: 240px;
    left: -70px;
    bottom: 12%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.22) 0%, rgba(20, 184, 166, 0) 68%);
}

.staff-login-orb--three {
    width: 120px;
    height: 120px;
    right: 18%;
    bottom: 16%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 68%);
}

.staff-login-brand__inner {
    max-width: 640px;
    position: relative;
    z-index: 1;
}

.staff-login-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #d9e7ff;
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
}

.staff-login-brand h1 {
    margin: 18px 0 16px;
    font-size: clamp(2.9rem, 6vw, 5.6rem);
    line-height: 0.92;
    letter-spacing: -0.06em;
    max-width: 10ch;
}

.staff-login-lead {
    max-width: 36rem;
    margin: 0;
    color: rgba(234, 242, 255, 0.84);
    font-size: 1.08rem;
    line-height: 1.85;
}

.staff-login-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.staff-login-stats {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.staff-login-stat {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.staff-login-stat strong {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(20, 184, 166, 0.9));
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.staff-login-stat span {
    color: rgba(234, 242, 255, 0.86);
    line-height: 1.55;
}

.staff-login-point {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.staff-login-point span {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #ffffff;
}

.staff-login-point small {
    color: rgba(234, 242, 255, 0.72);
    line-height: 1.55;
}

.staff-login-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px;
    overflow: hidden;
}

.staff-login-panel::before {
    content: "";
    position: absolute;
    inset: 10% 16% auto auto;
    width: 160px;
    height: 160px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.14) 0%, rgba(37, 99, 235, 0) 72%);
    pointer-events: none;
}

.staff-login-card {
    width: min(100%, 480px);
    position: relative;
    z-index: 1;
    padding: 36px 34px 28px;
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
    box-shadow:
        0 34px 90px rgba(2, 8, 23, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
}

.staff-login-card__glow {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(20, 184, 166, 0.1), transparent 72%);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    padding: 1px;
    opacity: 0.8;
    z-index: -1;
}

.staff-login-card__header {
    margin-bottom: 22px;
}

.staff-login-card__header h2 {
    margin: 0 0 8px;
    font-size: 2.1rem;
    letter-spacing: -0.05em;
}

.staff-login-card__header p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

.staff-login-form .form-row {
    margin-bottom: 18px;
}

.staff-login-form label {
    display: block;
    margin-bottom: 8px;
    color: #1e293b;
    font-weight: 700;
}

.staff-login-form input[type="text"],
.staff-login-form input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid #d6deea;
    background:
        linear-gradient(180deg, #fbfdff, #f7fbff);
    color: #0f172a;
    transition: 0.2s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.staff-login-form input[type="text"]:focus,
.staff-login-form input[type="password"]:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
    background: #ffffff;
}

.staff-login-form .help {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 0.88rem;
}

.staff-login-form .errorlist,
.staff-login-form .errornote {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
    color: #b42318;
}

.staff-login-form .errornote {
    padding: 12px 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(180, 35, 24, 0.1), rgba(180, 35, 24, 0.06));
    border: 1px solid rgba(180, 35, 24, 0.12);
    color: #9a3412;
}

.password-reset-link {
    margin-top: 8px;
}

.password-reset-link a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.submit-row {
    margin-top: 26px;
}

.submit-row input[type="submit"] {
    width: 100%;
    padding: 15px 18px;
    border: 0;
    border-radius: 16px;
    background:
        linear-gradient(135deg, #1d4ed8, #2563eb 42%, #14b8a6 100%);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    box-shadow:
        0 16px 30px rgba(37, 99, 235, 0.24),
        0 8px 16px rgba(20, 184, 166, 0.16);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    letter-spacing: 0.02em;
}

.submit-row input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow:
        0 20px 36px rgba(37, 99, 235, 0.3),
        0 10px 18px rgba(20, 184, 166, 0.18);
}

.staff-login-quickinfo {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, #f8fbff, #eef5ff);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.staff-login-quickinfo div {
    display: grid;
    gap: 4px;
}

.staff-login-quickinfo span,
.staff-login-footnote p {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.45;
}

.staff-login-quickinfo strong {
    color: #0f172a;
    font-size: 0.95rem;
}

.staff-login-footnote {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.staff-login-footnote span {
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #14b8a6);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.08);
    flex: 0 0 auto;
}

.staff-login-footnote p {
    margin: 0;
}

@media (max-width: 980px) {
    .staff-login-shell {
        grid-template-columns: 1fr;
    }

    .staff-login-brand {
        padding: 30px 22px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .staff-login-points {
        grid-template-columns: 1fr;
    }

    .staff-login-panel {
        padding: 22px;
    }
}

@media (max-width: 560px) {
    .staff-login-card {
        padding: 24px 18px 20px;
        border-radius: 24px;
    }

    .staff-login-brand h1 {
        font-size: 2.4rem;
    }

    .staff-login-stat {
        grid-template-columns: 1fr;
    }

    .staff-login-stat strong {
        width: 42px;
        height: 42px;
    }
}
