/* Staff Workboard - Phase I split-screen admin login */

.swb-auth-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #fff;
    color: #334155;
}

.swb-auth-page .authentication-form-wrapper,
.swb-auth-page .authentication-form-wrappe {
    display: none;
}

.swb-auth {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.swb-auth__brand {
    position: relative;
    flex: 0 0 48%;
    max-width: 52%;
    min-height: 280px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem;
    background: linear-gradient(145deg, #4a0f22 0%, #6b1530 42%, #3d0a18 100%);
    color: #fff;
    text-align: center;
}

.swb-auth__particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.85;
}

.swb-auth__brand-inner {
    position: relative;
    z-index: 2;
    max-width: 22rem;
}

.swb-auth__logo {
    padding: 0 0 1.25rem;
}

.swb-auth__logo img {
    margin: 0 auto;
    display: block;
    max-height: 72px;
    width: auto;
    filter: brightness(0) invert(1);
}

.swb-auth__logo .logo-text {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.swb-auth__tagline {
    margin: 0 0 1.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
}

.swb-auth__date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
}

.swb-auth__date svg {
    flex-shrink: 0;
    opacity: 0.85;
}

.swb-auth__form-wrap {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    background: #fff;
}

.swb-auth__form-panel {
    width: 100%;
    max-width: 420px;
}

.swb-auth-form__title {
    margin: 0 0 0.35rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.swb-auth-form__title-accent {
    color: #7a1c35;
}

.swb-auth-form__subtitle {
    margin: 0 0 1.75rem;
    font-size: 0.9375rem;
    color: #64748b;
}

.swb-auth-form__card {
    background: #fff;
}

.swb-auth-form__card .alert {
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.swb-auth-form__card .form-group {
    margin-bottom: 1.125rem;
}

.swb-auth-form__card label.control-label {
    font-weight: 600;
    font-size: 0.8125rem;
    color: #475569;
    margin-bottom: 0.35rem;
}

.swb-auth-input-wrap {
    position: relative;
}

.swb-auth-input-wrap .form-control {
    padding-left: 2.5rem;
    padding-right: 2.75rem;
    height: 46px;
    border-radius: 0.5rem;
    border-color: #e2e8f0;
    box-shadow: none;
}

.swb-auth-input-wrap .form-control:focus {
    border-color: #7a1c35;
    box-shadow: 0 0 0 3px rgba(122, 28, 53, 0.12);
}

.swb-auth-input-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #94a3b8;
    pointer-events: none;
}

.swb-auth-password-toggle {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    padding: 0.35rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 0;
}

.swb-auth-password-toggle:hover {
    color: #7a1c35;
}

.swb-auth-form__card .checkbox label {
    font-weight: 500;
    color: #475569;
}

.swb-auth-form__card input[type="checkbox"] {
    accent-color: #7a1c35;
}

.swb-auth-btn-login {
    background: #7a1c35;
    border-color: #7a1c35;
    height: 46px;
    font-weight: 600;
    border-radius: 0.5rem;
}

.swb-auth-btn-login:hover,
.swb-auth-btn-login:focus {
    background: #631628;
    border-color: #631628;
}

.swb-auth-form__links {
    text-align: center;
    margin-top: 1rem;
}

.swb-auth-form__links a {
    color: #7a1c35;
    font-weight: 500;
    text-decoration: none;
}

.swb-auth-form__links a:hover {
    text-decoration: underline;
    color: #631628;
}

.swb-auth-form__back {
    display: inline-block;
    margin-top: 1.25rem;
    font-size: 0.875rem;
}

@media (max-width: 991px) {
    .swb-auth {
        flex-direction: column;
    }

    .swb-auth__brand {
        display: none;
    }

    .swb-auth__form-wrap {
        min-height: 100vh;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
}

@media (min-width: 992px) {
    .swb-auth__form-wrap {
        padding: 3rem 4rem;
    }
}
