/* MARAŞ 18 — Üye kayıt (m18-auth üzerine kayıt-özel katman) */

body.page-register.theme-maras18 {
    --primary-green: #16351C;
    --secondary-green: #254D2A;
    --walnut-brown: #8A4F20;
    --accent-orange: #B8661A;
    --cream: #F7F3EA;
    --text-dark: #182018;
}

.m18reg .m18-auth-hero__script {
    font-family: "Great Vibes", "Segoe Script", cursive;
    font-size: clamp(1.85rem, 2.8vw, 2.55rem);
    line-height: 1.2;
}

.m18reg .m18-auth-card__title {
    font-family: "Playfair Display", "Fraunces", Georgia, serif;
}

.m18reg .m18-auth-hero__title {
    font-family: "Playfair Display", "Fraunces", Georgia, serif;
}

/* Social buttons — yakında */
.m18reg-social-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.m18reg-social-note {
    margin: 0;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    border: 1px solid #e6dcc8;
    background: linear-gradient(180deg, #fbf7ef 0%, #f5efe4 100%);
    color: #5c5348;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.m18reg-social-note.is-pulse {
    border-color: #d4b48a;
    box-shadow: 0 0 0 3px rgba(184, 102, 26, 0.12);
    background: linear-gradient(180deg, #fff8ec 0%, #f7ecd8 100%);
    color: #6b4a22;
}

.m18reg-social-note--legal {
    border-color: #dce8df;
    background: linear-gradient(180deg, #f5faf6 0%, #eef5f0 100%);
    color: #3d5344;
    font-weight: 550;
}

.m18reg .m18-auth-social__btn {
    position: relative;
    opacity: 1;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.m18reg .m18-auth-social__btn:hover {
    border-color: #c9c0b0;
    background: #faf8f3;
}

.m18reg-social__label {
    font-weight: 700;
}

.m18reg-social__badge {
    margin-left: 0.15rem;
    padding: 0.12rem 0.4rem;
    border-radius: 999px;
    background: #efe6d6;
    color: #8a4f20;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Stepper */
.m18reg-stepper {
    list-style: none;
    margin: 0 0 1.35rem;
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.m18reg-stepper__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    flex: 0 0 auto;
    min-width: 4.5rem;
}

.m18reg-stepper__dot {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    background: #e8e4da;
    color: #8a857a;
}

.m18reg-stepper__item.is-active .m18reg-stepper__dot {
    background: var(--walnut-brown, #8A4F20);
    color: #fff;
}

.m18reg-stepper__label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #9a9488;
    text-align: center;
    line-height: 1.25;
}

.m18reg-stepper__item.is-active .m18reg-stepper__label {
    color: var(--walnut-brown, #8A4F20);
}

.m18reg-stepper__line {
    flex: 1 1 auto;
    height: 1.5px;
    background: #e4ddd0;
    margin: 1rem 0.35rem 0;
    min-width: 1.25rem;
    align-self: flex-start;
}

/* Two-column fields */
.m18reg-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.m18reg-field.is-invalid .m18-auth-input input {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.m18reg-error {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #b91c1c;
    line-height: 1.35;
}

.m18reg-checks {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 0.15rem;
}

.m18reg-check {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.7rem;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--m18-muted, #6d655b);
}

.m18reg-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.m18reg-check__box {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.1rem;
    border: 1.5px solid #c9c1b3;
    border-radius: 4px;
    background: #fff;
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.m18reg-check input:checked + .m18reg-check__box {
    background: var(--walnut-brown, #8A4F20);
    border-color: var(--walnut-brown, #8A4F20);
    color: #fff;
}

.m18reg-check__text a {
    color: var(--walnut-brown, #8A4F20);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.m18reg-check__text a:hover {
    color: var(--accent-orange, #B8661A);
}

.m18reg-check.is-invalid .m18reg-check__box {
    border-color: #dc2626;
}

.m18reg-submit__label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.m18reg-recaptcha {
    margin: 0.15rem 0;
}

@media (max-width: 640px) {
    .m18reg-row {
        grid-template-columns: 1fr;
    }

    .m18reg-stepper__label {
        font-size: 0.625rem;
        max-width: 4.2rem;
    }

    .m18reg .m18-auth-social {
        grid-template-columns: 1fr;
    }
}
