/* ==========================================================================
   Kimlik sayfaları — Giriş, Kayıt, Şifre sıfırlama, Eğitmen başvurusu ("aka-")
   Telefon/tablet: formun üstünde ince koyu selamlama şeridi + tek odaklı kart.
   Masaüstü (≥992px): bölünmüş ekran — koyu mor marka paneli (kemer pencere,
   meşrebiye deseni, Kufi selamlama) + form sütunu.
   ========================================================================== */

/* Koyu marka paneli yüzen menünün altından başlar (ana sayfa hero'su gibi) */
body:has(.aka-page) main[role="main"] { margin-top: calc(-1 * var(--navbar-height)); }
body:has(.aka-page) .site-flash-messages {
    position: fixed;
    top: calc(var(--top-banner-height, 0px) + var(--navbar-height) + 8px);
    inset-inline: 0;
    z-index: 10001;
    width: min(640px, calc(100% - 32px));
    margin-inline: auto;
    padding: 0;
}

.aka-page {
    position: relative;
    background: var(--ak-bg);
    overflow-x: clip;
}
.aka-split { display: grid; grid-template-columns: minmax(0, 1fr); }

/* --------------------------------------------------------------------------
   Marka paneli
   -------------------------------------------------------------------------- */
.aka-brand {
    position: relative;
    isolation: isolate;
    overflow: clip;
    color: #fff;
    background: var(--ak-plum-950);
    padding: calc(var(--navbar-height) + 20px) var(--ak-gutter) 72px;
    text-align: center;
}
.aka-brand__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(560px 380px at 88% 0%, rgba(154, 68, 121, .62), transparent 64%),
        radial-gradient(440px 320px at 0% 100%, rgba(238, 215, 21, .10), transparent 62%),
        linear-gradient(180deg, #4a193d 0%, #3d1533 100%);
}
.aka-brand__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--ak-mashrabiya);
    background-size: 44px 44px;
    opacity: .75;
    -webkit-mask-image: radial-gradient(ellipse 85% 95% at 72% 8%, #000 0%, transparent 74%);
    mask-image: radial-gradient(ellipse 85% 95% at 72% 8%, #000 0%, transparent 74%);
}
.aka-brand__bg::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(238, 215, 21, .45), transparent);
}
.aka-brand__glow {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    top: -160px;
    inset-inline-end: -80px;
    background: #9a4479;
    filter: blur(80px);
    opacity: .45;
}
.aka-brand__word {
    position: absolute;
    font-family: var(--ak-font-kufi);
    font-weight: 600;
    unicode-bidi: isolate;
    inset-inline-start: -3%;
    bottom: -.34em;
    font-size: clamp(7rem, 34vw, 19rem);
    line-height: 1;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, .06);
    user-select: none;
}

.aka-brand__inner { position: relative; }

/* Telefon/tablet selamlama şeridi */
.aka-greet {
    display: grid;
    justify-items: center;
    gap: 4px;
    margin: 0;
}
.aka-greet__ar {
    font-family: var(--ak-font-kufi);
    font-weight: 600;
    font-size: clamp(2.125rem, 1.6rem + 2.4vw, 3rem);
    line-height: 1.3;
    color: var(--ak-sun);
    text-shadow: 0 10px 34px rgba(238, 215, 21, .28);
    unicode-bidi: isolate;
}
.aka-greet__tr {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 10px;
    font-size: .9375rem;
    color: rgba(255, 255, 255, .7);
}
.aka-greet__tr em { font-style: italic; }
.aka-greet__tr b { color: #fff; font-weight: 600; }
.aka-greet__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ak-sand); }

/* Masaüstüne özel kompozisyon: telefonda gizli */
.aka-brand__badge,
.aka-arch-wrap,
.aka-points { display: none; }

.aka-brand__badge {
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 12px;
    border-radius: var(--ak-radius-pill);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .92);
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.35;
}
.aka-brand__badge-dot {
    width: 8px;
    height: 8px;
    flex: none;
    border-radius: 50%;
    background: var(--ak-sun);
    box-shadow: 0 0 0 4px rgba(238, 215, 21, .18);
}

/* Kemer pencere */
.aka-arch-wrap { position: relative; width: min(100%, 340px); }
.aka-arch {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    aspect-ratio: 4 / 4.7;
    border-radius: 50% 50% 28px 28px / 42% 42% 28px 28px;
    background:
        radial-gradient(120% 70% at 50% 0%, rgba(238, 215, 21, .17), transparent 60%),
        linear-gradient(180deg, #7a2d63 0%, #5a1f4b 55%, #43163a 100%);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 60px 100px -50px rgba(0, 0, 0, .85), inset 0 0 0 10px rgba(255, 255, 255, .03);
}
.aka-arch::after {
    content: "";
    position: absolute;
    inset: 13px;
    border-radius: inherit;
    border: 1px solid rgba(238, 215, 21, .24);
    pointer-events: none;
}
.aka-arch__pattern {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--ak-mashrabiya);
    background-size: 44px 44px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 42%, transparent 80%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 42%, transparent 80%);
}
.aka-arch__head {
    position: absolute;
    top: 16%;
    inset-inline: 22px;
    display: grid;
    justify-items: center;
    gap: 10px;
    text-align: center;
}
.aka-arch__calli {
    font-size: clamp(2.5rem, 1.4rem + 2.3vw, 3.5rem);
    line-height: 1.25;
    color: var(--ak-sun);
    text-shadow: 0 10px 40px rgba(238, 215, 21, .28);
}
.aka-arch__meaning {
    display: inline-block;
    padding: 5px 12px;
    border-radius: var(--ak-radius-pill);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .86);
    font-size: .8125rem;
    font-weight: 500;
    line-height: 1.35;
}
.aka-arch__meaning em { color: var(--ak-sand); font-style: italic; }

.aka-chat {
    position: absolute;
    inset-inline: 20px;
    bottom: 24px;
    display: grid;
    gap: 9px;
    text-align: start;
}
.aka-chat__row { display: flex; align-items: flex-end; gap: 8px; }
.aka-chat__row--me { justify-content: flex-end; }
.aka-chat__avatar {
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--ak-sand);
    color: #fff;
    font-size: .75rem;
    border: 2px solid rgba(255, 255, 255, .85);
}
.aka-bubble {
    max-width: 82%;
    padding: 9px 13px 8px;
    border-radius: 18px 18px 18px 6px;
    background: #fff;
    color: var(--ak-ink);
    box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6);
}
html[dir="rtl"] .aka-bubble { border-radius: 18px 18px 6px 18px; }
.aka-bubble p {
    margin: 0;
    font-family: var(--ak-font-ar);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--ak-ink) !important;
    text-align: right;
}
.aka-bubble small { display: block; margin-top: 1px; font-size: .75rem; line-height: 1.35; color: var(--ak-muted); }
.aka-bubble--me { background: var(--ak-sun); border-radius: 18px 18px 6px 18px; }
html[dir="rtl"] .aka-bubble--me { border-radius: 18px 18px 18px 6px; }
.aka-bubble--me p { color: var(--ak-plum-950) !important; }
.aka-bubble--me small { color: rgba(47, 16, 37, .72); }

/* Sekiz köşeli yıldız mühür */
.aka-seal {
    position: absolute;
    top: 4px;
    inset-inline-end: -34px;
    width: 104px;
    height: 104px;
    display: grid;
    place-content: center;
    gap: 2px;
    text-align: center;
    background: var(--ak-sun);
    color: var(--ak-plum-950);
    clip-path: polygon(50% 0%, 63% 18%, 85% 15%, 82% 37%, 100% 50%, 82% 63%, 85% 85%, 63% 82%, 50% 100%, 37% 82%, 15% 85%, 18% 63%, 0% 50%, 18% 37%, 15% 15%, 37% 18%);
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35));
}
.aka-seal__num { font-size: 1.375rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.aka-seal__label { max-width: 64px; margin-inline: auto; font-size: .5625rem; font-weight: 700; line-height: 1.15; }

/* Değer maddeleri */
.aka-points {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    text-align: start;
}
.aka-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
    color: rgba(255, 255, 255, .9);
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.3;
}
.aka-points i {
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(238, 215, 21, .12);
    color: var(--ak-sun);
    font-size: .8125rem;
}

/* --------------------------------------------------------------------------
   Form sütunu ve kart
   -------------------------------------------------------------------------- */
.aka-main {
    position: relative;
    z-index: 1;
    margin-top: -44px;
    padding: 0 var(--ak-gutter) clamp(48px, 8vw, 88px);
}
.aka-card {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
    padding: 28px 20px 22px;
    background: var(--ak-surface);
    border: 1px solid var(--ak-line);
    border-radius: 24px;
    box-shadow: 0 34px 64px -40px rgba(31, 10, 24, .5), 0 2px 6px rgba(31, 10, 24, .04);
}
.aka-card--wide { max-width: 720px; }
@media (min-width: 576px) {
    .aka-card { padding: 40px 40px 30px; border-radius: 28px; }
}

.aka-head { margin-bottom: 26px; }
.aka-head__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--ak-plum-50);
    color: var(--ak-plum-600);
    font-size: 1.25rem;
}
.aka-head__ar {
    display: block;
    margin-bottom: 6px;
    font-family: var(--ak-font-kufi);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.45;
    color: #b48a62; /* kum tonunun beyaz zeminde okunur koyusu */
    direction: rtl;
    text-align: left; /* Arapça arayüzde gösterilmez; LTR'de başlıkla aynı hizada */
    unicode-bidi: isolate;
}
.aka-title {
    margin: 0 0 8px;
    color: var(--ak-ink);
    font-size: clamp(1.875rem, 1.5rem + 1.3vw, 2.375rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.035em;
}
html[dir="rtl"] .aka-title { letter-spacing: 0; line-height: 1.3; }
.aka-sub { margin: 0; color: var(--ak-muted); font-size: 1rem; line-height: 1.55; }

.aka-email-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    margin-top: 16px;
    padding: 8px 14px;
    border-radius: var(--ak-radius-pill);
    background: var(--ak-plum-50);
    color: var(--ak-plum-800);
    font-size: .875rem;
    font-weight: 600;
}
.aka-email-chip i { color: var(--ak-plum-500); flex: none; }
.aka-email-chip span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Form */
.aka-form { display: grid; gap: 20px; }
.aka-field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.aka-field--narrow { max-width: 220px; }
.aka-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.aka-row--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 520px) {
    .aka-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

.aka-label {
    margin: 0;
    color: var(--ak-ink);
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.35;
}
.aka-req { color: var(--ak-danger); margin-inline-start: 3px; font-weight: 700; }

.aka-page .aka-input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 13px 16px;
    border: 1.5px solid var(--ak-line-strong);
    border-radius: 14px;
    background-color: #fff;
    color: var(--ak-ink);
    font-family: var(--ak-font);
    font-size: 16px; /* iOS yakınlaştırmasını önler */
    line-height: 1.4;
    box-shadow: none;
}
.aka-page .aka-input::placeholder { color: var(--ak-subtle); opacity: 1; }
.aka-page .aka-input:hover { border-color: var(--ak-plum-200); }
.aka-page .aka-input:focus {
    outline: none;
    border-color: var(--ak-plum-500);
    box-shadow: var(--ak-ring);
}
.aka-page textarea.aka-input { min-height: 120px; resize: vertical; }
.aka-page select.aka-input {
    padding-inline-end: 44px;
    background-position: right 16px center;
    background-size: 14px 10px;
    cursor: pointer;
}
html[dir="rtl"] .aka-page select.aka-input { background-position: left 16px center; }
.aka-page input[type="date"].aka-input { -webkit-appearance: none; appearance: none; }
.aka-page input[type="date"].aka-input::-webkit-date-and-time-value { text-align: start; }

/* Hata durumları: yalnız kullanıcı alana dokunduktan sonra kırmızı (sayfa açılışında değil) */
.aka-page .aka-input:user-invalid,
.aka-page .aka-input.is-invalid {
    border-color: var(--ak-danger);
    background-color: #fffafb;
}
.aka-page .aka-input:user-invalid:focus,
.aka-page .aka-input.is-invalid:focus { box-shadow: 0 0 0 4px rgba(192, 38, 59, .14); }

/* Dosya yükleme */
.aka-page .aka-file { padding: 8px 10px; line-height: 36px; cursor: pointer; }
.aka-page .aka-file::file-selector-button {
    margin: 0;
    margin-inline-end: 12px;
    padding: 0 16px;
    min-height: 36px;
    border: 0;
    border-radius: 10px;
    background: var(--ak-plum-50);
    color: var(--ak-plum-700);
    font-family: var(--ak-font);
    font-weight: 600;
    cursor: pointer;
}
.aka-page .aka-file:hover::file-selector-button { background: var(--ak-plum-100); }

/* Şifre göster/gizle */
.aka-pass { position: relative; }
.aka-page .aka-pass .aka-input { padding-inline-end: 58px; }
.aka-pass__toggle {
    position: absolute;
    top: 50%;
    inset-inline-end: 5px;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: transparent;
    color: var(--ak-muted);
    font-size: 1rem;
    cursor: pointer;
}
.aka-pass__toggle:hover { background: var(--ak-plum-50); color: var(--ak-plum-700); }
.aka-pass__toggle:focus-visible { outline: 2px solid var(--ak-plum-500); outline-offset: -2px; }

.aka-hint { margin: 0; color: var(--ak-muted); font-size: .875rem; line-height: 1.5; }
.aka-status { font-size: .875rem; font-weight: 600; line-height: 1.4; }
.aka-status:empty { display: none; }

/* Şifre gücü (register.js weak/medium/strong sınıfı ve metni verir) */
.aka-page .password-strength-indicator {
    display: block;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: none !important;
    font-size: .8125rem;
    font-weight: 700;
    color: var(--ak-muted);
}
.aka-page .password-strength-indicator:empty { display: none !important; }
.aka-page .password-strength-indicator::before {
    content: "";
    display: block;
    height: 6px;
    margin-bottom: 6px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--_c, var(--ak-line)) var(--_w, 0%), var(--ak-line) var(--_w, 0%));
}
html[dir="rtl"] .aka-page .password-strength-indicator::before {
    background: linear-gradient(270deg, var(--_c, var(--ak-line)) var(--_w, 0%), var(--ak-line) var(--_w, 0%));
}
.aka-page .password-strength-indicator.weak { --_c: var(--ak-danger); --_w: 33.3%; color: var(--ak-danger); }
.aka-page .password-strength-indicator.medium { --_c: var(--ak-warning); --_w: 66.6%; color: var(--ak-warning); }
.aka-page .password-strength-indicator.strong { --_c: var(--ak-success); --_w: 100%; color: var(--ak-success); }

/* Onay kutuları */
.aka-page .aka-checkbox {
    float: none;
    flex: none;
    width: 22px;
    height: 22px;
    margin: 0;
    border: 1.5px solid var(--ak-line-strong);
    border-radius: 7px;
    cursor: pointer;
}
.aka-page .aka-checkbox:checked { background-color: var(--ak-plum-600); border-color: var(--ak-plum-600); }

.aka-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin-top: -4px;
}
.aka-remember {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    margin: 0;
    color: var(--ak-ink-2);
    font-size: .9375rem;
    font-weight: 500;
    cursor: pointer;
}

.aka-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ak-plum-600);
    font-weight: 700;
    text-decoration: none;
    text-underline-offset: 3px;
}
.aka-link:hover { color: var(--ak-plum-800); text-decoration: underline; }

.aka-consents { display: grid; gap: 10px; }
.aka-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: var(--ak-sand-50);
}
.aka-consent .aka-checkbox { margin-top: 1px; }
.aka-consent__label {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: var(--ak-ink-2);
    font-size: .9375rem;
    line-height: 1.5;
    cursor: pointer;
}
.aka-consent__label a { color: var(--ak-plum-700); font-weight: 700; text-underline-offset: 3px; }
.aka-consent:has(.aka-checkbox:checked) { background: var(--ak-plum-25); border-color: var(--ak-plum-100); }
.aka-consent:has(.aka-checkbox:user-invalid) { background: var(--ak-danger-bg); border-color: rgba(192, 38, 59, .35); }

/* Eğitmen başvurusu bölümleri */
.aka-section { display: grid; gap: 20px; min-width: 0; }
.aka-section + .aka-section { padding-top: 26px; border-top: 1px dashed var(--ak-line-strong); }
.aka-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--ak-ink);
    font-size: 1.1875rem;
    font-weight: 700;
    letter-spacing: -.015em;
}
.aka-section-title__num {
    width: 34px;
    height: 40px;
    flex: none;
    display: grid;
    place-items: center;
    padding-top: 4px;
    border-radius: 17px 17px 8px 8px / 20px 20px 8px 8px;
    background: var(--ak-plum-900);
    color: var(--ak-sun);
    font-family: var(--ak-font-naskh);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
}
.aka-notes { display: grid; gap: 10px; }
.aka-note {
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--ak-info-bg);
    color: var(--ak-ink-2);
    font-size: .875rem;
    line-height: 1.55;
}
.aka-note i { margin-top: 3px; color: var(--ak-info); flex: none; }

/* Gönder butonu */
.aka-page .aka-submit { min-height: 56px; margin-top: 4px; font-size: 1.0625rem; }
.aka-page .aka-submit .spinner-border { width: 1.1rem; height: 1.1rem; border-width: .16em; }
.aka-page .ak-btn:disabled,
.aka-page .ak-btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

.aka-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    color: var(--ak-muted);
    font-size: .9375rem;
    font-weight: 600;
    text-decoration: none;
}
.aka-back:hover { color: var(--ak-plum-700); }

/* Hesap var/yok geçişi */
.aka-switch {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 8px;
    margin: 26px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--ak-line);
    color: var(--ak-muted);
    font-size: .9375rem;
    text-align: center;
}

/* Öğrenci ↔ eğitmen kaydı geçiş kartı */
.aka-cross {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 60px;
    margin-top: 12px;
    padding: 10px 16px 10px 10px;
    border: 1px solid var(--ak-line);
    border-radius: 18px;
    background: var(--ak-bg);
    color: var(--ak-ink);
    font-weight: 600;
    text-decoration: none;
}
html[dir="rtl"] .aka-cross { padding: 10px 10px 10px 16px; }
.aka-cross:hover { color: var(--ak-plum-700); border-color: var(--ak-plum-200); background: var(--ak-plum-25); }
.aka-cross__icon {
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--ak-plum-900);
    color: var(--ak-sun);
    font-size: .9375rem;
}
.aka-cross__text { flex: 1; min-width: 0; }
.aka-cross__arrow { color: var(--ak-plum-400); font-size: .875rem; }

/* reCAPTCHA bilgilendirmesi (partial'ın satır içi stilini ezer) */
.aka-card .recaptcha-notice { margin: 18px 0 0; color: var(--ak-subtle); font-size: .75rem; line-height: 1.55; }
.aka-card .recaptcha-notice a { color: var(--ak-plum-600); }

/* "Şifremi unuttum" penceresi (login.js SweetAlert, swal-popup-custom sınıfı).
   style.css'teki eski kurallar !important kullandığı için burada da gerekiyor. */
.swal2-popup.swal-popup-custom {
    width: min(460px, calc(100% - 24px));
    padding: 28px 22px 24px;
    border-radius: 24px !important;
    background: #fff !important;
    box-shadow: var(--ak-shadow-lg) !important;
    font-family: var(--ak-font) !important;
}
.swal-popup-custom .swal-title-custom {
    margin-bottom: 1rem !important;
    color: var(--ak-ink) !important;
    font-size: 1.5rem !important;
    letter-spacing: -.02em;
}
.swal-popup-custom .form-label { color: var(--ak-ink); font-size: .9375rem; font-weight: 600; }
.swal-popup-custom #swal-email {
    min-height: 52px;
    padding: 12px 16px;
    border: 1.5px solid var(--ak-line-strong);
    border-radius: 14px;
    font-size: 16px;
}
.swal-popup-custom #swal-email:focus { border-color: var(--ak-plum-500); box-shadow: var(--ak-ring); }
.swal-popup-custom .swal2-actions { gap: 8px; }
.swal-popup-custom .swal2-styled {
    min-height: 48px;
    margin: 0 !important;
    padding: 10px 24px !important;
    border-radius: var(--ak-radius-pill) !important;
    font-size: .9375rem !important;
    font-weight: 600 !important;
}
.swal-popup-custom .swal2-cancel { background: var(--ak-surface-2) !important; border-color: var(--ak-surface-2) !important; color: var(--ak-ink-2) !important; }

/* --------------------------------------------------------------------------
   Tablet: daha geniş kart, daha ferah şerit
   -------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 991.98px) {
    .aka-brand { padding-bottom: 88px; }
    .aka-main { margin-top: -56px; }
    .aka-card { max-width: 600px; }
    .aka-card--wide { max-width: 680px; }
}

/* --------------------------------------------------------------------------
   Masaüstü: bölünmüş ekran
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
    .aka-split {
        grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
        min-height: calc(100svh - var(--top-banner-height, 0px));
    }
    .aka-page--wide .aka-split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }

    .aka-brand {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: calc(var(--navbar-height) + clamp(28px, 5vh, 64px)) clamp(32px, 4vw, 72px) 56px;
    }
    .aka-brand__bg::after {
        inset-inline: auto 0;
        top: 0;
        width: 1px;
        height: auto;
        background: linear-gradient(180deg, transparent, rgba(238, 215, 21, .45), transparent);
    }
    .aka-brand__inner {
        position: sticky;
        top: calc(var(--top-banner-height, 0px) + var(--navbar-height) + 24px);
        width: 100%;
        max-width: 440px;
        margin-inline: auto;
        display: grid;
        justify-items: center;
        gap: 28px;
    }
    .aka-greet { display: none; }
    .aka-brand__badge { display: inline-flex; }
    .aka-arch-wrap { display: block; }
    .aka-points { display: grid; }

    .aka-main {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0;
        padding: calc(var(--navbar-height) + 48px) clamp(24px, 4.5vw, 80px) 72px;
        background:
            radial-gradient(700px 420px at 100% 100%, rgba(238, 215, 21, .07), transparent 62%),
            var(--ak-bg);
    }
    .aka-page--register .aka-main { align-items: flex-start; }
    .aka-card { max-width: 500px; }
    .aka-card--wide { max-width: 720px; }
}

/* Kısa ekranlı dizüstü bilgisayarlar: kemer küçülür, maddeler gizlenir */
@media (min-width: 992px) and (max-height: 860px) {
    .aka-arch-wrap { width: min(100%, 290px); }
    .aka-brand__inner { gap: 22px; }
}
@media (min-width: 992px) and (max-height: 720px) {
    .aka-points { display: none; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .aka-arch-wrap { width: min(100%, 280px); }
    .aka-seal { width: 88px; height: 88px; inset-inline-end: -20px; }
    .aka-seal__num { font-size: 1.125rem; }
    .aka-points { gap: 8px; }
    .aka-points li { min-height: 50px; gap: 10px; padding: 8px 10px; font-size: .8125rem; }
    .aka-points i { width: 30px; height: 30px; }
}

/* --------------------------------------------------------------------------
   Hareket (no-animations.css'i yalnız hareket tercihi olanlarda aşar)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    .aka-page .aka-input,
    .aka-pass__toggle,
    .aka-consent,
    .aka-cross,
    .aka-link,
    .aka-back {
        transition: border-color .18s var(--ak-ease), background-color .18s var(--ak-ease),
            box-shadow .22s var(--ak-ease), color .18s var(--ak-ease) !important;
    }
    .aka-page .password-strength-indicator::before { transition: background .3s var(--ak-ease) !important; }
    .aka-chat__row { animation: aka-pop .6s var(--ak-ease) both !important; animation-delay: 500ms !important; }
    .aka-chat__row--me { animation-delay: 1300ms !important; }
    .aka-seal { animation: aka-spin 40s linear infinite !important; }
    .aka-seal > * { animation: aka-spin 40s linear infinite reverse !important; }
    .aka-greet__ar,
    .aka-arch__calli { animation: aka-glow 1.2s var(--ak-ease) both !important; }
}
@keyframes aka-pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes aka-spin { to { transform: rotate(360deg); } }
@keyframes aka-glow { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
