:root {
    --bds-auth-ink: #251a25;
    --bds-auth-muted: #726774;
    --bds-auth-plum: #6f264e;
    --bds-auth-rose: #b94a7d;
    --bds-auth-soft: #f8f3f6;
    --bds-auth-line: rgba(37, 26, 37, .11);
}

.bds-auth-shell,
.bds-auth-shell * { box-sizing: border-box; }

.bds-auth-shell {
    width: min(1180px, calc(100% - 36px));
    margin: 48px auto 80px;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    overflow: hidden;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(52, 31, 45, .12);
    color: var(--bds-auth-ink);
}

.bds-auth-panel { padding: clamp(34px, 6vw, 72px); }
.bds-auth-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 680px;
    color: #fff;
    background:
        radial-gradient(circle at 20% 14%, rgba(255, 185, 215, .22), transparent 27%),
        radial-gradient(circle at 90% 78%, rgba(215, 108, 155, .24), transparent 32%),
        linear-gradient(145deg, #281421 0%, #59213f 56%, #7d2f59 100%);
}

.bds-auth-kicker {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.bds-auth-intro h1 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(40px, 5vw, 70px);
    line-height: .98;
    letter-spacing: -.045em;
}

.bds-auth-intro > p {
    max-width: 590px;
    margin: 24px 0 0;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .77);
}

.bds-auth-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.bds-auth-benefits span {
    padding: 10px 13px;
    border-radius: 8px;
    background: rgba(255,255,255,.11);
    font-size: 13px;
    font-weight: 700;
}

.bds-auth-form-panel { align-self: center; }
.bds-auth-form-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; letter-spacing: -.035em; }
.bds-auth-form-heading p { margin: 14px 0 28px; color: var(--bds-auth-muted); line-height: 1.65; }
.bds-auth-form { display: grid; gap: 18px; }
.bds-auth-form label,
.bds-auth-form-panel .login-username,
.bds-auth-form-panel .login-password { display: grid; gap: 8px; margin: 0; }
.bds-auth-form label > span,
.bds-auth-form-panel .login-username label,
.bds-auth-form-panel .login-password label { font-size: 13px; font-weight: 800; }
.bds-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bds-auth-form input:not([type="checkbox"]),
.bds-auth-form-panel .input {
    width: 100%;
    min-height: 52px;
    padding: 0 15px;
    border: 1px solid var(--bds-auth-line);
    border-radius: 9px;
    background: var(--bds-auth-soft);
    color: var(--bds-auth-ink);
    outline: none;
}
.bds-auth-form input:focus,
.bds-auth-form-panel .input:focus { border-color: var(--bds-auth-rose); box-shadow: 0 0 0 3px rgba(185,74,125,.11); }
.bds-checkbox-row { grid-template-columns: auto 1fr !important; align-items: start; color: var(--bds-auth-muted); line-height: 1.5; }
.bds-checkbox-row input { margin-top: 4px; }
.bds-auth-submit,
.bds-auth-form-panel #wp-submit {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--bds-auth-plum), var(--bds-auth-rose));
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}
.bds-auth-form-panel #loginform { display: grid; gap: 18px; }
.bds-auth-form-panel .login-remember { margin: 0; color: var(--bds-auth-muted); }
.bds-auth-links { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; }
.bds-auth-links a,
.bds-auth-switch a { color: var(--bds-auth-plum); font-weight: 800; }
.bds-auth-switch { margin: 22px 0 0; text-align: center; color: var(--bds-auth-muted); }
.bds-auth-alert { margin-bottom: 20px; padding: 14px 16px; border-radius: 8px; background: #fff0f1; color: #8b2733; font-weight: 700; }
.bds-honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }
.bds-auth-logged-in { width: min(680px, calc(100% - 32px)); margin: 70px auto; padding: 44px; border-radius: 18px; background: #fff; box-shadow: 0 20px 60px rgba(52,31,45,.1); text-align: center; }
.bds-auth-logged-in .bds-auth-submit { margin-top: 14px; }

@media (max-width: 820px) {
    .bds-auth-shell { grid-template-columns: 1fr; margin-top: 24px; }
    .bds-auth-intro { min-height: auto; padding-top: 52px; padding-bottom: 52px; }
}

@media (max-width: 560px) {
    .bds-auth-shell { width: min(100% - 20px, 1180px); border-radius: 18px; }
    .bds-auth-panel { padding: 30px 22px; }
    .bds-field-grid { grid-template-columns: 1fr; }
    .bds-auth-links { flex-direction: column; gap: 10px; }
}
