/* ================================================================
   membership.css — Membership Application page
   ================================================================ */

/* ---- Form card ---- */
.mf-form-wrap {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    max-width: 640px;
    margin: 1.25rem 0 2rem;
}

/* ---- Field rows ---- */
.mf-field {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-bottom: 1.1rem;
}
.mf-field--short { max-width: 14rem; }

.mf-field label {
    font-size: .9rem;
    font-weight: 600;
    color: #374151;
}
.mf-req { color: #b91c1c; }

.mf-field input[type="text"],
.mf-field input[type="tel"],
.mf-field input[type="email"],
.mf-field select,
.mf-field textarea {
    padding: .45rem .65rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    color: #1f2937;
    transition: border-color .15s, box-shadow .15s;
}
.mf-field input:focus,
.mf-field select:focus,
.mf-field textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.mf-field textarea { resize: vertical; min-height: 7rem; }
.mf-field select   { background: #fff; }

.mf-hint {
    font-size: .8rem;
    color: #6b7280;
    line-height: 1.4;
}

/* ---- Section dividers ---- */
.mf-rule {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 1.25rem 0;
}

/* ---- Errors ---- */
.mf-errors {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: .75rem 1rem;
    margin-bottom: 1.25rem;
    color: #b91c1c;
    font-size: .9rem;
}
.mf-errors ul { margin: .4rem 0 0 1.25rem; padding: 0; }
.mf-errors li { margin-bottom: .2rem; }

/* ---- Submit button ---- */
.mf-submit { margin-top: 1.25rem; }
.mf-submit-btn {
    background: #1e3a5f;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: .6rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s;
}
.mf-submit-btn:hover { background: #2d5a8e; }

/* ---- message-box spacing ---- */
.message-box { margin: 1rem 0; }
