/* Place your global front-end utilities here if needed. Keep it lean. */

/* ---- Password-protected post form (the_password_form) ----
   Scoped to .bijbijker-pw-form so it never leaks into theme styles. Uses the
   BijBijker palette; theme-neutral so it sits well on any background. */
.bijbijker-pw-form {
    --cim-ink: #22262b;
    --cim-orange: #e85d04;
    --cim-line: #cfc7ba;
    --cim-muted: #62626a;
    --cim-paper: #fdfcfa;
    --cim-focus: #1a73e8;
    max-width: 520px;
    margin: 1.5em 0;
}
.bijbijker-pw-form__inner {
    background: var(--cim-paper);
    border: 1px solid var(--cim-line);
    border-top: 4px solid var(--cim-orange);
    border-radius: 12px;
    padding: 22px 24px 24px;
}
.bijbijker-pw-form__intro {
    margin: 0 0 16px;
    color: var(--cim-muted);
    font-size: 14px;
    line-height: 1.55;
}
.bijbijker-pw-form__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
}
.bijbijker-pw-form__label {
    display: block;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: .09em;
    font-size: 11px;
    font-weight: 700;
    color: var(--cim-ink);
    margin-bottom: -4px;
}
.bijbijker-pw-form__input {
    flex: 1 1 200px;
    min-width: 0;
    border: 0;
    border-bottom: 2px solid var(--cim-line);
    border-radius: 0;
    background: transparent;
    padding: 8px 2px;
    font: inherit;
    font-size: 16px;
    color: var(--cim-ink);
    min-height: 44px;
    transition: border-color .2s;
}
.bijbijker-pw-form__input:focus {
    outline: none;
    border-bottom-color: var(--cim-orange);
}
.bijbijker-pw-form__input:focus-visible {
    outline: 2px solid var(--cim-focus);
    outline-offset: 3px;
    border-bottom-color: var(--cim-orange);
}
.bijbijker-pw-form__submit {
    flex: 0 0 auto;
    background: var(--cim-ink);
    color: var(--cim-paper);
    border: 0;
    border-radius: 6px;
    padding: 12px 20px;
    min-height: 44px;
    font: inherit;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .3px;
    cursor: pointer;
    transition: background .2s;
}
.bijbijker-pw-form__submit:hover,
.bijbijker-pw-form__submit:active {
    background: #14171b;
}
.bijbijker-pw-form__submit:focus-visible {
    outline: 2px solid var(--cim-focus);
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    .bijbijker-pw-form * { transition: none !important; }
}
