/* ÜST MENÜ VE LOGO */

.membership-header {
    max-width: 1180px;
    margin: auto;
    padding: 22px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.membership-header .brand img {
    width: 56px;
    height: 56px;
}

/* SAYFA DÜZENİ VE BAŞLIKLAR */

.membership-shell {
    max-width: 1180px;
    padding: 52px 32px 72px;
    margin: auto;
}

.membership-narrow {
    max-width: 850px;
    min-height: 70vh;
}

.membership-shell h1 {
    font-family: Georgia, serif;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.12;
    font-weight: 400;
    margin: 12px 0 18px;
}

.membership-shell h1 em {
    color: var(--deep);
    font-weight: 400;
}

.membership-shell h2 {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: 27px;
    line-height: 1.3;
    margin: 0 0 20px;
}

.membership-lead {
    color: var(--muted);
    margin: 0;
}

/* KAYIT FORMU BAŞLIĞI */

.registration-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.registration-heading img {
    border-radius: 50%;
    object-fit: cover;
}

/* BAŞVURU ADIMLARI */

.membership-steps {
    display: flex;
    gap: 24px;
    list-style: none;
    padding: 22px 0;
    margin: 22px 0 28px;
    border-block: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
}

.membership-steps [aria-current] {
    color: var(--deep);
    font-weight: 700;
}

/* BİLGİLENDİRME MESAJLARI */

.membership-notice {
    padding: 18px 24px;
    background: #eee4dc;
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-bottom: 26px;
}

.membership-notice p {
    margin: 4px 0 0;
    font-size: 14px;
}

/* FORM SÜTUNLARI VE KARTLAR */

.registration-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.membership-card {
    background: #fffdfb;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 24px;
}

.section-number {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--deep);
    font-weight: 700;
    margin: 0 0 14px;
}

/* FORM ALANLARI */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.full-width {
    grid-column: 1/-1;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.field label {
    font-size: 13px;
    font-weight: 600;
}

.field input,
.field textarea {
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    background: #f7efef;
    border: 1px solid #e1cccf;
    border-radius: 10px;
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
}

.field textarea {
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    outline: 2px solid var(--deep);
    outline-offset: 2px;
}

.read-only-field {
    margin: 0;
    padding: 12px 14px;
    background: var(--paper);
    border-radius: 10px;
    font-size: 13px;
    color: var(--muted);
}

.field-help {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
}

/* DERS SEÇİMİ */

.discipline-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.discipline-option {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    padding: 13px 12px;
    border-radius: 10px;
    font-size: 13px;
    cursor: pointer;
}

.discipline-option:has(input:checked) {
    border-color: var(--deep);
    background: #f5e8e7;
}

/* ONAY KUTULARI */

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    margin: 22px 0 10px;
    cursor: pointer;
}

input[type=checkbox],
input[type=radio] {
    accent-color: var(--deep);
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    margin-top: 4px;
}

/* SAĞLIK BİLGİLERİ */

.health-fields {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.health-fields:disabled {
    opacity: .6;
}

.radio-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 12px 0 18px;
    font-size: 13px;
}

.radio-options label {
    display: flex;
    gap: 7px;
    align-items: center;
}

/* STÜDYO KOŞULLARI */

.studio-terms {
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.8;
}

.studio-terms li {
    padding-left: 5px;
    margin-bottom: 18px;
}

/* BAŞVURUNUN TAMAMLANMASI */

.membership-next {
    border-top: 1px solid var(--line);
    margin-top: 24px;
    padding-top: 22px;
    font-size: 13px;
}

.membership-next p {
    color: var(--muted);
}

.submit-registration {
    width: 100%;
    font-size: 13px;
    justify-content: center;
    text-align: center;
    white-space: normal;
}

.button:disabled {
    opacity: .65;
    cursor: not-allowed;
}

/* SAYFA ALT BİLGİSİ */

.membership-footer {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    padding: 25px;
    border-top: 1px solid var(--line);
}

/* DOĞRULAMA MESAJLARI */

.field-validation-error,
.validation-summary-errors {
    color: #a32430;
    font-size: 13px;
}

.validation-summary-valid {
    display: none;
}

/* AYDINLATMA VE RIZA METİNLERİ */

.legal-text {
    white-space: pre-wrap;
    max-height: 420px;
    overflow: auto;
    background: var(--paper);
    padding: 18px;
    border-radius: 10px;
    font-size: 14px;
}

/* TABLET VE MOBİL GÖRÜNÜM */

@media (max-width: 800px) {
    .registration-columns {
        grid-template-columns: 1fr;
    }

    .membership-shell {
        padding: 30px 18px;
    }

    .membership-header {
        padding: 16px 18px;
    }

    .membership-card {
        padding: 22px;
    }

    .registration-heading img {
        width: 80px;
        height: 80px;
    }

    .membership-steps {
        gap: 12px;
        font-size: 11px;
    }

    .membership-header .text-link {
        font-size: 12px;
    }
}

/* KÜÇÜK TELEFON EKRANLARI */

@media (max-width: 440px) {
    .form-grid,
    .discipline-options {
        grid-template-columns: 1fr;
    }

    .registration-heading img {
        display: none;
    }

    .membership-steps {
        flex-wrap: wrap;
    }

    .membership-shell h1 {
        font-size: 38px;
    }
}

/* Üyelik üst menüsü ve sabit telefon ülke kodu */
.membership-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; font-size: 14px; }
.membership-nav a { color: var(--ink); text-decoration: none; padding-block: 10px; }
.membership-nav a:hover, .membership-nav a[aria-current="page"] { color: var(--deep); text-decoration: underline; text-underline-offset: 6px; }
.phone-input { display: flex; align-items: stretch; gap: 8px; }
.phone-prefix { display: flex; align-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.phone-input input { min-width: 0; flex: 1; }
@media (max-width: 440px) { .membership-header { gap: 12px; } .membership-nav { gap: 12px; font-size: 13px; } }
.membership-header .brand { flex-shrink: 0; }
.membership-header .membership-nav { width: auto; padding-bottom: 0; flex-shrink: 0; }
@media (max-width: 360px) { .membership-header { flex-wrap: wrap; } }

/* Ana sayfa ve üyelik aynı marka üst barını kullanır. */
.membership-shell { padding-top: 42px; }
.admin-header { background: rgb(250 247 243 / 96%); }
.admin-header nav > a, .admin-header .admin-link { border-radius: 999px; padding: 10px 15px; background: var(--sand); min-height: 44px; display: inline-flex; align-items: center; }
