.member-header-container { position: relative; }
.member-quick {
    position: absolute;
    top: 11px;
    right: 0;
    z-index: 40;
    display: flex;
    gap: 14px;
    align-items: center;
    color: #333;
    font-size: 13px;
}
.member-quick a { color: #222; }
.member-quick a:hover { color: #a90712; text-decoration: underline; }
.member-mobile-actions {
    display: flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    padding: 11px 10px;
    border-bottom: 1px solid #615c58;
    background: #443a33;
    color: #fff;
    font-size: 13px;
}
.member-mobile-actions a {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 3px;
    background: #6c594d;
    color: #fff;
}
.member-shell { max-width: 980px; margin: 0 auto; padding: 72px 20px 20px; }
.member-title { margin-bottom: 70px; text-align: center; color: #333; }
.member-title h1 { margin: 0; font-size: 48px; font-weight: 400; }
.member-title p { margin-top: 8px; font-size: 20px; }
.member-form { max-width: 700px; margin: 0 auto; }
.member-form input[type="text"],
.member-form input[type="email"],
.member-form input[type="password"],
.member-form input[type="tel"],
.member-form input[type="file"],
.member-form textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    font-size: 16px;
}
.member-form-row { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; margin-bottom: 14px; }
.member-form-row.has-button { grid-template-columns: 160px 1fr 180px; }
.member-form-row label { font-size: 16px; font-weight: 600; }
.member-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 10px 28px;
    border: 0;
    background: #ad0712;
    color: #fff !important;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
}
.member-btn.secondary { background: #403d3b; }
.member-btn.wide { width: 100%; }
.member-actions { display: flex; gap: 12px; justify-content: center; margin-top: 36px; }
.member-help-links { display: grid; grid-template-columns: 1fr 1fr; margin-top: 38px; border: 1px solid #e5e5e5; }
.member-help-links a { padding: 18px; text-align: center; }
.member-help-links a + a { border-left: 1px solid #e5e5e5; }
.member-message { margin-bottom: 20px; padding: 14px 16px; border: 1px solid #e2b7ba; background: #fff5f6; color: #8c0710; }
.member-steps { display: grid; grid-template-columns: repeat(3,1fr); margin-bottom: 44px; border: 1px solid #ddd; }
.member-steps span { padding: 18px 8px; text-align: center; font-size: 18px; font-weight: 600; }
.member-steps span + span { border-left: 1px solid #ddd; }
.member-steps .active { background: #ad0712; color: #fff; }
.agreement-block { margin-bottom: 40px; }
.agreement-block h2, .recovery-section h2 { color: #c40000; font-size: 28px; }
.agreement-scroll { height: 230px; overflow: auto; padding: 14px; border: 1px solid #ddd; line-height: 1.7; }
.agreement-check { margin-top: 12px; text-align: right; font-size: 16px; }
.member-choice-group { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.member-choice {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    width: auto;
    margin-left: 18px;
    font-weight: 400 !important;
    line-height: 1.4;
    cursor: pointer;
}
.member-choice-group .member-choice { margin-left: 0; }
.member-choice input:focus-visible + i { outline: 2px solid #2875bd; outline-offset: 2px; }
.membership-application-guide { margin-top: 12px; color: #2875bd; line-height: 1.6; }
.membership-application-download {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    margin: 12px 0;
    padding: 14px;
    border: 1px solid #d4dfeb;
    background: #f5f9fd;
}
.membership-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid #2875bd;
    background: #2875bd;
    color: #fff !important;
    font-weight: 600;
}
.membership-download-btn:hover, .membership-download-btn:focus { background: #175b98; }
.membership-application-download span { color: #555; font-size: 14px; line-height: 1.5; }
.recovery-section { margin-bottom: 62px; }
.recovery-note { margin: 12px 0; line-height: 1.7; }
.address-grid { display: grid; grid-template-columns: 1fr 180px; gap: 12px; }
.address-grid .full { grid-column: 1 / -1; }
@media (max-width: 767px) {
    .member-shell { padding: 45px 16px 0; }
    .member-title { margin-bottom: 40px; }
    .member-title h1 { font-size: 36px; }
    .member-form-row, .member-form-row.has-button { grid-template-columns: 1fr; gap: 7px; }
    .member-form-row.has-button .member-btn { width: 100%; }
    .member-steps span { padding: 13px 4px; font-size: 14px; }
    .address-grid { grid-template-columns: 1fr; }
    .address-grid .full { grid-column: auto; }
    #id-check-result { margin-left: 0 !important; }
    .agreement-check .member-choice { margin-left: 12px; }
    .membership-application-download { align-items: stretch; }
    .membership-download-btn { width: 100%; text-align: center; }
}
