/* =============================================================
   BOCC – signin.css
   Full-page sign-in. Uses Layout = null, so site.css CSS vars
   are still available (linked separately in the page head).
   ============================================================= */

/* ── Base reset for standalone page ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
    font-family: var(--bocc-font-body, 'DM Sans', system-ui, sans-serif);
    color: #0A0E2A;
    background: #F8F9FC;
    -webkit-font-smoothing: antialiased;
}
input::placeholder { color: #9AA6C2; }
label { display: block; }

/* ── Page shell ───────────────────────────────────────────────── */
.si-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* ── Brand panel (left, navy) ─────────────────────────────────── */
.si-brand {
    background: #000B57;
    color: #fff;
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.si-brand__bg {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg, #0a1574 0 14px, #0c1a86 14px 28px);
    opacity: .4;
    pointer-events: none;
}
.si-brand__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.si-brand__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: auto;
}
.si-brand__logo img {
    height: 38px;
    width: auto;
    display: block;
}
.si-brand__body {
    margin: auto 0;
}
.si-brand__eyebrow {
    font-family: 'Manrope', var(--bocc-font-heading, sans-serif);
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: .2em;
    color: #C9A84C;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.si-brand__title {
    font-family: 'Manrope', var(--bocc-font-heading, sans-serif);
    font-weight: 800;
    font-size: 38px;
    line-height: 1.1;
    letter-spacing: -.02em;
}
.si-brand__perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}
.si-brand__perks li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}
.si-brand__perk-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #C9A84C;
    color: #000B57;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 1px;
}
.si-brand__perk-text {
    font-size: 15px;
    color: #C7CEE6;
    line-height: 1.5;
}
.si-brand__foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #B9C2DE;
    font-size: 13.5px;
    padding-top: 40px;
}
.si-brand__stars {
    color: #C9A84C;
    font-size: 15px;
    letter-spacing: 2px;
}

/* ── Form panel (right) ───────────────────────────────────────── */
.si-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
    overflow-y: auto;
    background: #F8F9FC;
}
.si-form-wrap {
    width: 100%;
    max-width: 420px;
}

/* Top "already have account" link */
.si-top-link {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 32px;
    font-size: 13.5px;
    color: #6B7A99;
}
.si-top-link__a {
    color: #000B57;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    text-decoration: none;
    margin-left: 6px;
    transition: color .15s;
}
.si-top-link__a:hover { color: #C9A84C; }

.si-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 28px;
    letter-spacing: -.02em;
    color: #000B57;
    margin-bottom: 8px;
}
.si-subtitle {
    font-size: 14.5px;
    color: #6B7A99;
    margin-bottom: 30px;
}

/* Social auth buttons */
.si-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.si-social__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    background: #fff;
    border: 1.5px solid #DDE3F0;
    border-radius: 8px;
    padding: 13px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #0A0E2A;
    cursor: pointer;
    transition: border-color .15s;
}
.si-social__btn:hover { border-color: #000B57; }
.si-social__dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Divider */
.si-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.si-divider span:first-child,
.si-divider span:last-child {
    flex: 1;
    height: 1px;
    background: #DDE3F0;
}
.si-divider span:nth-child(2) {
    font-size: 12.5px;
    color: #9AA6C2;
    white-space: nowrap;
}

/* Form fields */
.si-field { margin-bottom: 16px; }

.si-label {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #0A0E2A;
    margin-bottom: 7px;
}
.si-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
}
.si-label-row .si-label { margin-bottom: 0; }

.si-forgot {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 12.5px;
    color: #000B57;
    text-decoration: none;
    transition: color .15s;
}
.si-forgot:hover { color: #C9A84C; }

.si-input {
    width: 100%;
    border: 1px solid #DDE3F0;
    border-radius: 8px;
    padding: 13px 15px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14.5px;
    outline: none;
    background: #fff;
    color: #0A0E2A;
    transition: border-color .15s;
    /* override Bootstrap .form-control styles that conflict */
    box-shadow: none !important;
}
.si-input:focus { border-color: #000B57; }
.si-input--pw  { padding-right: 72px; }

.si-password-wrap { position: relative; }

.si-pw-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: #6B7A99;
    padding: 8px;
    transition: color .15s;
}
.si-pw-toggle:hover { color: #000B57; }

.si-error {
    display: block;
    margin-top: 5px;
    font-size: 12.5px;
}

/* Remember me */
.si-remember {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 24px;
    cursor: pointer;
}
.si-remember__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.si-remember__box {
    width: 19px;
    height: 19px;
    border: 1.5px solid #DDE3F0;
    border-radius: 5px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: background .15s, border-color .15s;
}
.si-remember__box.is-checked {
    background: #000B57;
    border-color: #000B57;
}
.si-remember__check {
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 11px;
    opacity: 0;
    transition: opacity .1s;
}
.si-remember__box.is-checked .si-remember__check { opacity: 1; }
.si-remember__label {
    font-size: 13px;
    color: #6B7A99;
    line-height: 1.5;
}

/* Submit */
.si-submit {
    display: block;
    width: 100%;
    background: #000B57;
    color: #fff;
    border: none;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 16px;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 18px;
    transition: background .15s;
}
.si-submit:hover { background: #0A1880; }

/* Security note */
.si-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 12.5px;
    color: #6B7A99;
}
.si-secure__dot {
    width: 11px;
    height: 11px;
    border: 1.5px solid #16A34A;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Responsive: Tablet (≤ 1023px) ───────────────────────────── */
@media (max-width: 1023px) {
    .si-brand { padding: 40px 36px; }
    .si-brand__title { font-size: 30px; }
}

/* ── Responsive: Mobile (≤ 767px) ────────────────────────────── */
@media (max-width: 767px) {
    .si-page { grid-template-columns: 1fr; }

    /* Collapse brand panel to a compact header strip */
    .si-brand {
        padding: 24px 20px;
        min-height: auto;
    }
    .si-brand__body,
    .si-brand__perks,
    .si-brand__foot { display: none; }
    .si-brand__logo  { margin-bottom: 0; }

    .si-panel { padding: 28px 20px; }
    .si-form-wrap { max-width: 100%; }
}
