:root {
    --bigwok-ink: #0b0b0a;
    --bigwok-charcoal: #141310;
    --bigwok-cream: #f2ecdf;
    --bigwok-paper: #fffdf8;
    --bigwok-gold: #c99a3d;
    --bigwok-gold-light: #e5c172;
    --bigwok-red: #b72226;
    --bigwok-green: #415043;
    --bigwok-muted: #776f63;
}

body.task-login {
    min-height: 100vh;
    background:
        radial-gradient(circle at 14% 12%, rgba(201, 154, 61, .16), transparent 31rem),
        radial-gradient(circle at 88% 88%, rgba(183, 34, 38, .14), transparent 34rem),
        linear-gradient(145deg, #080807 0%, #171510 56%, #0a0908 100%) !important;
    color: var(--bigwok-ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.task-login::before {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
    background-size: 42px 42px;
    content: "";
    pointer-events: none;
}

.task-login #layout {
    position: relative;
    z-index: 1;
    display: grid !important;
    min-height: 100vh;
    height: auto !important;
    place-items: center;
    overflow: auto !important;
    padding: 40px;
    background: transparent !important;
}

.task-login #layout-content.bigwok-login-shell {
    position: relative !important;
    inset: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
    width: min(1120px, 100%) !important;
    min-height: 680px;
    margin: auto;
    overflow: hidden;
    border: 1px solid rgba(229, 193, 114, .38);
    border-radius: 2px;
    background: var(--bigwok-paper);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .46), 0 0 0 8px rgba(255, 255, 255, .025);
    text-align: left;
}

.bigwok-brand-panel {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-width: 0;
    overflow: hidden;
    padding: clamp(44px, 6vw, 76px);
    color: var(--bigwok-paper);
    background:
        linear-gradient(160deg, rgba(65, 80, 67, .96), rgba(20, 19, 16, .98) 70%),
        var(--bigwok-charcoal);
}

.bigwok-brand-panel::before {
    position: absolute;
    top: -90px;
    right: -90px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(229, 193, 114, .26);
    border-radius: 50%;
    box-shadow: 0 0 0 64px rgba(229, 193, 114, .035), 0 0 0 128px rgba(229, 193, 114, .025);
    content: "";
}

.bigwok-brand-panel::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(var(--bigwok-gold-light), var(--bigwok-red));
    content: "";
}

.bigwok-brand-content {
    position: relative;
    z-index: 1;
    max-width: 470px;
}

.bigwok-eyebrow,
.bigwok-login-kicker {
    margin: 0 0 20px;
    color: var(--bigwok-gold-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .19em;
    line-height: 1.3;
    text-transform: uppercase;
}

.bigwok-brand-content h2 {
    margin: 0;
    color: var(--bigwok-paper);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 5.3vw, 74px);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: .98;
}

.bigwok-brand-content h2 em {
    color: var(--bigwok-gold-light);
    font-weight: 400;
}

.bigwok-brand-text {
    max-width: 410px;
    margin: 30px 0 0;
    color: rgba(255, 253, 248, .75);
    font-size: 16px;
    line-height: 1.7;
}

.bigwok-brand-line {
    width: 52px;
    height: 2px;
    margin: 36px 0 24px;
    background: var(--bigwok-red);
}

.bigwok-location {
    margin: 0;
    color: rgba(255, 253, 248, .56);
    font-size: 13px;
    letter-spacing: .035em;
    line-height: 1.7;
}

.bigwok-login-panel {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: clamp(46px, 6vw, 76px);
    background:
        linear-gradient(135deg, rgba(201, 154, 61, .055), transparent 38%),
        var(--bigwok-paper);
}

.bigwok-login-inner {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.task-login #logo {
    position: static !important;
    display: block;
    width: min(100%, 310px);
    height: auto;
    max-height: none !important;
    margin: 0 0 54px;
}

.bigwok-login-copy {
    margin-bottom: 32px;
}

.bigwok-login-copy .bigwok-login-kicker {
    margin-bottom: 12px;
    color: var(--bigwok-red);
}

.bigwok-login-copy h2 {
    margin: 0 0 10px;
    color: var(--bigwok-charcoal);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    font-weight: 400;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.bigwok-login-copy p:last-child {
    margin: 0;
    color: var(--bigwok-muted);
    font-size: 14px;
    line-height: 1.65;
}

.task-login #login-form {
    position: static !important;
    top: auto !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.task-login #login-form .row {
    margin-bottom: 17px;
}

.task-login #login-form label {
    margin-bottom: 7px;
    color: #3e3931;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.task-login #login-form .form-control {
    min-height: 52px;
    border: 1px solid #d7cdbb;
    border-radius: 2px;
    background: #fff;
    color: var(--bigwok-ink);
    box-shadow: none;
    font-size: 15px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.task-login #login-form .form-control:focus {
    border-color: var(--bigwok-gold);
    box-shadow: 0 0 0 3px rgba(201, 154, 61, .16);
}

.task-login #login-form .formbuttons {
    margin: 24px 0 0;
}

.task-login #rcmloginsubmit {
    width: 100%;
    min-height: 54px;
    border: 1px solid var(--bigwok-gold);
    border-radius: 2px;
    background: var(--bigwok-gold);
    color: #171109;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    box-shadow: none;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.task-login #rcmloginsubmit:hover,
.task-login #rcmloginsubmit:focus {
    border-color: var(--bigwok-gold-light);
    background: var(--bigwok-gold-light);
    color: #171109;
    transform: translateY(-1px);
}

.bigwok-secure-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    color: #686055;
    font-size: 12px;
    line-height: 1.5;
}

.bigwok-secure-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #588348;
    box-shadow: 0 0 0 4px rgba(88, 131, 72, .12);
}

.task-login #login-footer {
    margin-top: 32px;
    color: #9a9185 !important;
    font-size: 11px;
    letter-spacing: .04em;
}

.task-login #login-footer > div {
    margin-top: 12px;
    padding: 10px;
    background: rgba(201, 154, 61, .08);
}

.task-login .noscriptwarning,
.task-login #messagestack {
    z-index: 3;
}

html.dark-mode body.task-login,
html.dark-mode .task-login #layout-content.bigwok-login-shell,
html.dark-mode .bigwok-login-panel {
    color-scheme: light;
}

@media (max-width: 820px) {
    .task-login #layout {
        display: block !important;
        padding: 0;
    }

    .task-login #layout-content.bigwok-login-shell {
        grid-template-columns: 1fr;
        width: 100% !important;
        min-height: 100vh;
        border: 0;
        box-shadow: none;
    }

    .bigwok-brand-panel {
        display: none;
    }

    .bigwok-login-panel {
        min-height: 100vh;
        padding: 42px 26px;
    }

    .task-login #logo {
        width: min(100%, 286px);
        margin-bottom: 46px;
    }
}

@media (max-width: 420px) {
    .bigwok-login-panel {
        align-items: flex-start;
        padding: 34px 22px;
    }

    .bigwok-login-copy h2 {
        font-size: 33px;
    }

    .task-login #logo {
        margin-bottom: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .task-login #rcmloginsubmit,
    .task-login #login-form .form-control {
        transition: none;
    }
}
