/* SSR form controls shared by management and account pages */
.bmf-management-form {
    display: grid;
    width:100%;
    max-width:none;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px 22px;
    align-items:start;
    margin:22px 0 14px;
}
.bmf-management-form .bmf-post-field,
.bmf-management-form .bmf-post-checkbox { margin:0; }
.bmf-post-field {
    display:flex;
    flex-direction:column;
    min-width:0;
    gap:7px;
    font-size:13px;
    font-weight:650;
    color:#58414e;
}
.bmf-post-field__label { line-height:1.35; }
.bmf-post-field > input,
.bmf-post-field > textarea,
.bmf-post-field > select {
    width:100%;
    min-width:0;
    min-height:44px;
    box-sizing:border-box;
    padding:11px 13px;
    border:1px solid #e4d5de;
    border-radius:10px;
    background:#fff;
    box-shadow:none;
    color:#322630;
    font:inherit;
    font-weight:450;
    line-height:1.45;
}
.bmf-post-field > textarea { min-height:120px; resize:vertical; }
.bmf-post-field > select { cursor:pointer; }
.bmf-post-field > input:hover,
.bmf-post-field > select:hover,
.bmf-post-field > textarea:hover { border-color:#d3afc1; }
.bmf-post-field > input:focus-visible,
.bmf-post-field > select:focus-visible,
.bmf-post-field > textarea:focus-visible {
    border-color:#bb5a85;
    outline:3px solid rgba(187,90,133,.12);
    outline-offset:1px;
}
.bmf-post-checkbox {
    display:inline-flex !important;
    flex-direction:row !important;
    align-items:center;
    width:fit-content;
    max-width:100%;
    min-height:24px;
    gap:10px;
    cursor:pointer;
    font-size:13px;
    font-weight:600;
    line-height:1.4;
    color:#674f5d;
}
.bmf-post-checkbox__input,
.bmf-management-form .bmf-post-checkbox__input,
.home-login-form .bmf-post-checkbox__input {
    appearance:auto;
    -webkit-appearance:checkbox;
    box-sizing:border-box;
    display:block;
    flex:0 0 16px;
    width:16px !important;
    height:16px !important;
    min-width:16px !important;
    min-height:16px !important;
    max-width:16px !important;
    max-height:16px !important;
    padding:0 !important;
    margin:0 !important;
    border:1px solid #bd9aac;
    accent-color:#b8587d;
    border-radius:4px;
    cursor:pointer;
    box-shadow:none;
}
.bmf-post-checkbox__input:focus-visible { outline:3px solid rgba(187,90,133,.20); outline-offset:2px; }
.bmf-post-checkbox__label { display:inline; font:inherit; }
.bmf-management-form .home-login-form__submit { justify-self:start; margin-top:3px; border:0; border-radius:10px; background:#b8587d; color:#fff; font-size:14px; font-weight:700; padding:12px 22px; cursor:pointer; }
.bmf-management-form .home-login-form__submit:hover { background:#a84c71; }
.bmf-management-form .home-login-form__submit:focus-visible { outline:3px solid rgba(187,90,133,.25); outline-offset:2px; }
.bmf-auth-header { position:sticky; top:0; z-index:80; }
@media (max-width:720px) {
    .bmf-management-form { grid-template-columns:minmax(0,1fr); gap:16px; }
    .bmf-form-span-2 { grid-column:1; }
}
