/**
 * Staff login — “Staff Portal” layout (optional custom background from settings).
 */
body.wt-auth.wt-auth-staff {
    background: transparent;
}

.wt-auth-staff {
    margin: 0;
    overflow-x: hidden;
}

.wt-auth-staff-wrap {
    position: relative;
    min-height: 100vh;
}

/* Full-viewport background */
.wt-auth-staff-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 42%, #38bdf8 100%);
    background-size: cover;
    background-position: center;
}

.wt-auth-staff-bg--image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.55) 0%, rgba(30, 58, 138, 0.35) 50%, rgba(14, 116, 144, 0.25) 100%);
    pointer-events: none;
}

.wt-auth-staff-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

/* Left column — glass panel with platform branding (desktop) */
.wt-auth-staff-art {
    position: relative;
    padding: 3rem 2.5rem;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.98);
}

.wt-auth-staff-intro {
    width: 100%;
    max-width: 26rem;
    padding: 2rem 2rem 2.25rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.32);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    text-align: left;
}

.wt-auth-staff-intro__logo {
    display: block;
    max-height: 3.5rem;
    max-width: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 1.25rem;
}

.wt-auth-staff-intro__letter {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    color: #fff;
}

.wt-auth-staff-intro__title {
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.25;
    margin-bottom: 0.75rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.wt-auth-staff-intro__text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

/* Form column */
.wt-auth-staff-form-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem 2.5rem;
    min-height: 100vh;
}

.wt-auth-staff-card {
    width: 100%;
    max-width: 420px;
    border: none;
    border-radius: 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    background: #fff;
}

.wt-auth-staff-card .card-body {
    padding: 2rem 1.75rem 2rem;
}

@media (min-width: 576px) {
    .wt-auth-staff-card .card-body {
        padding: 2.25rem 2rem 2rem;
    }
}

.wt-auth-staff-card__mark {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(59, 130, 246, 0.08));
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1rem;
}

.wt-auth-staff-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 0.25rem;
}

.wt-auth-staff-card__sub {
    font-size: 0.9rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 1.5rem;
}

.wt-auth-staff-card .input-group-text {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #64748b;
}

.wt-auth-staff-card .form-control {
    border-color: #e2e8f0;
}

.wt-auth-staff-card .btn-login {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border: none;
    font-weight: 600;
    padding: 0.65rem 1rem;
    border-radius: 0.65rem;
}

.wt-auth-staff-card .btn-login:hover {
    filter: brightness(1.05);
}

.wt-auth-staff-footnote {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 24rem;
    margin-top: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.wt-auth-staff-bg--image ~ .wt-auth-staff-content .wt-auth-staff-footnote {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

@media (max-width: 991.98px) {
    .wt-auth-staff-form-col {
        min-height: auto;
        padding-top: 2.5rem;
        padding-bottom: 2rem;
    }
}
