/* Mekteb — tasarım sistemi (panel + auth) */
@import url("https://fonts.bunny.net/css?family=instrument-sans:400,500,600,700&display=swap");

:root {
    --font: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 12px 40px rgba(15, 23, 42, 0.09);
    --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.12);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.3, 0.64, 1);
    --sidebar-w: 300px;
    /* Panel: modern gece laciverdi + gök mavisi aksan (sakin, düşük yorgunluk) */
    --panel-sidebar-bg: linear-gradient(
        168deg,
        #0c101b 0%,
        #101b2f 44%,
        #152f45 74%,
        #14406a 100%
    );
    --panel-sidebar-edge: rgba(125, 211, 252, 0.12);
    --panel-sidebar-text: #cbd5e1;
    --panel-sidebar-text-strong: #f8fafc;
    --panel-sidebar-muted: rgba(148, 180, 210, 0.62);
    --panel-sidebar-hover: rgba(255, 255, 255, 0.065);
    --panel-sidebar-active: rgba(56, 189, 248, 0.16);
    --panel-sidebar-accent: #38bdf8;
    --header-z: 90;
    --sidebar-z: 200;
}

/* ——— Auth (Miftah) ——— */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.auth-page {
    --bg-deep: #080e18;
    --bg-mid: #132238;
    --surface: rgba(15, 30, 48, 0.78);
    --border: rgba(56, 189, 248, 0.18);
    --text: #f1f5f9;
    --muted: #94a3b8;
    --accent: #38bdf8;
    --accent-2: #0ea5e9;
    --accent-glow: rgba(56, 189, 248, 0.22);
    --danger-bg: rgba(248, 113, 113, 0.12);
    --danger-border: rgba(248, 113, 113, 0.35);
    --danger-text: #fecaca;
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(1.25rem, env(safe-area-inset-top, 0px)) max(1.25rem, env(safe-area-inset-right, 0px)) max(1.5rem, env(safe-area-inset-bottom, 0px)) max(1.25rem, env(safe-area-inset-left, 0px));
    background:
        radial-gradient(ellipse 920px 520px at 12% -8%, rgba(56, 189, 248, 0.12), transparent 56%),
        radial-gradient(ellipse 720px 420px at 92% 18%, rgba(129, 140, 248, 0.06), transparent 52%),
        linear-gradient(165deg, var(--bg-mid) 0%, var(--bg-deep) 100%);
}

.auth-page--parent {
    --bg-deep: #0c1a14;
    --bg-mid: #134e3a;
    --surface: rgba(6, 62, 52, 0.64);
    --border: rgba(52, 211, 153, 0.22);
    --accent: #6ee7b7;
    --accent-2: #34d399;
    --accent-glow: rgba(110, 231, 183, 0.18);
    --danger-bg: rgba(110, 231, 183, 0.1);
    --danger-border: rgba(110, 231, 183, 0.35);
    --danger-text: #d1fae5;
    background:
        radial-gradient(ellipse 880px 520px at 12% -8%, rgba(52, 211, 153, 0.14), transparent 58%),
        radial-gradient(ellipse 640px 420px at 100% 18%, rgba(110, 231, 183, 0.07), transparent 52%),
        linear-gradient(165deg, #064e3b 0%, var(--bg-deep) 100%);
}

.auth-shell {
    width: 100%;
    max-width: 920px;
}

.auth-shell--narrow {
    max-width: 420px;
}

.auth-shell--split {
    max-width: 1040px;
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 4vw, 2rem);
}

@media (min-width: 900px) {
    .auth-shell--split {
        display: grid;
        grid-template-columns: minmax(260px, 1fr) minmax(340px, 1fr);
        gap: clamp(2rem, 6vw, 4rem);
        align-items: center;
    }

    .auth-shell--split.veli-login-shell {
        align-items: start;
    }
}

.auth-hero {
    text-align: center;
    position: relative;
}

@media (min-width: 900px) {
    .auth-hero {
        text-align: left;
        padding-right: 0.5rem;
    }
}

.auth-hero__visual {
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: center;
}

@media (min-width: 900px) {
    .auth-hero__visual {
        justify-content: flex-start;
    }
}

.auth-hero__logo {
    display: block;
    max-height: 8.75rem;
    max-width: min(100%, 20rem);
    width: auto;
    height: auto;
    object-fit: contain;
}

.auth-hero__logo-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #042f2e;
    font-weight: 700;
    font-size: 1.65rem;
    letter-spacing: -0.04em;
    box-shadow: 0 16px 48px var(--accent-glow);
}

.auth-hero__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.65rem, 4.5vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.auth-hero__subtitle {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.55;
    max-width: 28rem;
}

@media (min-width: 900px) {
    .auth-hero__subtitle {
        margin-inline: 0;
    }
}

@media (max-width: 899px) {
    .auth-hero__subtitle {
        margin-inline: auto;
    }
}

.auth-form-column {
    width: 100%;
    min-width: 0;
}

.auth-card--login {
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.07) inset, 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.auth-shell--split .auth-roles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .auth-shell--split .auth-roles {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.auth-brand {
    text-align: center;
    margin-bottom: 1.75rem;
}

.auth-brand__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #042f2e;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.85rem;
    box-shadow: 0 12px 40px var(--accent-glow);
}

.auth-brand__logo-img {
    display: block;
    width: 58px;
    height: 58px;
    margin: 0 auto 0.85rem;
    border-radius: 14px;
    object-fit: contain;
    background: transparent;
    box-shadow: none;
}

.auth-brand h1 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.45rem, 4.5vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.auth-brand p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 28rem;
    margin-inline: auto;
}

.auth-verify-code-intro {
    margin: 0 0 0.65rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--muted);
    text-align: center;
}

.auth-verify-code-email {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    text-align: center;
    color: var(--text);
    word-break: break-all;
}

.auth-verify-code-form {
    margin-bottom: 0.5rem;
}

.auth-verify-code-input {
    font-size: 1.65rem !important;
    font-weight: 800;
    letter-spacing: 0.35em;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.auth-verify-resend-form {
    margin-top: 0.25rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--border);
}

.auth-verify-resend-form .auth-btn {
    width: 100%;
}

.auth-verify-email-fix__help {
    margin: 0 0 1rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--muted);
    text-align: center;
}

.auth-verify-email-fix__form {
    margin-bottom: 0.15rem;
}

.auth-verify-email-fix__submit {
    width: 100%;
    margin-top: 0.35rem;
}

.auth-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(1.25rem, 4vw, 1.65rem) clamp(1.1rem, 4vw, 1.45rem) clamp(1.35rem, 4vw, 1.75rem);
    background: var(--surface);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

/* E-posta doğrulama: spam uyarısı (yüksek görünürlük) */
.auth-verify-spam-callout {
    margin: 0 0 1.15rem;
    padding: 0.95rem 1rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(251, 191, 36, 0.55);
    background: linear-gradient(145deg, rgba(251, 191, 36, 0.22) 0%, rgba(217, 119, 6, 0.12) 100%);
    box-shadow: 0 0 0 1px rgba(255, 237, 213, 0.12) inset, 0 10px 28px rgba(0, 0, 0, 0.2);
}

.auth-verify-spam-callout__badge {
    display: inline-block;
    margin-bottom: 0.35rem;
    padding: 0.2rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #422006;
    background: rgba(253, 230, 138, 0.95);
    border-radius: 999px;
}

.auth-verify-spam-callout__title {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #fffbeb;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.25);
}

.auth-verify-spam-callout__body {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.55;
    color: #fde68a;
}

.auth-roles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
    .auth-roles {
        grid-template-columns: repeat(4, 1fr);
    }
}

.auth-role {
    position: relative;
}

.auth-role input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-role label {
    display: block;
    cursor: pointer;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.85rem 0.65rem;
    text-align: center;
    background: rgba(15, 23, 42, 0.35);
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
}

.auth-role label strong {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.auth-role label span {
    font-size: 0.72rem;
    color: var(--muted);
    line-height: 1.35;
}

.auth-role input:focus-visible + label {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.auth-role input:checked + label {
    border-color: var(--accent);
    background: var(--accent-glow);
    box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.25);
    transform: translateY(-2px);
}

.auth-field {
    margin-bottom: 1rem;
}

.auth-field--hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.auth-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 0.35rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.auth-field input[type="email"],
.auth-field input[type="password"],
.auth-field input[type="text"],
.auth-field input[type="number"],
.auth-field select {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.55);
    color: var(--text);
    font-size: 0.95rem;
    font-family: var(--font);
    transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.auth-page--parent .auth-field input,
.auth-page--parent .auth-field select {
    background: rgba(6, 78, 59, 0.45);
}

.auth-field input:focus,
.auth-field select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.auth-link {
    font-size: 0.85rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    text-decoration: underline;
}

button.auth-link {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
}

.auth-btn {
    width: 100%;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: #042f2e;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: var(--font);
    box-shadow: 0 8px 28px var(--accent-glow);
    transition: filter 0.15s var(--ease), transform 0.12s var(--ease);
}

.auth-btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.auth-btn:active {
    transform: translateY(0);
}

.auth-btn--ghost {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border);
    color: var(--text);
    box-shadow: none;
}

.auth-btn--ghost:hover {
    filter: none;
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(148, 163, 184, 0.35);
}

.auth-btn--ghost:active {
    transform: translateY(0);
}

/* ——— Kurumsal giriş ekranı (auth-page--institutional) ——— */
.auth-page--institutional {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
    min-height: 100vh;
}

.auth-split {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Sol panel: marka */
.auth-brand-panel {
    position: relative;
    flex: 0 0 42%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(160deg, #0d1628 0%, #0f172a 45%, #111d2e 100%);
}

.auth-brand-panel__deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.auth-brand-panel__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
}

.auth-brand-panel__orb--1 {
    width: 420px;
    height: 420px;
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.2) 0%, transparent 70%);
}

.auth-brand-panel__orb--2 {
    width: 300px;
    height: 300px;
    bottom: -60px;
    right: -60px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.16) 0%, transparent 70%);
}

.auth-brand-panel__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 40px 40px;
}

.auth-brand-panel__inner {
    position: relative;
    z-index: 1;
    padding: clamp(2.5rem, 6vw, 4rem) clamp(2rem, 5vw, 3.5rem);
    display: flex;
    flex-direction: column;
}

.auth-brand-panel__logo-wrap {
    margin-bottom: 2rem;
}

.auth-brand-panel__logo {
    display: block;
    max-height: 10rem;
    max-width: min(100%, 290px);
    width: auto;
    height: auto;
    object-fit: contain;
}

.auth-brand-panel__logo-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #042f2e;
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    box-shadow: 0 16px 48px var(--accent-glow);
}

.auth-brand-panel__title {
    margin: 0 0 0.7rem;
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.12;
    color: #f1f5f9;
}

.auth-brand-panel__sub {
    margin: 0 0 2.5rem;
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.65;
    max-width: 26rem;
}

.auth-brand-panel__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.auth-brand-panel__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    padding: 0.28rem 0.65rem;
    border: 1px solid rgba(45, 212, 191, 0.22);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(45, 212, 191, 0.8);
    letter-spacing: 0.04em;
    background: rgba(45, 212, 191, 0.07);
}

/* Sağ panel: form */
.auth-form-panel {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 3.5rem);
    position: relative;
    background: rgba(10, 16, 28, 0.55);
}

.auth-form-panel__top {
    position: absolute;
    top: 1.35rem;
    right: 1.5rem;
}

.auth-form-panel__form {
    width: 100%;
    max-width: 460px;
}

.auth-form-panel__head {
    margin-bottom: 1.75rem;
}

.auth-form-panel__kicker {
    margin: 0 0 0.3rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
}

.auth-form-panel__title {
    margin: 0;
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.12;
    color: #f1f5f9;
}

/* Rol seçici başlığı */
.auth-roles-wrap {
    margin-bottom: 1.5rem;
}

.auth-roles-label {
    margin: 0 0 0.6rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
}

/* 5 sütunlu ızgara */
.auth-roles--5 {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 0.45rem !important;
    margin-bottom: 0 !important;
}

.auth-roles--5 .auth-role label {
    padding: 0.7rem 0.4rem 0.65rem;
}

/* İkon kutusu */
.auth-role__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(148, 163, 184, 0.1);
    color: #94a3b8;
    margin: 0 auto 0.5rem;
    transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.auth-roles--5 .auth-role input:checked + label .auth-role__icon {
    background: rgba(45, 212, 191, 0.18);
    color: var(--accent);
}

.auth-roles--5 .auth-role label strong {
    font-size: 0.75rem;
}

.auth-roles--5 .auth-role label span {
    font-size: 0.64rem;
    line-height: 1.3;
}

/* Giriş sekmeleri: Kurum / Veli */
.auth-login-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.65rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 12px;
    padding: 0.25rem;
}

.auth-login-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.6rem 0.75rem;
    border-radius: 9px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    transition: background 0.18s var(--ease), color 0.18s var(--ease);
    white-space: nowrap;
}

.auth-login-tab:hover {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
}

.auth-login-tab--active {
    background: rgba(45, 212, 191, 0.15);
    color: var(--accent);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.auth-login-tab--active:hover {
    background: rgba(45, 212, 191, 0.18);
    color: var(--accent);
}

.auth-login-tabs--parent {
    margin-bottom: 1.25rem;
}

.auth-crosslink {
    margin: 0 0 1.15rem;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #64748b;
    text-align: center;
}

.auth-crosslink .auth-link {
    font-weight: 600;
    margin-left: 0.2rem;
}

.auth-crosslink--after-form {
    margin: 1.2rem 0 0;
}

/* Veli girişi: yeşil tema değişkenleri */
.auth-page--parent-split {
    --accent: #34d399;
    --accent-2: #10b981;
    --accent-glow: rgba(52, 211, 153, 0.2);
}

/* Açık kurumsal split-auth (/miftah/giris, /veli/giris, /veli/kayit) */
.auth-page--veli-portal {
    --accent: #475569;
    --accent-2: #334155;
    --accent-glow: rgba(71, 85, 105, 0.18);
    --danger-bg: rgba(220, 38, 38, 0.08);
    --danger-border: rgba(220, 38, 38, 0.22);
    --danger-text: #b91c1c;
    background: linear-gradient(165deg, #eef2f7 0%, #e2e8f0 55%, #dbe4f0 100%);
}

.auth-page--veli-portal .auth-brand-panel {
    background: linear-gradient(165deg, #5c6578 0%, #4d5566 45%, #454d5c 100%);
}

.auth-page--veli-portal .auth-brand-panel .auth-brand-panel__orb--1 {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, transparent 70%);
}

.auth-page--veli-portal .auth-brand-panel .auth-brand-panel__orb--2 {
    background: radial-gradient(circle, rgba(15, 23, 42, 0.12) 0%, transparent 72%);
}

.auth-page--veli-portal .auth-brand-panel__grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
}

.auth-page--veli-portal .auth-brand-panel__kicker {
    color: #e2e8f0;
    opacity: 1;
}

.auth-page--veli-portal .auth-brand-panel__sub {
    color: rgba(241, 245, 249, 0.85);
}

.auth-page--veli-portal .auth-brand-panel__step-text {
    color: #e2e8f0;
}

.auth-page--veli-portal .auth-brand-panel .auth-brand-panel__badge {
    border-color: rgba(255, 255, 255, 0.32);
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.1);
}

.auth-page--veli-portal .auth-brand-panel__step-num {
    border-color: rgba(255, 255, 255, 0.42);
    color: #f8fafc;
}

.auth-page--veli-portal .auth-form-panel {
    --text: #0f172a;
    --muted: #64748b;
    --border: #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
}

@media (min-width: 769px) {
    .auth-page--veli-portal .auth-form-panel {
        border-left: 1px solid #e2e8f0;
        box-shadow: -12px 0 40px rgba(15, 23, 42, 0.04);
    }
}

/* Veli giriş/kayıt: ana sayfa ile aynı site-header; gövde sütun düzeni */
.auth-page--with-public-header.site-landing {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: linear-gradient(165deg, #eef2f7 0%, #e2e8f0 55%, #dbe4f0 100%);
}

.auth-page--with-public-header .auth-page-with-site-header__main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
}

.auth-page--with-public-header .auth-split {
    flex: 1 1 auto;
    min-height: calc(100dvh - 4rem);
}

/* Üstte site header varken sol marka sütunu (ikinci logo şeridi) — kaldır */
.auth-page--with-public-header .auth-brand-panel {
    display: none;
}

.auth-page--with-public-header .auth-form-panel {
    flex: 1 1 100%;
    max-width: 100%;
}

@media (min-width: 769px) {
    .auth-page--with-public-header.auth-page--veli-portal .auth-form-panel {
        border-left: none;
        box-shadow: none;
    }
}

.auth-page--veli-portal .auth-form-panel__title {
    color: #0f172a;
}

.auth-page--veli-portal .auth-form-panel__kicker {
    color: #64748b;
}

.auth-page--veli-portal .auth-link {
    color: #334155;
    font-weight: 600;
}

.auth-page--veli-portal .auth-link:hover {
    color: #0f172a;
}

.auth-page--veli-portal .auth-btn {
    background: #475569;
    color: #f8fafc;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.12);
}

.auth-page--veli-portal .auth-btn:hover {
    filter: none;
    background: #526179;
    border-color: rgba(15, 23, 42, 0.18);
}

.auth-page--veli-portal .auth-field input,
.auth-page--veli-portal .auth-field textarea,
.auth-page--veli-portal .auth-field select {
    background: #fff;
    border-color: #cbd5e1;
    color: #0f172a;
}

.auth-page--veli-portal .auth-field textarea {
    border-color: #cbd5e1;
}

.auth-page--veli-portal .auth-register-hint {
    border-top-color: #e2e8f0;
}

.auth-page--veli-portal .auth-alert--success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #166534;
}

.auth-page--veli-portal .auth-brand-panel__logo-fallback {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    color: #f8fafc;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

.auth-page--veli-portal .lang-switch--menu .lang-switch__summary {
    color: #475569;
    border-color: rgba(148, 163, 184, 0.45);
    background: rgba(255, 255, 255, 0.9);
}

.auth-page--veli-portal .lang-switch--menu .lang-switch__panel {
    border-color: #e2e8f0;
}

.auth-page--veli-portal .lang-switch--menu .lang-switch__option {
    color: #334155;
}

.auth-page--veli-portal .lang-switch--menu .lang-switch__option:hover {
    background: rgba(15, 23, 42, 0.06);
}

.auth-page--veli-portal .lang-switch--menu .lang-switch__option.is-active {
    color: #0f766e;
    background: rgba(15, 118, 110, 0.1);
}

.auth-page--veli-portal .auth-brand-panel .auth-brand-panel__register-box {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.auth-page--veli-portal .auth-brand-panel__register-text {
    color: rgba(226, 232, 240, 0.88);
}

.auth-page--veli-portal .auth-brand-panel__register-cta {
    color: #f8fafc;
}

.auth-page--veli-portal .auth-brand-panel__register-cta:hover {
    color: #fff;
}

.auth-page--veli-portal .auth-login-tabs {
    background: rgba(15, 23, 42, 0.04);
    border-color: #e2e8f0;
}

.auth-page--veli-portal .auth-login-tab {
    color: #64748b;
}

.auth-page--veli-portal .auth-login-tab:hover {
    background: rgba(15, 23, 42, 0.06);
    color: #334155;
}

.auth-page--veli-portal .auth-login-tab--active {
    background: rgba(71, 85, 105, 0.12);
    color: #1e293b;
    box-shadow: none;
}

.auth-page--veli-portal .auth-login-tab--active:hover {
    background: rgba(71, 85, 105, 0.16);
    color: #1e293b;
}

/* Veli girişi: sol panel yeşil tonları */
.auth-brand-panel--parent {
    background: linear-gradient(160deg, #0b1f14 0%, #0d2218 45%, #0c1f14 100%);
}

.auth-brand-panel--parent .auth-brand-panel__orb--1 {
    background: radial-gradient(circle, rgba(52, 211, 153, 0.2) 0%, transparent 70%);
}

.auth-brand-panel--parent .auth-brand-panel__orb--2 {
    background: radial-gradient(circle, rgba(6, 78, 59, 0.4) 0%, transparent 70%);
}

.auth-brand-panel__kicker {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    opacity: 0.85;
}

/* Yeni kayıt kutusu (sol panel içinde) */
.auth-brand-panel__register-box {
    margin: 0 0 2rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: var(--radius-md);
    background: rgba(45, 212, 191, 0.06);
}

.auth-brand-panel--parent .auth-brand-panel__register-box {
    border-color: rgba(52, 211, 153, 0.22);
    background: rgba(52, 211, 153, 0.07);
}

.auth-brand-panel__register-title {
    margin: 0 0 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #f1f5f9;
}

.auth-brand-panel__register-text {
    margin: 0 0 0.85rem;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.55;
}

.auth-brand-panel__register-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: gap 0.15s var(--ease);
}

.auth-brand-panel__register-cta:hover {
    gap: 0.6rem;
    text-decoration: none;
    color: #5eead4;
}

.auth-brand-panel--parent .auth-brand-panel__badge {
    border-color: rgba(52, 211, 153, 0.22);
    color: rgba(52, 211, 153, 0.8);
    background: rgba(52, 211, 153, 0.07);
}

/* Formun altındaki mobil kayıt ipucu */
.auth-register-hint {
    display: none;
    margin-top: 1.35rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
}

/* Kayıt sayfası: geniş form + 2-sütun alan ızgarası */
.auth-form-panel--register {
    justify-content: flex-start;
    padding-top: max(3.5rem, 5vh);
    padding-bottom: max(2.5rem, 4vh);
    overflow-y: auto;
}

.auth-form-panel__form--wide {
    max-width: 560px;
}

.auth-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 0.85rem;
}

.auth-alert--success {
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.3);
    color: #6ee7b7;
}

/* Kayıt adımları (sol panel) */
.auth-brand-panel__steps {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 2rem;
}

.auth-brand-panel__step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.auth-brand-panel__step-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid rgba(52, 211, 153, 0.45);
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(52, 211, 153, 0.85);
    line-height: 1;
}

.auth-brand-panel__step-text {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.4;
}

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

/* Responsive */
@media (max-width: 960px) {
    .auth-brand-panel {
        flex: 0 0 38%;
    }
}

@media (max-width: 768px) {
    .auth-split {
        flex-direction: column;
        min-height: 100svh;
    }

    .auth-brand-panel {
        flex: 0 0 auto;
        max-width: 100%;
    }

    .auth-brand-panel__inner {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        padding: 1.15rem max(1rem, env(safe-area-inset-left, 0px)) 1rem max(1rem, env(safe-area-inset-left, 0px));
    }

    .auth-brand-panel__logo-wrap {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .auth-brand-panel__logo {
        max-height: 3.5rem;
        max-width: 138px;
    }

    .auth-brand-panel__logo-fallback {
        width: 48px;
        height: 48px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .auth-brand-panel__title {
        font-size: 0.95rem;
        margin-bottom: 0;
        letter-spacing: -0.02em;
    }

    .auth-brand-panel__sub,
    .auth-brand-panel__badges,
    .auth-brand-panel__orb,
    .auth-brand-panel__grid,
    .auth-brand-panel__kicker,
    .auth-brand-panel__register-box {
        display: none;
    }

    .auth-register-hint {
        display: block;
    }

    .auth-form-panel {
        flex: 1 1 auto;
        justify-content: flex-start;
        padding-top: 2.25rem;
        padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
    }

    .auth-form-panel__top {
        position: absolute;
        top: auto;
        bottom: calc(100% + 0.5rem);
        right: 1rem;
    }

    .auth-roles--5 {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .auth-roles--5 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.4rem !important;
    }

    .auth-roles--5 .auth-role:nth-child(4),
    .auth-roles--5 .auth-role:nth-child(5) {
        grid-column: span 1;
    }
}

/* ——— Welcome (landing) ——— */
.welcome-page .welcome-shell {
    max-width: 1080px;
}

.welcome-page--light {
    --accent: #475569;
    --accent-2: #334155;
    --accent-glow: rgba(71, 85, 105, 0.14);
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --surface: rgba(255, 255, 255, 0.94);
    --bg-deep: #f1f5f9;
    --bg-mid: #e8edf3;
    background:
        radial-gradient(ellipse 720px 420px at 12% -8%, rgba(148, 163, 184, 0.14), transparent 55%),
        radial-gradient(ellipse 560px 360px at 100% 12%, rgba(203, 213, 225, 0.35), transparent 50%),
        linear-gradient(168deg, #eef2f7 0%, #e2e8f0 42%, #f8fafc 100%);
    color: var(--text);
}

.welcome-page--light .auth-hero__logo-fallback {
    background: linear-gradient(135deg, #64748b, #475569);
    color: #f8fafc;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.14);
}

.welcome-hero__headline {
    margin: 0 0 0.5rem;
    font-size: clamp(1.85rem, 5vw, 2.65rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: #0f172a;
}

.welcome-hero__brand {
    margin: 0 0 1rem;
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    font-weight: 600;
    color: #334155;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

.welcome-hero__lead {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.65;
    color: #475569;
    max-width: 32rem;
}

@media (max-width: 899px) {
    .welcome-hero__lead {
        margin-inline: auto;
        text-align: center;
    }

    .welcome-hero__headline,
    .welcome-hero__brand {
        text-align: center;
    }
}

.welcome-page--light .welcome-points li {
    color: #475569;
}

.welcome-page--light .welcome-points li::before {
    background: linear-gradient(135deg, #64748b, #475569);
    box-shadow: 0 0 0 2px rgba(71, 85, 105, 0.12);
}

.welcome-card--light {
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 18px 48px rgba(15, 23, 42, 0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.welcome-card__intro {
    margin: 0 0 1.15rem;
    font-size: 0.98rem;
    line-height: 1.55;
    color: #475569;
    text-align: center;
}

.welcome-page--light .welcome-card__eyebrow {
    color: #64748b;
}

.welcome-page--light .welcome-actions__primary {
    min-height: 2.85rem;
    font-size: 0.98rem;
    background: #475569;
    color: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
}

.welcome-page--light .welcome-actions__primary:hover {
    filter: brightness(1.05);
}

.welcome-page--light .welcome-actions__secondary {
    min-height: 2.65rem;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    box-shadow: none;
}

.welcome-page--light .welcome-actions__secondary:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
}

.welcome-page--light .welcome-divider {
    color: #94a3b8;
}

.welcome-page--light .welcome-divider::before,
.welcome-page--light .welcome-divider::after {
    background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
}

.welcome-page--light .lang-switch--floating .lang-switch__summary {
    color: #334155;
    border-color: #e2e8f0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.welcome-page--light .lang-switch--floating .lang-switch__icon {
    color: #0f766e;
}

.welcome-page--light .lang-switch--floating .lang-switch__caret {
    color: #94a3b8;
}

.welcome-page--light .lang-switch--floating .lang-switch__panel {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: #e2e8f0;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.welcome-page--light .lang-switch--floating .lang-switch__option {
    color: #475569;
}

.welcome-page--light .lang-switch--floating .lang-switch__option:hover {
    background: rgba(15, 23, 42, 0.05);
}

.welcome-page--light .lang-switch--floating .lang-switch__option.is-active {
    color: #0f766e;
    background: rgba(15, 118, 110, 0.1);
}

.welcome-hero__kicker {
    margin: 0 0 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

@media (min-width: 900px) {
    .welcome-hero__kicker {
        text-align: left;
    }
}

@media (max-width: 899px) {
    .welcome-hero__kicker {
        text-align: center;
    }
}

.welcome-points {
    margin: 1.35rem 0 0;
    padding: 0;
    list-style: none;
    text-align: left;
    max-width: 28rem;
}

.welcome-points li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.55rem;
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.45;
}

.welcome-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 0 2px var(--accent-glow);
}

@media (max-width: 899px) {
    .welcome-points {
        margin-inline: auto;
    }
}

.welcome-card__eyebrow {
    margin: 0 0 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
}

.welcome-actions {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.welcome-actions__primary,
.welcome-actions__secondary {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.welcome-actions__hint {
    margin: 0 0 0.65rem;
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.4;
    text-align: center;
}

.welcome-actions__register {
    margin: 0 0 0.85rem;
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.45;
    text-align: center;
}

.welcome-page--light .welcome-actions__register .auth-link {
    font-weight: 600;
}

.welcome-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.35rem 0 0.85rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.welcome-divider::before,
.welcome-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.welcome-divider span {
    flex-shrink: 0;
}

/* Veli girişi — bilgilendirme + kayıt (Miftah / welcome ile uyumlu cam kart) */
.veli-login-shell {
    max-width: 1080px;
}

.veli-login-hero__kicker {
    margin-top: -0.25rem;
}

.veli-login-hero__title {
    font-size: clamp(1.35rem, 3.8vw, 1.9rem);
    line-height: 1.22;
}

.veli-login-hero .auth-hero__subtitle {
    max-width: 32rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 899px) {
    .veli-login-hero .auth-hero__subtitle {
        margin-inline: auto;
    }
}

.veli-login-callout {
    margin-top: 0.15rem;
    padding: 1.2rem 1.25rem 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: rgba(6, 78, 59, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    max-width: 32rem;
}

@media (max-width: 899px) {
    .veli-login-callout {
        margin-inline: auto;
    }
}

.veli-login-callout__title {
    margin: 0 0 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}

.veli-login-callout__text {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.55;
}

.veli-login-callout__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.78rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.94rem;
    text-decoration: none;
    font-family: var(--font);
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: #042f2e;
    box-shadow: 0 8px 28px var(--accent-glow);
    transition: filter 0.15s var(--ease), transform 0.12s var(--ease);
    box-sizing: border-box;
}

.veli-login-callout__cta:hover {
    filter: brightness(1.07);
    transform: translateY(-1px);
}

.veli-login-callout__cta:active {
    transform: translateY(0);
}

.veli-login-form-column {
    padding-top: 0.15rem;
}

.veli-login-card__header {
    text-align: center;
    margin-bottom: 1.15rem;
}

.veli-login-card__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.veli-login-card__title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
    line-height: 1.2;
}

.veli-login-form {
    margin: 0;
}

.veli-login-form__remember {
    margin-bottom: 1.05rem;
}

.veli-login-form__submit {
    margin-top: 0.15rem;
}

.auth-alert {
    background: var(--danger-bg);
    border: 1px solid var(--danger-border);
    color: var(--danger-text);
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.auth-back {
    display: block;
    text-align: center;
    margin-top: 1.15rem;
    font-size: 0.88rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.auth-back:hover {
    text-decoration: underline;
}

.auth-back a {
    color: inherit;
    text-decoration: none;
}

.auth-back a:hover {
    text-decoration: underline;
}

/* E-posta doğrulama: çıkış (tam genişlik buton) */
.auth-verify-actions {
    margin-top: 1.15rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
}

.auth-verify-logout-form {
    margin: 0;
}

.auth-verify-logout-btn {
    width: 100%;
}

/* ——— App panel ——— */
.app {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    color: #0f172a;
    background: #f8fafc;
    position: relative;
}

.app__bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 92% 55% at 0% -6%, rgba(14, 165, 233, 0.07), transparent 58%),
        radial-gradient(ellipse 72% 48% at 100% -2%, rgba(99, 102, 241, 0.04), transparent 54%),
        linear-gradient(
            178deg,
            #fafbfc 0%,
            #f4f7fa 52%,
            #f1f5f9 100%
        );
}

.app__wrap {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-shell {
    display: flex;
    flex: 1;
    min-height: 100vh;
    align-items: stretch;
}

.app-sidebar__backdrop {
    display: none;
}

.app-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0;
    padding: 0;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.35);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s var(--ease), box-shadow 0.15s var(--ease), transform 0.1s var(--ease);
}

.app-nav-toggle:hover {
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.app-nav-toggle:active {
    transform: scale(0.97);
}

.app-nav-toggle:focus-visible {
    outline: 2px solid #0ea5e9;
    outline-offset: 2px;
}

.app-nav-toggle__bars {
    display: block;
    width: 1.2rem;
    height: 2px;
    background: #0f172a;
    border-radius: 2px;
    box-shadow: 0 -6px 0 #0f172a, 0 6px 0 #0f172a;
}

body.app--nav-open {
    overflow: hidden;
}

.app-sidebar {
    width: var(--sidebar-w);
    flex-shrink: 0;
    background: var(--panel-sidebar-bg);
    border-right: 1px solid var(--panel-sidebar-edge);
    box-shadow: 4px 0 48px rgba(8, 24, 45, 0.35);
    padding: 1.35rem 0 1.6rem;
    transition: transform 0.32s var(--ease-spring), box-shadow 0.25s var(--ease);
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.app-sidebar__inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 0.95rem;
    flex: 1;
    min-height: 0;
}

.app-sidebar__section {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(148, 196, 230, 0.1);
}

.app-sidebar__section:last-child,
.app-sidebar__details:last-child,
.app-sidebar__section--footer {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.app-sidebar__link--parent-extra {
    margin-top: 0.35rem;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(148, 196, 230, 0.14);
}

.app-sidebar__link--external {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.app-sidebar__external-icon {
    flex-shrink: 0;
    font-size: 0.72rem;
    opacity: 0.65;
}

.app-sidebar__details {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.app-sidebar__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0 0 0.06rem;
    padding: 0.38rem 0.35rem 0.38rem 0.06rem;
    border-radius: 10px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.app-sidebar__summary::-webkit-details-marker {
    display: none;
}

.app-sidebar__summary:hover {
    background: var(--panel-sidebar-hover);
    color: var(--panel-sidebar-text-strong);
}

.app-sidebar__summary:focus-visible {
    outline: 2px solid rgba(45, 212, 191, 0.45);
    outline-offset: 2px;
}

.app-sidebar__summary-inner {
    display: flex;
    align-items: center;
    gap: 0.42rem;
    min-width: 0;
    flex: 1;
}

.app-sidebar__summary::after {
    content: '';
    flex-shrink: 0;
    width: 0.42rem;
    height: 0.42rem;
    margin-right: 0.15rem;
    border: solid rgba(186, 214, 240, 0.55);
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
    transition: transform 0.2s var(--ease);
    opacity: 0.75;
}

.app-sidebar__details[open] > .app-sidebar__summary::after {
    transform: rotate(-135deg);
    margin-top: 0.18rem;
}

.app-sidebar__details:not([open]) > .app-sidebar__summary {
    margin-bottom: 0;
}

.app-sidebar__details:not([open]) .app-sidebar__substack {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.app-sidebar__substack {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
    margin: 0.2rem 0 0 0.08rem;
    padding: 0.35rem 0 0.35rem 0.68rem;
    border-left: 2px solid rgba(125, 211, 252, 0.32);
}

.app-sidebar__substack--flat {
    margin-top: 0;
    border-left-color: rgba(148, 196, 230, 0.22);
}

.app-sidebar__icon-wrap {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--panel-sidebar-muted);
    transition: color 0.15s var(--ease);
}

.app-sidebar__icon-wrap--label .app-sidebar__icon-svg {
    width: 17px;
    height: 17px;
}

.app-sidebar__icon-svg {
    display: block;
    flex-shrink: 0;
}

.app-sidebar__link--primary .app-sidebar__icon-svg {
    width: 22px;
    height: 22px;
}

.app-sidebar__link {
    padding: 0.62rem 0.72rem;
    min-height: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 11px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--panel-sidebar-text);
    text-decoration: none;
    transition: background 0.15s var(--ease), color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.app-sidebar__link:focus-visible {
    outline: 2px solid rgba(45, 212, 191, 0.45);
    outline-offset: 2px;
}

.app-sidebar__link-text {
    flex: 1;
    min-width: 0;
    line-height: 1.42;
}

.app-sidebar__link--primary {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--panel-sidebar-text-strong);
    letter-spacing: -0.015em;
    padding: 0.68rem 0.72rem;
}

.app-sidebar__link--attention:not(.is-active) {
    background: rgba(56, 189, 248, 0.1);
    border-radius: var(--radius-sm);
}

.app-sidebar__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: linear-gradient(165deg, #0369a1, #075985);
    color: #f0f9ff;
    margin-left: 0.35rem;
}

/* Süper yönetici: havuzda sınıfa atanmayı bekleyen öğrenci uyarısı */
.app-sidebar__link--pool-pending:not(.is-active) {
    background: rgba(220, 38, 38, 0.12);
    border-radius: var(--radius-sm);
}
.app-sidebar__link--pool-pending:not(.is-active) .app-sidebar__link-text {
    color: #b91c1c;
    font-weight: 700;
}
.app-sidebar__link--pool-pending.is-active .app-sidebar__badge--pool {
    background: linear-gradient(165deg, #dc2626, #991b1b);
    color: #fff;
}
.app-sidebar__badge--pool {
    background: linear-gradient(165deg, #dc2626, #991b1b);
    color: #fff;
}

.app-sidebar__link:hover {
    background: var(--panel-sidebar-hover);
    color: var(--panel-sidebar-text-strong);
}

.app-sidebar__link:hover .app-sidebar__icon-wrap {
    color: var(--panel-sidebar-text-strong);
}

.app-sidebar__link.is-active {
    background: var(--panel-sidebar-active);
    color: #ecfdf5;
    box-shadow:
        inset 3px 0 0 var(--panel-sidebar-accent),
        0 0 40px rgba(56, 189, 248, 0.1);
}

.app-sidebar__link.is-active .app-sidebar__icon-wrap {
    color: var(--panel-sidebar-accent);
}

.app-sidebar__link--sub {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.52rem 0.62rem;
    color: rgba(203, 213, 225, 0.74);
}

.app-sidebar__link--sub.is-active {
    font-weight: 600;
    color: #e0f2fe;
    background: rgba(56, 189, 248, 0.12);
}

.app-sidebar__group-label {
    display: flex;
    align-items: center;
    gap: 0.42rem;
    margin: 0 0 0.4rem 0.06rem;
    padding-top: 0.38rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--panel-sidebar-muted);
    line-height: 1.3;
}

.app-sidebar__group-label.app-sidebar__summary {
    margin: 0 0 0.06rem 0.06rem;
    padding: 0.38rem 0.35rem 0.38rem 0.06rem;
    justify-content: space-between;
}

.app-main-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    box-shadow: inset 1px 0 0 rgba(148, 163, 184, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(248, 250, 252, 0.5) 100%);
}

@media (max-width: 900px) {
    .app-nav-toggle {
        display: inline-flex;
    }

    .app-sidebar__backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: calc(var(--sidebar-z) - 1);
        background: rgba(12, 17, 32, 0.52);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
    }

    .app-sidebar__backdrop.is-visible {
        opacity: 1;
        visibility: visible;
    }

    .app-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(90vw, var(--sidebar-w));
        max-width: var(--sidebar-w);
        z-index: var(--sidebar-z);
        padding-top: max(1rem, env(safe-area-inset-top, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
        transform: translateX(-104%);
        border-right: 1px solid var(--panel-sidebar-edge);
        box-shadow: 12px 0 48px rgba(15, 23, 42, 0.35);
        max-height: 100dvh;
    }

    .app-sidebar.is-open {
        transform: translateX(0);
    }

    .app-sidebar__inner {
        padding-bottom: 1rem;
    }
}

@media (min-width: 901px) {
    .app-sidebar {
        position: sticky;
        top: 0;
        align-self: flex-start;
        min-height: 100vh;
        max-height: 100vh;
    }
}

.app-header {
    position: sticky;
    top: 0;
    z-index: var(--header-z);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
    padding: 0.85rem max(1.15rem, env(safe-area-inset-right, 0px)) 0.85rem max(1.15rem, env(safe-area-inset-left, 0px));
    padding-top: max(0.85rem, env(safe-area-inset-top, 0px));
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 8px 32px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.app-header__start {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    flex: 1;
}

.app-header__logout {
    margin: 0;
}

.app-header__logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.app-header__logout-icon {
    display: none;
    align-items: center;
    justify-content: center;
}

.app-header__logout-icon svg {
    display: block;
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
}

.app-header__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.app-header__mark {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    background: linear-gradient(148deg, #0369a1 0%, #0891b2 48%, #22d3ee 100%);
    color: #0c1628;
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 10px 32px rgba(8, 88, 120, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.app-header__logo-img {
    width: 84px;
    height: 84px;
    border-radius: 22px;
    object-fit: contain;
    background: transparent;
    box-shadow: none;
}

.app-header__text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.app-header__text strong {
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0f172a;
}

.app-header__text span {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(52vw, 14rem);
}

.app-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.75rem;
    padding: 0.5rem 1.05rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: background 0.15s var(--ease), color 0.15s var(--ease), box-shadow 0.15s var(--ease), transform 0.1s var(--ease);
}

.btn--primary {
    background: linear-gradient(135deg, #0284c7, #0ea5e9 45%, #22d3ee);
    color: #fff;
    box-shadow:
        0 8px 28px rgba(2, 132, 199, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn--primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.btn--ghost {
    background: #fff;
    color: #475569;
    border: 1px solid rgba(148, 163, 184, 0.45);
}

.btn--ghost:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.btn--danger {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid rgba(248, 113, 113, 0.55);
}

.btn--danger:hover {
    background: #fee2e2;
    border-color: #ef4444;
}

.app-main {
    flex: 1;
    max-width: min(1240px, 100%);
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem max(1.15rem, env(safe-area-inset-right, 0px)) 2.75rem max(1.15rem, env(safe-area-inset-left, 0px));
    padding-bottom: max(2.75rem, env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
}

.alert {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.alert--success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.28);
    color: #047857;
}

.alert--error {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.25);
    color: #b91c1c;
}

.alert--warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(217, 119, 6, 0.28);
    color: #b45309;
}

.surface {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: var(--radius-xl);
    padding: clamp(1.25rem, 3.2vw, 1.85rem) clamp(1.15rem, 3vw, 1.75rem);
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.04),
        0 16px 48px rgba(15, 23, 42, 0.07);
    backdrop-filter: blur(14px);
}

.surface--content {
    animation: surface-in 0.45s var(--ease) both;
}

@keyframes surface-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .surface--content {
        animation: none;
    }
}

.prose-muted {
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0 0 1rem;
}

.prose-muted strong {
    color: #0f172a;
}

.h2 {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.022em;
    margin: 1.35rem 0 0.7rem;
    color: #0f172a;
}

.h2:first-child {
    margin-top: 0;
}

.form-grid {
    display: grid;
    gap: 1rem;
    max-width: 28rem;
}

/* Sınıf oluştur / düzenle: geniş alan, mobilde ekran genişliğine iner (inline max-width yok) */
.form-grid--classroom-wide {
    max-width: 44rem;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.form-grid--profile {
    max-width: 36rem;
}

.parent-profile-form {
    max-width: min(36rem, 100%);
}

.parent-profile-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.parent-profile-section {
    min-width: 0;
}

.parent-profile-section .h2 {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
}

.parent-profile-name-row,
.parent-profile-contact-row,
.parent-profile-postal-city-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

@media (max-width: 520px) {
    .parent-profile-name-row,
    .parent-profile-contact-row,
    .parent-profile-postal-city-row {
        grid-template-columns: 1fr;
    }
}

.parent-profile-password-block {
    margin-top: 1.5rem;
    padding-top: 1.35rem;
    border-top: 1px solid #e2e8f0;
}

.parent-profile-password-block > .h2 {
    margin-top: 0;
}

.parent-profile-password-fields {
    display: grid;
    gap: 1rem;
    max-width: 28rem;
}

.parent-profile-form > .btn {
    margin-top: 1.25rem;
    justify-self: start;
}

/* Personel — öğrenci düzenle: iki sütun (geniş ekranda) */
.form-grid.form-grid--student-edit-2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: min(48rem, 100%);
    column-gap: 1.35rem;
    row-gap: 1rem;
}

.form-grid.form-grid--student-edit-2col > .form-field--full,
.form-grid.form-grid--student-edit-2col > .student-edit-2col__span-full {
    grid-column: 1 / -1;
}

.form-grid.form-grid--student-edit-2col > .student-edit-2col__intro {
    grid-column: 1 / -1;
    margin-top: -0.25rem;
    margin-bottom: 0.15rem;
}

.form-grid.form-grid--student-edit-2col > .student-edit-2col__span-full.h2 {
    margin-top: 1.35rem;
    margin-bottom: 0;
}

.form-grid.form-grid--student-edit-2col > .student-edit-2col__submit {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 0.25rem;
}

@media (max-width: 640px) {
    .form-grid.form-grid--student-edit-2col {
        grid-template-columns: 1fr;
    }
}

/* Filtre satırları: yan yana, dar ekranda satır kırılır */
.form-grid--inline {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.65rem 1rem;
    max-width: none;
}

.form-grid--inline .form-field {
    margin: 0;
}

.form-grid--inline.salary-payroll-filters .salary-payroll-filters__year {
    flex: 0 0 5.25rem;
    max-width: 6rem;
}

.form-grid--inline.salary-payroll-filters .salary-payroll-filters__month {
    flex: 0 0 9.5rem;
}

.form-grid--inline.salary-payroll-filters .salary-payroll-filters__payment {
    flex: 0 0 11rem;
}

.form-grid--inline.salary-payroll-filters .salary-payroll-filters__role {
    flex: 0 0 12.5rem;
}

.form-grid--inline.salary-payroll-filters .salary-payroll-filters__search {
    flex: 1 1 12rem;
    min-width: 10rem;
    max-width: 22rem;
}

.form-grid--inline.salary-payroll-filters .salary-payroll-filters__actions {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

/* CSV / PDF: aynı satırdaki yıl-ay-rol alanları ve tablo başlıklarına yakın, şişkin .btn yüksekliği yok */
.salary-payroll-filters__actions .salary-payroll-filters__export-btn.btn--sm {
    min-height: 0;
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
    line-height: 1.3;
    box-sizing: border-box;
}

/* Eğitim aidatları: CSV indir — yıl/ay/sınıf alanları ve tablo ile aynı ölçü */
.form-grid--inline.tuition-filters .tuition-filters__actions {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.tuition-filters__actions .tuition-filters__export-btn.btn--sm {
    min-height: 0;
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
    line-height: 1.3;
    box-sizing: border-box;
}

/* Kurum çalışma saatleri: CSV — yıl/ay alanları ve tablo ile aynı ölçü */
.form-grid--inline.org-work-hours-filters .org-work-hours-filters__actions {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    align-self: end;
}

.org-work-hours-filters__actions .org-work-hours-filters__export-btn.btn--sm {
    min-height: 0;
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
    line-height: 1.3;
    box-sizing: border-box;
}

/* Öğretmen — belge (karne): tarih filtreleri (form-field + native date ile hizalı kutu) */
.form-grid--inline.teacher-document-filters .form-field {
    flex: 1 1 10.5rem;
    min-width: 0;
    max-width: 16rem;
}

.form-grid--inline.teacher-document-filters .teacher-document-filters__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    align-self: end;
}

.form-grid--inline.teacher-document-filters input[type='date'] {
    min-width: 11.25rem;
}

.salary-payroll__th-action {
    vertical-align: bottom;
    min-width: 9.5rem;
}

.salary-payroll__th-action-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.4rem;
}

.salary-payroll__bulk-bar {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 0.5rem;
}

.salary-payroll__mark-all-form {
    margin: 0;
}

.salary-payroll__mark-all-form .btn {
    white-space: nowrap;
}

/* Maaş hakediş — sade kurumsal düzen */
.salary-payroll-page__header {
    margin: 0 0 1.35rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.salary-payroll-page__eyebrow {
    margin: 0 0 0.4rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
}

.salary-payroll-page__title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.15rem, 3.5vw, 1.35rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #0f172a;
}

.salary-payroll-page__intro {
    margin: 0;
    max-width: 46rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #64748b;
}

.salary-payroll-page__rates {
    margin: 0.75rem 0 0;
    max-width: 46rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #64748b;
}

.salary-payroll-page__filter-card {
    margin-bottom: 1rem;
    padding: 1.05rem 1.15rem 1.2rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.salary-payroll-page__filter-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.salary-payroll-page__filter-title {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.salary-payroll-page__bulk {
    flex-shrink: 0;
}

.salary-payroll-page .form-grid--inline.salary-payroll-filters {
    margin: 0;
}

.salary-payroll-page__hint {
    margin: 0 0 1rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #64748b;
}

.salary-payroll-page__table.table-wrap {
    margin-top: 0.25rem;
    border-radius: 8px;
    border-color: #e8ecf1;
    background: #fff;
}

.data-table--salary-payroll {
    font-size: 0.875rem;
}

.data-table--salary-payroll thead th {
    padding: 0.55rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.data-table--salary-payroll tbody td {
    padding: 0.6rem 0.75rem;
    vertical-align: middle;
}

.data-table--salary-payroll .data-table__th-num,
.data-table--salary-payroll .data-table__td-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.data-table--salary-payroll .data-table__td-strong {
    font-weight: 600;
    color: #0f172a;
}

.salary-payroll-page__name {
    font-weight: 600;
    color: #0f172a;
}

.salary-payroll-page__empty-cell {
    color: #94a3b8;
}

.salary-payroll-page__paid-meta {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.3;
}

.badge--subtle {
    font-size: 0.6875rem;
    padding: 0.18rem 0.45rem;
    font-weight: 600;
}

.badge--subtle.badge--ok {
    background: rgba(16, 185, 129, 0.09);
    color: #047857;
}

.badge--subtle.badge--wait {
    background: rgba(245, 158, 11, 0.11);
    color: #b45309;
}

.salary-payroll-page__summary {
    margin-top: 1.15rem;
    padding-top: 1.1rem;
    border-top: 1px solid #e2e8f0;
}

.salary-payroll-page__summary-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 0.85rem;
}

.salary-payroll-page__summary-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
}

.salary-payroll-page__summary-value {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.salary-payroll-page__summary-note {
    margin: 0.45rem 0 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #94a3b8;
}

.parent-enrollment-form.form-grid {
    max-width: 48rem;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 640px) {
    .parent-enrollment-form.form-grid {
        grid-template-columns: 1fr;
    }
}

.form-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
    font-family: var(--font);
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
}

.form-field textarea {
    min-height: 7rem;
    resize: vertical;
    line-height: 1.5;
}

/* Radyo / onay kutusu — geniş text input kurallarına takılmasın */
.form-field input[type='radio'],
.form-field input[type='checkbox'] {
    width: 1.05rem;
    height: 1.05rem;
    min-width: 1.05rem;
    padding: 0;
    margin: 0.2rem 0.65rem 0 0;
    flex-shrink: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    accent-color: #0d9488;
    vertical-align: top;
}

.form-field input[type='radio']:focus,
.form-field input[type='checkbox']:focus {
    outline: 2px solid rgba(13, 148, 136, 0.35);
    outline-offset: 2px;
}

.form-field__legend {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-field__legend.field-label--required::after {
    content: ' *';
    color: #b91c1c;
    font-weight: 700;
}

.form-field label.radio-group__row {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #334155;
    text-transform: none;
    letter-spacing: normal;
    margin-bottom: 0.55rem;
    line-height: 1.4;
    cursor: pointer;
}

.form-field label.radio-group__row:last-of-type {
    margin-bottom: 0;
}

.form-field .radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.table-wrap {
    overflow-x: auto;
    margin-top: 0.5rem;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    background: #fff;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.table-wrap::-webkit-scrollbar {
    height: 6px;
}

.table-wrap::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.35);
    border-radius: 999px;
}

/* Sınıf ders saatleri tablosu (masaüstü) — hücrede dar ekran için max-width:100% de mobil kurallarda */
.lesson-slots-table .lesson-slots__weekday {
    min-width: 11rem;
    max-width: 100%;
}

.lesson-slots-table .lesson-slots__time {
    max-width: 100%;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    background: #fff;
}

.data-table th {
    text-align: left;
    padding: 0.65rem 0.85rem;
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.data-table__th--sortable {
    padding: 0;
}

.data-table__sort-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    padding: 0.65rem 0.85rem;
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0;
    transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}

.data-table__sort-link:hover {
    background: #f1f5f9;
    color: #0f766e;
}

.data-table__sort-link.is-active {
    color: #0d9488;
}

.data-table__sort-indicator {
    font-size: 0.62rem;
    line-height: 1;
    opacity: 0.85;
}

.data-table td {
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.data-table td.data-table__cell-multiline {
    vertical-align: top;
    line-height: 1.5;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr {
    transition: background-color 0.18s var(--ease);
}

.data-table tbody tr:hover {
    background: rgba(240, 253, 250, 0.72);
}

.data-table--attendance th,
.data-table--attendance td {
    padding: 0.75rem 1rem;
}

.data-table--attendance tbody tr:hover td:first-child {
    box-shadow: inset 3px 0 0 rgba(20, 184, 166, 0.75);
}

.data-table--attendance-grid th.attendance-col-status,
.data-table--attendance-grid td.attendance-col-status {
    text-align: center;
    vertical-align: middle;
    width: 5.25rem;
    min-width: 4.75rem;
    padding-left: 0.45rem;
    padding-right: 0.45rem;
}

.attendance-status-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8125rem;
    line-height: 1.25;
}

.attendance-status-header__label {
    font-weight: 600;
    color: #334155;
}

.attendance-status-radio {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    cursor: pointer;
}

.attendance-status-radio input[type="radio"] {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
    cursor: pointer;
}

.attendance-status-radio--present input[type="radio"] { accent-color: #059669; }
.attendance-status-radio--absent input[type="radio"] { accent-color: #dc2626; }
.attendance-status-radio--late input[type="radio"] { accent-color: #d97706; }
.attendance-status-radio--excused input[type="radio"] { accent-color: #6366f1; }

.attendance-form__toolbar {
    margin-bottom: 0.85rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
    position: sticky;
    top: 0;
    z-index: 8;
    background: linear-gradient(
        180deg,
        rgba(252, 252, 253, 0.98) 0%,
        rgba(252, 252, 253, 0.96) 100%
    );
    backdrop-filter: blur(6px);
    margin-top: -0.15rem;
}

.attendance-form__toolbar-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    padding: 0.85rem 1rem;
    background: var(--panel-surface-2, #f4f4f5);
    border-radius: 0.5rem;
    border: 1px solid rgba(228, 228, 231, 0.8);
}

.attendance-form__bulk {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.85rem;
    flex: 1 1 auto;
    min-width: min(100%, 12rem);
}

.attendance-form__bulk-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.attendance-bulk-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.45rem;
}

.attendance-bulk-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.75rem;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: #fff;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    transition: background 0.15s var(--ease), border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
    user-select: none;
}

.attendance-bulk-chip input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
}

.attendance-bulk-chip--present input[type="checkbox"] { accent-color: #059669; }
.attendance-bulk-chip--absent input[type="checkbox"] { accent-color: #dc2626; }
.attendance-bulk-chip--late input[type="checkbox"] { accent-color: #d97706; }
.attendance-bulk-chip--excused input[type="checkbox"] { accent-color: #6366f1; }

.attendance-bulk-chip:has(input:checked) {
    border-color: rgba(2, 132, 199, 0.45);
    background: #f0f9ff;
    box-shadow: inset 0 0 0 1px rgba(2, 132, 199, 0.12);
}

.attendance-form__toolbar-save {
    flex-shrink: 0;
}

.attendance-form__toolbar .btn {
    min-height: 2.75rem;
    padding: 0.5rem 1.05rem;
    font-size: 0.875rem;
}

.data-table--attendance-grid .data-table__cell-note {
    min-width: 10rem;
}

.data-table__cell-student {
    font-weight: 600;
    color: #0f172a;
}

.student-name {
    letter-spacing: -0.01em;
}

.select-attendance,
.input-table-note {
    width: 100%;
    max-width: 20rem;
    min-width: min(100%, 10.5rem);
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
    font-family: var(--font);
    background: #fff;
    transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.select-attendance:focus,
.input-table-note:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.14);
}

.table-wrap--elevated {
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.05);
}

/* Sınıf bağlamı — eğitici yoklama / ödev */
.panel-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.15rem;
    margin: 0 0 1.35rem;
    padding: 1.15rem 1.25rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.08) 0%, rgba(45, 212, 191, 0.05) 45%, rgba(99, 102, 241, 0.04) 100%);
    border: 1px solid rgba(20, 184, 166, 0.2);
    box-shadow: 0 6px 28px rgba(15, 23, 42, 0.05);
}

.panel-hero--compact {
    padding: 1rem 1.15rem;
    margin-bottom: 1.15rem;
}

.panel-hero__aside {
    flex-shrink: 0;
}

.panel-hero__intro {
    margin: 0.55rem 0 0;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.55;
    max-width: 38rem;
}

.panel-hero__meta {
    margin: 0.5rem 0 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0f766e;
    letter-spacing: 0.02em;
}

.class-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.32rem 0.9rem 0.32rem 0.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(20, 184, 166, 0.3);
    box-shadow: 0 2px 14px rgba(13, 148, 136, 0.12);
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.class-pill__icon {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    background: linear-gradient(145deg, #0d9488, #2dd4bf);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(20, 184, 166, 0.35);
}

.class-pill__name {
    line-height: 1.2;
}

.class-pill--text-only {
    padding: 0.35rem 0.95rem;
    gap: 0;
}

.date-jump-form {
    margin: 0;
}

.date-jump-form .form-field {
    margin: 0;
}

.date-jump-form label {
    font-size: 0.72rem;
}

.date-jump-form input[type="date"] {
    min-width: 11.5rem;
    font-weight: 600;
    color: #0f172a;
}

/* Sınıf bağlamı — üst takvim + sekmeler */
.teacher-class-context {
    margin: 0 0 1.15rem;
}

.teacher-class-context .hw-date-picker {
    margin-bottom: 0.75rem;
}

.teacher-class-context .teacher-class-tab-nav {
    margin-bottom: 0;
}

.hw-date-picker {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md, 0.65rem);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(20, 184, 166, 0.22);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.hw-date-picker__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.hw-date-picker__selected {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1 1 12rem;
}

.hw-date-picker__selected-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.hw-date-picker__selected-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

.hw-date-picker__jump {
    flex-shrink: 0;
}

.hw-date-picker__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.hw-date-picker__nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.55rem;
    border-radius: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0f766e;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.hw-date-picker__nav-btn:hover {
    background: rgba(13, 148, 136, 0.08);
    border-color: rgba(20, 184, 166, 0.25);
}

.hw-date-picker__range {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    flex: 1 1 auto;
    min-width: 0;
}

.hw-date-picker__week {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.35rem;
}

.hw-date-picker__day {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    min-height: 3.35rem;
    padding: 0.35rem 0.2rem 0.45rem;
    border-radius: 0.55rem;
    text-decoration: none;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #fff;
    color: #334155;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.hw-date-picker__day:hover {
    border-color: rgba(20, 184, 166, 0.45);
    background: rgba(240, 253, 250, 0.85);
}

.hw-date-picker__day.is-active {
    border-color: #0d9488;
    background: linear-gradient(165deg, rgba(13, 148, 136, 0.14) 0%, rgba(45, 212, 191, 0.1) 100%);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.18);
    color: #0f766e;
}

.hw-date-picker__day.is-today:not(.is-active) {
    border-color: rgba(99, 102, 241, 0.35);
    background: rgba(238, 242, 255, 0.65);
}

.hw-date-picker__dow {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8;
}

.hw-date-picker__day.is-active .hw-date-picker__dow {
    color: #0f766e;
}

.hw-date-picker__dom {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hw-date-picker__markers {
    position: absolute;
    bottom: 0.24rem;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.18rem;
}

.hw-date-picker__marker {
    width: 0.32rem;
    height: 0.32rem;
    border-radius: 999px;
}

.hw-date-picker__marker--attendance {
    background: #6366f1;
}

.hw-date-picker__marker--homework {
    background: #0d9488;
}

.hw-date-picker__day.is-active .hw-date-picker__marker--attendance {
    background: #fff;
    box-shadow: 0 0 0 1.5px #6366f1;
}

.hw-date-picker__day.is-active .hw-date-picker__marker--homework {
    background: #fff;
    box-shadow: 0 0 0 1.5px #0d9488;
}

/* Ödev girişi — tamamlama durumu sütunu */
.hw-completion-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    white-space: nowrap;
}

.hw-completion-badge--pending { background: #f3f4f6; color: #4b5563; }
.hw-completion-badge--submitted { background: #fef3c7; color: #92400e; }
.hw-completion-badge--approved { background: #d1fae5; color: #065f46; }
.hw-completion-badge--rejected { background: #fee2e2; color: #991b1b; }

.hw-row-completion {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
    min-width: 8rem;
}

.hw-row-completion__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.hw-row-completion__toggle input[type="checkbox"] {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    cursor: pointer;
    accent-color: #0284c7;
}

.hw-row-completion__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.hw-row-completion__meta {
    font-size: 0.72rem;
    color: #64748b;
}

.hw-row-completion__empty {
    font-size: 0.9rem;
}

.data-table--homework-bulk .data-table__cell-completion {
    min-width: 8.5rem;
    vertical-align: middle;
}

.data-table--homework-bulk tr.hw-row--needs-review td {
    background: rgba(254, 243, 199, 0.22);
}

.homework-form__toolbar {
    margin-bottom: 0.85rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
    position: sticky;
    top: 0;
    z-index: 8;
    background: linear-gradient(
        180deg,
        rgba(252, 252, 253, 0.98) 0%,
        rgba(252, 252, 253, 0.96) 100%
    );
    backdrop-filter: blur(6px);
    margin-top: -0.15rem;
}

.homework-form__toolbar-card {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem 1rem;
    padding: 0.85rem 1rem;
    background: var(--panel-surface-2, #f4f4f5);
    border-radius: 0.5rem;
    border: 1px solid rgba(228, 228, 231, 0.8);
}

.homework-form__template-field {
    flex: 1 1 auto;
    min-width: min(100%, 14rem);
    margin: 0;
}

.homework-form__template-field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.homework-form__template-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.55rem;
}

.homework-form__template-row .hw-template-title {
    flex: 1 1 12rem;
    min-width: 0;
    min-height: 2.75rem;
    margin: 0;
}

.homework-form__toolbar-save {
    flex-shrink: 0;
}

.homework-form__toolbar .btn {
    min-height: 2.75rem;
    padding: 0.5rem 1.05rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

.hw-completion-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem 0.75rem;
    min-width: 7.5rem;
}

.hw-completion-header__title {
    font-weight: inherit;
}

.hw-select-all-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    margin: 0;
}

.hw-select-all-label input[type="checkbox"] {
    width: 0.95rem;
    height: 0.95rem;
    margin: 0;
    accent-color: #0284c7;
}

.homework-form__hint {
    margin: 0 0 0.85rem;
    font-size: 0.88rem;
    line-height: 1.45;
}

.hw-autosave-bar {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%) translateY(120%);
    z-index: 120;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: #0f172a;
    color: #f8fafc;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.22);
    transition: transform 0.22s ease, opacity 0.22s ease;
    opacity: 0;
    pointer-events: none;
}

.hw-autosave-bar.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.hw-autosave-bar--saved { background: #065f46; }
.hw-autosave-bar--error { background: #991b1b; }

.hw-autosave-bar__spinner {
    width: 0.95rem;
    height: 0.95rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: hw-autosave-spin 0.65s linear infinite;
}

@keyframes hw-autosave-spin { to { transform: rotate(360deg); } }

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.35rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.form-actions--sticky {
    margin-top: 1.5rem;
}

@media (max-width: 640px) {
    .panel-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .panel-hero__aside {
        width: 100%;
    }

    .hw-date-picker__nav-text {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .hw-date-picker__nav-btn {
        padding: 0.45rem 0.65rem;
    }

    .hw-date-picker__day {
        min-height: 2.85rem;
        padding: 0.3rem 0.15rem 0.4rem;
    }

    .hw-date-picker__dom {
        font-size: 0.92rem;
    }

    .homework-form__toolbar-card {
        flex-direction: column;
        align-items: stretch;
    }

    .homework-form__template-row {
        flex-direction: column;
        align-items: stretch;
    }

    .homework-form__toolbar .btn {
        width: 100%;
        justify-content: center;
    }

    .date-jump-form input[type="date"] {
        width: 100%;
        max-width: none;
    }

    .data-table--attendance th:nth-child(3),
    .data-table--attendance td:nth-child(3) {
        min-width: 8rem;
    }

    .attendance-form__toolbar-card {
        flex-direction: column;
        align-items: stretch;
    }

    .attendance-form__bulk {
        flex-direction: column;
        align-items: stretch;
        gap: 0.55rem;
    }

    .attendance-bulk-chips {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
        width: 100%;
    }

    .attendance-bulk-chip {
        flex: none;
        width: 100%;
        min-width: 0;
        justify-content: center;
    }

    .attendance-form__toolbar .btn {
        width: 100%;
        justify-content: center;
    }

    .data-table--attendance-grid th.attendance-col-status,
    .data-table--attendance-grid td.attendance-col-status {
        width: 4.25rem;
        min-width: 3.75rem;
    }

    .form-actions--sticky {
        position: sticky;
        bottom: max(0.35rem, env(safe-area-inset-bottom, 0px));
        padding: 1rem 0 0;
        margin-top: 1.1rem;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(252, 252, 253, 0.97) 22%);
        border-top: none;
        z-index: 6;
    }

    .form-actions--sticky .btn--primary {
        flex: 1;
        justify-content: center;
        min-height: 3rem;
    }
}

.empty-state-card {
    text-align: center;
    padding: 2.25rem 1.5rem;
    border-radius: var(--radius-lg);
    background: rgba(248, 250, 252, 0.95);
    border: 1px dashed rgba(148, 163, 184, 0.45);
}

.empty-state-card__text {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.55;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.badge--ok {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}

.badge--wait {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
}

.badge--tuition-waiting {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
}

.badge--overdue {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
    border: 1px solid rgba(185, 28, 28, 0.35);
}

.badge--archived-student {
    display: inline-block;
    margin-left: 0.4rem;
    vertical-align: middle;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
    border: 1px solid rgba(185, 28, 28, 0.35);
}

.tuition-table__row--archived td:first-child strong {
    color: #64748b;
}

.tuition-table__archived-hint {
    font-size: 0.8rem;
    white-space: nowrap;
}

.badge--pool {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
}

.badge--pool-prominent {
    font-size: 0.8rem;
    padding: 0.38rem 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(29, 78, 216, 0.4);
    box-shadow: 0 1px 3px rgba(29, 78, 216, 0.12);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.22) 0%, rgba(59, 130, 246, 0.1) 100%);
}

.parent-status-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    max-width: 18rem;
}

.parent-status-cell__hint {
    margin: 0;
    font-size: 0.74rem;
    line-height: 1.4;
    color: #475569;
}

.parent-students-page .data-table tbody td.parent-students__cell--registration {
    max-width: 14rem;
    vertical-align: top;
}

.parent-students__tracking-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.parent-students__deletion-cancel-form {
    margin-top: 0.35rem;
}

.parent-students__registration-alert {
    margin-bottom: 0.65rem;
}

.parent-students__registration-hint {
    margin: 0.35rem 0 0;
    font-size: 0.8rem;
    line-height: 1.45;
    color: #475569;
}

.parent-students__deletion-details {
    font-size: 0.88rem;
}

.parent-students__deletion-summary {
    cursor: pointer;
    color: #0f766e;
}

.parent-students__deletion-form {
    margin-top: 0.5rem;
}

.parent-students__deletion-reason {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 0.85rem;
    padding: 0.35rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: var(--font);
}

.parent-students__deletion-submit {
    margin-top: 0.35rem;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.inline-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.inline-form select {
    padding: 0.35rem 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
    font-size: 0.82rem;
    font-family: var(--font);
}

/* Personel öğrenci listesi: nakil + arşiv (ikon) + düzenle (ikon) — tek satır */
.staff-students-actions {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    min-height: 2.25rem;
    padding: 0;
    margin: 0;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    transition: color 0.15s var(--ease), border-color 0.15s var(--ease), background-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.btn-icon--edit:hover {
    color: #0d9488;
    border-color: #99f6e4;
    background: #f0fdfa;
    box-shadow: 0 2px 6px rgba(13, 148, 136, 0.12);
}

.btn-icon--danger {
    color: #dc2626;
    border-color: #fca5a5;
    background: #fef2f2;
}

.btn-icon--danger .btn-icon__svg--trash {
    stroke-width: 2;
}

.btn-icon--danger:hover {
    color: #b91c1c;
    border-color: #f87171;
    background: #fee2e2;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.18);
}

.btn-icon:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.25);
}

.btn-icon--danger:focus-visible {
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.35);
}

.btn-icon__svg {
    display: block;
}

/* Geriye dönük: btn-icon-edit sınıfı */
.btn-icon-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.staff-students-actions .inline-form {
    margin: 0;
}

.staff-students-actions__transfer.inline-form {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.4rem;
    flex: 0 1 auto;
    min-width: 0;
}

.staff-students-actions__archive.inline-form {
    display: inline-flex;
    flex: 0 0 auto;
}

.staff-students-actions__select {
    min-width: 7rem;
    max-width: 11rem;
    flex: 0 1 auto;
}

.staff-students-actions__btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.staff-students-actions__btn.btn--primary {
    box-shadow: 0 4px 14px rgba(20, 184, 166, 0.22);
}

.staff-students-actions__btn.btn--primary:hover {
    box-shadow: 0 6px 18px rgba(20, 184, 166, 0.28);
}

.data-table__cell--actions {
    vertical-align: middle;
    white-space: normal;
}

.data-table__cell--actions .staff-students-actions {
    min-width: min(100%, 20rem);
}

.staff-students-archived-actions {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.4rem;
}

.staff-students-archived-actions__hint {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    max-width: 22rem;
}

/* Kayıt kategorileri: Düzenle (a) ile Sil (button) aynı dikey boyut; flex stretch kapalı */
.enrollment-categories__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.enrollment-categories__actions .btn--sm {
    line-height: 1.2;
    box-sizing: border-box;
}

.enrollment-categories__delete-form {
    display: inline-flex;
    margin: 0;
    align-items: center;
}

.btn--sm {
    min-height: 2.25rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
}

.empty-state {
    color: #64748b;
    font-size: 0.92rem;
    padding: 0.5rem 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

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

.check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #475569;
    margin: 0.25rem 0 0.5rem;
}

.list-plain {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
    color: #334155;
    line-height: 1.6;
}

.list-plain li {
    margin-bottom: 0.35rem;
}

.dashboard-links a {
    color: #0369a1;
    font-weight: 600;
    text-decoration: none;
}

.dashboard-links a:hover {
    text-decoration: underline;
}

/* «Geri» bağlantısı: Blade’de sınıf çoğu yerde doğrudan <a> üzerinde */
a.dashboard-links {
    display: inline-flex;
    align-items: center;
    color: #0369a1;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
}

a.dashboard-links:hover {
    text-decoration: underline;
}

/* Süper yönetici özet — kurumsal düzen */
.super-admin-dashboard {
    margin-top: 0;
}

.super-admin-dashboard__hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin: 0 0 1.5rem;
    padding: 1.2rem 1.35rem;
    border-radius: var(--radius-md);
    background: linear-gradient(125deg, rgba(15, 118, 110, 0.07) 0%, rgba(248, 250, 252, 0.92) 42%, #fff 100%);
    border: 1px solid rgba(20, 184, 166, 0.2);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.05);
}

.super-admin-dashboard__hero-main {
    flex: 1;
    min-width: min(100%, 18rem);
}

.super-admin-dashboard__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f766e;
}

.super-admin-dashboard__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.2;
}

.super-admin-dashboard__lead {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #475569;
    max-width: 40rem;
}

.super-admin-dashboard__hero-meta {
    flex-shrink: 0;
    align-self: center;
}

.super-admin-dashboard__pill {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #0f766e;
    background: rgba(20, 184, 166, 0.14);
    border: 1px solid rgba(20, 184, 166, 0.28);
}

.super-admin-dashboard__banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem 1rem;
    margin: 0 0 1.5rem;
    padding: 1rem 1.15rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(251, 191, 36, 0.45);
    background: linear-gradient(180deg, rgba(254, 252, 232, 0.95), rgba(255, 251, 235, 0.88));
}

.super-admin-dashboard__banner-title {
    display: block;
    font-size: 0.92rem;
    color: #92400e;
    margin-bottom: 0.2rem;
}

.super-admin-dashboard__banner-text {
    margin: 0;
    font-size: 0.88rem;
    color: #78350f;
    line-height: 1.45;
    max-width: 36rem;
}

.super-admin-dashboard__banner-cta {
    flex-shrink: 0;
}

.super-admin-dashboard__section {
    margin-bottom: 1.85rem;
}

.super-admin-dashboard__section-title {
    margin: 0 0 0.65rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.super-admin-dashboard__stat-grid {
    margin-top: 0;
}

.super-admin-dashboard__stat-grid--accounts {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.super-admin-dashboard__hint {
    margin: 0.65rem 0 0;
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.45;
}

.super-admin-dashboard__actions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.85rem;
}

.super-admin-dashboard__action {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1.05rem 1.15rem 1.1rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    background: linear-gradient(165deg, #fff, #f8fafc);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    transition: transform 0.14s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}

.super-admin-dashboard__action:hover {
    transform: translateY(-2px);
    border-color: rgba(20, 184, 166, 0.35);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

.super-admin-dashboard__action:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}

.super-admin-dashboard__action--highlight {
    border-color: rgba(251, 191, 36, 0.55);
    background: linear-gradient(165deg, rgba(255, 251, 235, 0.9), #fff);
}

.super-admin-dashboard__action-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}

.super-admin-dashboard__action-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.super-admin-dashboard__action-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.4;
    margin-top: 0.15rem;
}

.super-admin-dashboard__action-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.4rem;
    margin-left: 0.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    vertical-align: middle;
    background: #b45309;
    color: #fff;
}

.super-admin-dashboard__empty {
    display: flex;
    justify-content: center;
    padding: 2.5rem 1rem;
}

.super-admin-dashboard__empty-inner {
    max-width: 28rem;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px dashed rgba(148, 163, 184, 0.45);
    background: rgba(248, 250, 252, 0.8);
}

.super-admin-dashboard__empty-title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.super-admin-dashboard__empty-lead {
    margin: 0 0 1.25rem;
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.5;
}

/* Super-admin: system maintenance (migrations, cache, composer) */
.sys-maint {
    max-width: 56rem;
}

.sys-maint__hero {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sys-maint__hero-icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, #e0e7ff, #c7d2fe);
    font-size: 1.35rem;
    line-height: 1;
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.sys-maint__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
}

.sys-maint__lead {
    margin: 0.35rem 0 0;
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.5;
}

.sys-maint__output {
    margin: 0 0 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    background: #0f172a;
    color: #e2e8f0;
    font-size: 0.75rem;
    line-height: 1.45;
    overflow-x: auto;
    max-height: 16rem;
    white-space: pre-wrap;
    word-break: break-word;
    border: 1px solid rgba(15, 23, 42, 0.5);
}

.sys-maint__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sys-maint__card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1.15rem 1.2rem 1.2rem;
    border-radius: var(--radius-md);
    background: linear-gradient(165deg, #fff, #f8fafc);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.sys-maint__card--migrate {
    border-top: 3px solid #2563eb;
}

.sys-maint__card--optimize {
    border-top: 3px solid #7c3aed;
}

.sys-maint__card--clear {
    border-top: 3px solid #ea580c;
}

.sys-maint__card--composer {
    border-top: 3px solid #16a34a;
}

.sys-maint__card-title {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
    color: #0f172a;
}

.sys-maint__card-sub {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.sys-maint__card-desc {
    margin: 0;
    flex: 1;
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.45;
}

.sys-maint__btn {
    margin-top: 0.65rem;
    width: 100%;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-md);
    color: #fff;
    transition: filter 0.15s ease, transform 0.12s ease;
}

.sys-maint__btn:hover {
    filter: brightness(1.06);
}

.sys-maint__btn:active {
    transform: scale(0.99);
}

.sys-maint__btn--migrate {
    background: linear-gradient(180deg, #3b82f6, #2563eb);
}

.sys-maint__btn--optimize {
    background: linear-gradient(180deg, #8b5cf6, #7c3aed);
}

.sys-maint__btn--clear {
    background: linear-gradient(180deg, #f97316, #ea580c);
}

.sys-maint__btn--composer {
    background: linear-gradient(180deg, #22c55e, #16a34a);
}

.sys-maint__warnings {
    padding: 1rem 1.15rem 1.1rem;
    border-radius: var(--radius-md);
    background: linear-gradient(165deg, rgba(254, 252, 232, 0.95), rgba(255, 251, 235, 0.88));
    border: 1px solid rgba(234, 179, 8, 0.45);
}

.sys-maint__warnings-title {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: #854d0e;
}

.sys-maint__warnings-list {
    margin: 0;
    padding-left: 1.15rem;
    font-size: 0.84rem;
    color: #713f12;
    line-height: 1.55;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.stat-card {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.95));
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: var(--radius-md);
    padding: 1rem 1.1rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.stat-card--muted {
    background: rgba(248, 250, 252, 0.95);
}

.stat-card--accent {
    background: linear-gradient(165deg, rgba(236, 253, 245, 0.65), rgba(255, 255, 255, 0.98));
    border-color: rgba(20, 184, 166, 0.28);
    box-shadow: 0 4px 20px rgba(15, 118, 110, 0.06);
}

.stat-card--accent .stat-card__value {
    color: #0f766e;
}

.stat-card--link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.12s var(--ease), box-shadow 0.15s var(--ease), border-color 0.15s var(--ease);
}

.stat-card--link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    border-color: rgba(20, 184, 166, 0.35);
}

.stat-card--link:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}

.pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.pagination-wrap nav {
    font-size: 0.88rem;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.35rem;
    align-items: center;
}

.pagination__item {
    display: flex;
}

.pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    color: #0f766e;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.15s var(--ease);
}

.pagination__link:hover:not(.pagination__link--disabled):not(.pagination__link--active) {
    background: rgba(20, 184, 166, 0.12);
    border-color: rgba(20, 184, 166, 0.2);
}

.pagination__link--active {
    background: #14b8a6;
    color: white;
    font-weight: 700;
    border-color: #14b8a6;
}

.pagination__link--disabled {
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.5;
}

.pagination__item--disabled {
    pointer-events: none;
}

.stat-card__label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    line-height: 1.3;
}

.stat-card__value {
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.1;
}

.stat-card--muted .stat-card__value {
    color: #475569;
    font-size: 1.35rem;
}

/* Havuz (eğitim sorumlusu) — kurumsal özet + tablo */
.staff-pool-page {
    max-width: 100%;
}

.staff-pool-page__header {
    margin: 0 0 1.5rem;
    padding-bottom: 1.35rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.staff-pool-page__eyebrow {
    margin: 0 0 0.4rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
}

.staff-pool-page__title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.2rem, 4.2vw, 1.45rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.22;
    color: #0f172a;
}

.staff-pool-page__intro {
    margin: 0;
    max-width: 44rem;
}

.staff-pool-page__intro p:first-child {
    margin-top: 0;
}

.staff-pool-page__toolbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.staff-pool-page__season-pill {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    padding: 0.42rem 1rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0369a1;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.28);
    letter-spacing: -0.01em;
}

.staff-pool-page__stats {
    margin-top: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.staff-pool-capacity-notice-form {
    display: none;
}

.staff-pool-capacity-notice-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(13, 148, 136, 0.35);
    border-radius: 12px;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 55%, #fff 100%);
    color: #0f766e;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.12);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
    text-align: left;
    max-width: 100%;
}

.staff-pool-capacity-notice-btn:hover {
    border-color: rgba(13, 148, 136, 0.55);
    box-shadow: 0 8px 22px rgba(13, 148, 136, 0.18);
    transform: translateY(-1px);
}

.staff-pool-capacity-notice-btn:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

.staff-pool-capacity-notice-btn__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: rgba(13, 148, 136, 0.12);
    color: #0f766e;
}

.staff-pool-capacity-notice-btn__text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.staff-pool-capacity-notice-btn__label {
    font-size: 0.92rem;
    line-height: 1.2;
    color: #0f172a;
}

.staff-pool-capacity-notice-btn__meta {
    font-size: 0.78rem;
    font-weight: 500;
    color: #64748b;
}

.staff-pool-capacity-dialog__body {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #334155;
}

.staff-pool-capacity-dialog__lead {
    margin: 0 0 0.85rem;
}

.staff-pool-capacity-dialog__quote {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border-left: 4px solid #0d9488;
    border-radius: 0 10px 10px 0;
    background: linear-gradient(90deg, #f0fdfa 0%, #f8fafc 100%);
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f766e;
    line-height: 1.45;
}

.staff-pool-capacity-dialog__list {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
}

.staff-pool-capacity-dialog__list li + li {
    margin-top: 0.35rem;
}

.staff-pool-capacity-dialog__confirm-q {
    margin: 0;
    font-weight: 600;
    color: #0f172a;
}

.staff-pool-capacity-dialog__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.staff-pool-page__stats .stat-card__value {
    font-size: 1.5rem;
}

@media (max-width: 639px) {
    .staff-pool-capacity-notice-btn {
        width: 100%;
    }
}

@media (min-width: 640px) {
    .staff-pool-page__toolbar {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 1rem 1.25rem;
    }

    .staff-pool-page__stats {
        flex: 1 1 auto;
        max-width: 22rem;
        margin-left: auto;
    }
}

.staff-pool-page__empty {
    margin-bottom: 1rem;
}

.staff-pool-page__empty + .staff-pool-page__empty {
    margin-top: -0.35rem;
}

.staff-pool-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 1rem 1.15rem;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    line-height: 1.55;
    margin-bottom: 0.5rem;
}

.staff-pool-alert--warning {
    color: #92400e;
    background: rgba(254, 243, 199, 0.45);
    border: 1px solid rgba(245, 158, 11, 0.38);
}

.staff-pool-table-wrap {
    margin-top: 0.35rem;
}

.staff-pool-toolbar {
    margin-top: 1rem;
}

.staff-pool-filters-acc {
    width: 100%;
    margin: 0;
}

.staff-pool-filters-acc__inner {
    margin: 0;
    padding: 0;
}

/* Mobilde tarih filtresi: özet çubuğu; masaüstünde gizlenir — JS genişlikte [open] */
.staff-pool-filters-acc__summary {
    display: none;
    list-style: none;
}

.staff-pool-filters-acc__summary::-webkit-details-marker {
    display: none;
}

.staff-pool-filters-acc__summary-label {
    flex: 1;
    min-width: 0;
    line-height: 1.3;
}

.staff-pool-filters-acc__summary::after {
    content: '';
    flex-shrink: 0;
    width: 0.45rem;
    height: 0.45rem;
    margin-inline-start: 0.65rem;
    border: solid rgba(14, 116, 160, 0.5);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: transform 0.2s var(--ease);
}

.staff-pool-filters-acc[open] > .staff-pool-filters-acc__summary::after {
    transform: rotate(-135deg);
    margin-top: 0.2rem;
}

@media (max-width: 767px) {
    .staff-pool-filters-acc__summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        width: 100%;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        margin: 0;
        padding: 0.8rem 1rem;
        min-height: 3rem;
        font-size: 0.9375rem;
        font-weight: 700;
        letter-spacing: -0.015em;
        color: #0f172a;
        background: linear-gradient(180deg, rgba(240, 249, 255, 0.92) 0%, rgba(255, 255, 255, 0.96) 100%);
        border: 1px solid rgba(14, 165, 233, 0.24);
        border-radius: var(--radius-md);
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    }

    .staff-pool-filters-acc[open] > .staff-pool-filters-acc__summary {
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        border-bottom-color: rgba(226, 232, 240, 0.9);
        box-shadow: none;
    }

    .staff-pool-filters-acc[open] .staff-pool-filter-form.org-report-filters {
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        border-top: none;
        margin-top: 0;
        padding-top: 0.95rem;
    }

    .staff-pool-toolbar {
        margin-top: 0.65rem;
    }
}

@media (min-width: 768px) {
    .staff-pool-filters-acc__summary::after {
        display: none;
    }

    .staff-pool-toolbar {
        margin-top: 1rem;
    }

    .staff-pool-filters-acc {
        border: 0;
        padding: 0;
        margin: 0;
        background: transparent;
    }

    .staff-pool-filters-acc > .staff-pool-filters-acc__summary {
        display: none !important;
    }

    .staff-pool-filter-form.org-report-filters {
        padding: 1rem;
    }
}

.staff-pool-filter-form__field.form-field {
    margin: 0;
}

@media (max-width: 767px) {
    .staff-pool-filter-form__actions.org-report-filters__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .staff-pool-filter-form__actions.org-report-filters__actions .btn {
        width: 100%;
        min-height: 2.65rem;
        justify-content: center;
        font-size: 0.9rem;
    }
}

.staff-pool-enroll-form {
    gap: 0.5rem;
}

.staff-pool-enroll-form select {
    flex: 1 1 12rem;
    min-width: min(100%, 14rem);
    padding: 0.5rem 0.65rem;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
    font-size: 0.875rem;
    font-family: var(--font);
    background: #fff;
    color: #0f172a;
    transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.staff-pool-enroll-form select:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.staff-pool-category {
    display: block;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
}

.staff-pool-category__fee {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
}

.staff-pool-page__dash {
    color: #94a3b8;
    font-weight: 500;
}

/* Dil seçici (ikon + açılır menü) */
.lang-switch {
    position: relative;
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
}

.lang-switch--menu > .lang-switch__summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.55rem 0.38rem 0.45rem;
    margin: 0;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(248, 250, 252, 0.95);
    color: #334155;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.15s var(--ease), background 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.lang-switch--menu > .lang-switch__summary::-webkit-details-marker {
    display: none;
}

.lang-switch--menu > .lang-switch__summary:hover {
    border-color: rgba(15, 118, 110, 0.35);
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.lang-switch--menu[open] > .lang-switch__summary {
    border-color: rgba(15, 118, 110, 0.45);
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
}

.lang-switch__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f766e;
    flex-shrink: 0;
}

.lang-switch__icon svg {
    display: block;
}

.lang-switch__code {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    min-width: 1.35rem;
    text-align: center;
}

.lang-switch__caret {
    display: flex;
    align-items: center;
    color: #94a3b8;
    transition: transform 0.2s var(--ease);
    flex-shrink: 0;
}

.lang-switch--menu[open] .lang-switch__caret {
    transform: rotate(180deg);
    color: #64748b;
}

.lang-switch__panel {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    z-index: calc(var(--header-z) + 5);
    min-width: 11.5rem;
    padding: 0.3rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: #fff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.06);
}

.lang-switch__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    transition: background 0.12s var(--ease), color 0.12s var(--ease);
}

.lang-switch__option:hover {
    background: rgba(15, 118, 110, 0.08);
    color: #0f766e;
}

.lang-switch__option.is-active {
    background: rgba(15, 118, 110, 0.12);
    color: #0f766e;
}

.lang-switch__option-name {
    font-size: 0.84rem;
    font-weight: 600;
}

.lang-switch__option-code {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #94a3b8;
    padding: 0.12rem 0.35rem;
    border-radius: 6px;
    background: rgba(241, 245, 249, 0.9);
}

.lang-switch__option.is-active .lang-switch__option-code {
    color: #0f766e;
    background: rgba(15, 118, 110, 0.12);
}

.app-header .lang-switch--menu > .lang-switch__summary {
    border-color: rgba(148, 163, 184, 0.4);
    background: rgba(255, 255, 255, 0.92);
}

.lang-switch--floating {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 50;
}

.lang-switch--floating > .lang-switch__summary {
    border-color: rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #f1f5f9;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.2);
}

.lang-switch--floating > .lang-switch__summary:hover {
    background: rgba(15, 23, 42, 0.68);
    border-color: rgba(148, 163, 184, 0.45);
}

.lang-switch--floating[open] > .lang-switch__summary {
    background: rgba(15, 23, 42, 0.72);
}

.lang-switch--floating .lang-switch__icon {
    color: #5eead4;
}

.lang-switch--floating .lang-switch__caret {
    color: rgba(226, 232, 240, 0.75);
}

.lang-switch--floating .lang-switch__panel {
    border-color: rgba(51, 65, 85, 0.5);
    background: rgba(30, 41, 59, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
}

.lang-switch--floating .lang-switch__option {
    color: #e2e8f0;
}

.lang-switch--floating .lang-switch__option:hover {
    background: rgba(45, 212, 191, 0.12);
    color: #5eead4;
}

.lang-switch--floating .lang-switch__option.is-active {
    background: rgba(45, 212, 191, 0.18);
    color: #5eead4;
}

.lang-switch--floating .lang-switch__option-code {
    color: #94a3b8;
    background: rgba(15, 23, 42, 0.45);
}

.lang-switch--floating .lang-switch__option.is-active .lang-switch__option-code {
    color: #99f6e4;
    background: rgba(45, 212, 191, 0.15);
}

.auth-page--parent .lang-switch--floating > .lang-switch__summary {
    border-color: rgba(52, 211, 153, 0.35);
}

@media (max-width: 520px) {
    .inline-form {
        flex-direction: column;
        align-items: stretch;
    }

    .inline-form select,
    .inline-form .btn {
        width: 100%;
    }

    .staff-students-actions {
        flex-wrap: wrap;
        width: 100%;
    }

    .staff-students-actions__transfer.inline-form {
        flex: 1 1 100%;
        flex-wrap: wrap;
        width: 100%;
    }

    .staff-students-actions .inline-form select,
    .staff-students-actions .staff-students-actions__select {
        width: 100%;
        max-width: 100%;
    }

    .staff-students-actions__transfer .staff-students-actions__btn {
        width: 100%;
        justify-content: center;
    }

    .staff-students-actions__archive.inline-form,
    .staff-students-actions__edit {
        flex: 0 0 auto;
    }

    .toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Org (kurum) yoklama: tarih + eğiticiye göre sınıf kartları + detay tablosu */
.org-attendance-toolbar {
    margin: 1rem 0 1.25rem;
}

.org-attendance-date-form .form-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.35rem;
}

.org-attendance-date-form input[type="date"] {
    padding: 0.4rem 0.55rem;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
    font-size: 0.88rem;
    font-family: var(--font);
    min-width: 11rem;
}

.org-attendance-detail-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0.5rem 0 1rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
}

.org-attendance-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-align: right;
}

@media (max-width: 520px) {
    .org-attendance-detail-meta {
        text-align: left;
        width: 100%;
    }
}

.org-teacher-group {
    margin-bottom: 1.75rem;
}

.org-teacher-group__title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.65rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid #e2e8f0;
}

.org-class-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
}

.org-class-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1rem 0.85rem;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.org-class-card:hover {
    border-color: #94a3b8;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.org-class-card__name {
    font-weight: 700;
    font-size: 0.98rem;
    color: #0f172a;
}

.org-class-card__meta {
    font-size: 0.82rem;
    color: #64748b;
}

.org-class-card__badge {
    margin-top: 0.35rem;
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
}

.org-class-card__badge--ok {
    background: #d1fae5;
    color: #065f46;
}

.org-class-card__badge--muted {
    background: #f1f5f9;
    color: #64748b;
}

.org-attendance-missing {
    color: #b45309;
    font-weight: 500;
}

/* Kurum raporları özeti ve kartlar */
.org-report-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    margin: 1.25rem 0 0.5rem;
}

.org-report-stat-card {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1rem 1rem 0.9rem;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    background: linear-gradient(165deg, #fff 0%, #f8fafc 100%);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.org-report-stat-card--accent {
    border-color: #99f6e4;
    background: linear-gradient(165deg, #ecfdf5 0%, #f0fdfa 100%);
}

.org-report-stat-card__value {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.org-report-stat-card--accent .org-report-stat-card__value {
    color: #0f766e;
}

.org-report-stat-card__label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.org-report-stat-card__hint {
    font-size: 0.8rem;
    color: #475569;
    margin-top: 0.15rem;
}

/* Aidat raporu — üst KPI şeridi (kurumsal vurgu) */
.org-tuition-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 0 1.5rem;
}

.org-tuition-kpi-card {
    --kpi-top: linear-gradient(90deg, #142a43 0%, #bc9456 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.2rem 1.25rem 1.1rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 50%, rgba(241, 245, 249, 0.94) 100%);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.05),
        0 12px 32px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
    min-height: 7.5rem;
}

.org-tuition-kpi-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--kpi-top);
    opacity: 0.95;
}

.org-tuition-kpi-card--month {
    --kpi-top: linear-gradient(90deg, #0f766e 0%, #14b8a6 55%, #2dd4bf 100%);
}

.org-tuition-kpi-card--season {
    --kpi-top: linear-gradient(90deg, #0369a1 0%, #0ea5e9 100%);
}

.org-tuition-kpi-card__value {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.org-tuition-kpi-card--month .org-tuition-kpi-card__value {
    color: #0f766e;
}

.org-tuition-kpi-card--season .org-tuition-kpi-card__value {
    color: #0369a1;
}

.org-tuition-kpi-card__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #475569;
    line-height: 1.35;
    padding-top: 0.15rem;
}

.org-tuition-kpi-card__hint {
    font-size: 0.75rem;
    line-height: 1.4;
    color: #64748b;
    margin-top: auto;
    padding-top: 0.2rem;
}

.org-report-charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.15rem;
    margin-top: 1rem;
}

.org-report-chart-card {
    --org-chart-accent: linear-gradient(90deg, #0ea5e9 0%, #6366f1 50%, #14b8a6 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.05rem 1.1rem 1.15rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.98) 45%, rgba(241, 245, 249, 0.95) 100%);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 28px rgba(15, 23, 42, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    overflow: hidden;
}

.org-report-chart-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--org-chart-accent);
    opacity: 0.92;
    pointer-events: none;
}

.org-report-chart-card--wide {
    --org-chart-accent: linear-gradient(90deg, #14b8a6 0%, #0d9488 40%, #0ea5e9 100%);
    grid-column: 1 / -1;
}

@media (min-width: 900px) {
    .org-report-charts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .org-report-chart-card--wide {
        grid-column: 1 / -1;
    }
}

.org-report-chart-card__title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.org-report-chart-card__canvas {
    position: relative;
    height: 240px;
    max-width: 100%;
    padding: 0.2rem 0.15rem 0;
    border-radius: 10px;
    background: radial-gradient(ellipse 85% 70% at 50% 0%, rgba(14, 165, 233, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 100% 100%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
}

.org-report-chart-card__canvas--tall {
    height: min(440px, 56vh);
    background: radial-gradient(ellipse 80% 45% at 15% 0%, rgba(20, 184, 166, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse 55% 40% at 95% 80%, rgba(14, 165, 233, 0.06) 0%, transparent 45%);
}

.org-report-chart-card__empty {
    margin: 0;
    font-size: 0.88rem;
    color: #64748b;
}

.org-report-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.85rem;
    margin-top: 1rem;
}

.org-report-link-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.15rem 1.15rem 1.05rem;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
    border-left: 4px solid #94a3b8;
}

.org-report-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.org-report-link-card--accent-a { border-left-color: #0d9488; }
.org-report-link-card--accent-b { border-left-color: #0284c7; }
.org-report-link-card--accent-c { border-left-color: #7c3aed; }
.org-report-link-card--accent-d { border-left-color: #c2410c; }
.org-report-link-card--accent-e { border-left-color: #be185d; }
.org-report-link-card--accent-f { border-left-color: #059669; }

.org-tuition-grid-table th.org-tuition-grid-table__m,
.org-tuition-grid-table td.org-tuition-grid-table__x {
    min-width: 2.35rem;
    text-align: center;
    font-size: 0.78rem;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
}
.org-tuition-grid-table th.org-tuition-grid-table__m { white-space: nowrap; }
.org-tuition-grid-table .org-tuition-grid-table__num { text-align: right; }
.org-tuition-mark { font-weight: 700; color: #0f766e; }

.org-report-link-card__title {
    font-weight: 700;
    font-size: 1.02rem;
    color: #0f172a;
}

.org-report-link-card__desc {
    font-size: 0.86rem;
    line-height: 1.45;
    color: #64748b;
}

.org-report-parent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.85rem;
    margin-top: 1rem;
}

.org-report-parent-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.1rem 1.15rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    border-left: 4px solid #6366f1;
}

.org-report-parent-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.org-report-parent-card__name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.org-report-parent-card__badge {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    color: #4338ca;
}

.org-report-parent-card__email {
    margin: 0;
    font-size: 0.86rem;
    word-break: break-word;
}

.org-report-parent-card__email a {
    color: #0369a1;
}

.org-report-parent-card__phone {
    margin: 0;
    font-size: 0.84rem;
    color: #475569;
}

.org-report-parent-card__children {
    margin-top: 0.25rem;
    padding-top: 0.65rem;
    border-top: 1px dashed rgba(148, 163, 184, 0.5);
}

.org-report-parent-card__children-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 0.35rem;
}

.org-report-parent-card__children-list {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.86rem;
    line-height: 1.45;
    color: #334155;
}

.org-report-parent-card__child-meta {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
}

/* Veli raporu — alt alta liste + detay (drawer) */
.org-report-parent-stack {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

.org-report-parent-drawer {
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.org-report-parent-drawer__summary {
    cursor: pointer;
    list-style: none;
}

.org-report-parent-drawer__summary::-webkit-details-marker {
    display: none;
}

.org-report-parent-drawer__summary-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem 1rem;
    padding: 1rem 1.1rem;
}

.org-report-parent-drawer__lead {
    flex: 1 1 12rem;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.org-report-parent-drawer__name {
    font-weight: 700;
    font-size: 1.06rem;
    color: #0f172a;
}

.org-report-parent-drawer__quick {
    font-size: 0.865rem;
    color: #475569;
    line-height: 1.45;
    word-break: break-word;
}

.org-report-parent-drawer__mailto {
    color: #0369a1;
    font-weight: 600;
}

.org-report-parent-drawer__mailto:hover {
    text-decoration: underline;
}

.org-report-parent-drawer__muted-label {
    color: #94a3b8;
}

.org-report-parent-drawer__dot {
    margin: 0 0.2rem;
    color: #cbd5e1;
}

.org-report-parent-drawer__preview {
    font-size: 0.82rem;
    line-height: 1.4;
    color: #64748b;
}

.org-report-parent-drawer__status {
    font-weight: 500;
    color: #64748b;
}

.org-report-parent-drawer__action {
    flex-shrink: 0;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.38rem;
    padding: 0.35rem 0.92rem;
    font-size: 0.885rem;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid rgba(45, 212, 191, 0.45);
    background: #fff;
    color: #0f766e !important;
    transition: background 0.14s ease, border-color 0.14s ease;
    user-select: none;
}

.org-report-parent-drawer:hover .org-report-parent-drawer__action {
    background: #f0fdfa;
}

.org-report-parent-drawer__summary:focus {
    outline: none;
}

.org-report-parent-drawer__summary:focus-visible {
    outline: 2px solid rgba(45, 212, 191, 0.55);
    outline-offset: -2px;
    border-radius: var(--radius-md);
}

.org-report-parent-drawer[open] .org-report-parent-drawer__action {
    background: rgba(13, 148, 136, 0.12);
    border-color: #0d9488;
}

.org-report-parent-drawer__body {
    padding: 0 1rem 1rem;
    border-top: 1px dashed #e2e8f0;
    background: #f8fafc;
}

.org-report-parent-drawer__table {
    font-size: 0.865rem;
    margin: 0 !important;
}

.org-report-parent-drawer__table th,
.org-report-parent-drawer__table td {
    vertical-align: top;
}

@media (max-width: 640px) {
    .org-report-parent-drawer__summary-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .org-report-parent-drawer__action {
        width: 100%;
        justify-content: center;
    }
}

.org-report-toolbar {
    margin: 1rem 0;
}

.org-report-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem 1rem;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
}

.org-report-filters .form-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.3rem;
}

.org-report-filters input[type="date"],
.org-report-filters input[type="number"],
.org-report-filters input[type="search"],
.org-report-filters select {
    padding: 0.4rem 0.55rem;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
    font-size: 0.88rem;
    font-family: var(--font);
    min-width: 10rem;
}

.org-report-filters .form-field--checkbox {
    display: flex;
    align-items: center;
    min-width: 12rem;
    padding-bottom: 0.15rem;
}

.org-report-filters .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.86rem;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
}

.org-report-filters .checkbox-label input {
    width: auto;
    min-width: 0;
    margin: 0;
}

.org-report-filters__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

/* Ara/rol alanlarıyla aynı satırda: genel .btn min-height burada şişkin görünmesin */
.org-report-filters__actions .btn--sm {
    min-height: 0;
    padding: 0.4rem 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.35;
}

.org-report-page-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0.5rem 0 1rem;
}

.org-report-page-actions__tools {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

/* Veri izleme (denetim günlüğü) — ayrıntılar */
.audit-log-meta {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.8rem;
    line-height: 1.45;
}

.audit-log-meta__row {
    display: grid;
    grid-template-columns: minmax(6.5rem, 38%) minmax(0, 1fr);
    gap: 0.2rem 0.5rem;
    padding: 0.2rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.audit-log-meta__row:last-child {
    border-bottom: none;
}

.audit-log-meta__label {
    font-weight: 600;
    color: #475569;
}

.audit-log-meta__value {
    color: #0f172a;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.audit-log-meta__ip {
    margin: 0.4rem 0 0;
    font-size: 0.75rem;
    color: #64748b;
}

.audit-log__details-cell {
    min-width: 12rem;
    max-width: 22rem;
    vertical-align: top;
}

.audit-log__action-cell {
    min-width: 11rem;
    max-width: 18rem;
    vertical-align: top;
}

.audit-log-action {
    margin: 0;
}

.audit-log-action__title {
    margin: 0;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.4;
    color: #0f172a;
}

.audit-log-action__hint {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    line-height: 1.35;
    color: #64748b;
}

/* Erişim günlüğü — filtre, mobil kart tablo */
.access-logs-page__header {
    margin-bottom: 1rem;
}

.access-logs-page__title {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.access-logs-page__intro {
    margin: 0;
}

.access-logs-toolbar {
    margin: 0 0 0.85rem;
}

.access-logs-filters {
    align-items: flex-end;
}

.access-logs-filters__user {
    flex: 1 1 16rem;
    min-width: min(100%, 18rem);
    max-width: 36rem;
    margin: 0;
}

.access-logs-user-select {
    position: relative;
    display: flex;
    align-items: stretch;
    border-radius: var(--radius-md);
    border: 1px solid #cbd5e1;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.access-logs-user-select:focus-within {
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.14);
}

.access-logs-user-select--all {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.access-logs-user-select--selected {
    border-color: #99f6e4;
    background: linear-gradient(180deg, #f0fdfa 0%, #fff 100%);
}

.access-logs-user-select__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.65rem;
    color: #64748b;
    border-right: 1px solid #e2e8f0;
    background: rgba(248, 250, 252, 0.85);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.access-logs-user-select--selected .access-logs-user-select__icon {
    color: #0d9488;
    background: rgba(204, 251, 241, 0.45);
    border-right-color: #99f6e4;
}

.access-logs-user-select__input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0.62rem 2.25rem 0.62rem 0.75rem;
    border: 0;
    background: transparent;
    font-size: 0.9rem;
    font-family: var(--font);
    color: #0f172a;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.65rem center;
    background-size: 1.1rem;
    cursor: pointer;
}

.access-logs-user-select__input:focus {
    outline: none;
}

.access-logs-filters__status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin: 0.45rem 0 0;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #64748b;
}

.access-logs-filters__status-label {
    font-weight: 600;
    color: #475569;
}

.access-logs-filters__status-email {
    font-size: 0.78rem;
    color: #64748b;
    word-break: break-all;
}

.access-logs-filters__status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.access-logs-filters__status-hint {
    flex: 1 1 100%;
    font-size: 0.76rem;
    color: #94a3b8;
}

.access-logs-maintenance {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid #fde68a;
    border-radius: var(--radius-md);
    background: #fffbeb;
}

.access-logs-maintenance__title {
    margin: 0 0 0.25rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #92400e;
}

.access-logs-maintenance__hint {
    margin: 0 0 0.65rem;
    font-size: 0.8rem;
    line-height: 1.45;
    color: #a16207;
}

.access-logs-maintenance__form {
    margin: 0;
}

.access-logs-maintenance__btn {
    border-color: #fcd34d;
    color: #92400e;
}

.access-logs-maintenance__btn:hover {
    background: #fef3c7;
}

.access-logs-page__summary {
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
}

.access-logs-page__pagination {
    margin-top: 1rem;
}

.access-logs__email {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.78rem;
}

.access-logs__path,
.access-logs__route {
    font-size: 0.78rem;
    word-break: break-all;
    overflow-wrap: anywhere;
}

.access-log-method {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.65rem;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    line-height: 1.35;
}

.access-log-method--get {
    background: #ecfdf5;
    color: #047857;
}

.access-log-method--post {
    background: #eff6ff;
    color: #1d4ed8;
}

.access-log-method--mutate {
    background: #fff7ed;
    color: #c2410c;
}

.access-log-method--delete {
    background: #fef2f2;
    color: #b91c1c;
}

.access-log-method--other {
    background: #f1f5f9;
    color: #475569;
}

.data-table--access-logs-stack .access-logs__cell--method-desktop {
    white-space: nowrap;
}

.access-logs__time-row {
    display: block;
}

.access-logs__method-inline {
    display: none;
}

/* Eğiticiler listesi: e-posta ve sınıf metni taşmasın */
.org-report-teachers-wrap .data-table td.data-table__cell-email-narrow {
    max-width: min(20rem, 42vw);
    word-break: break-word;
    overflow-wrap: anywhere;
}

.org-report-teachers-wrap .data-table--org-teachers tbody td.data-table__cell-multiline {
    line-height: 1.45;
}

.parent-form__tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0 1rem;
}

.parent-enrollment-form .form-fieldset {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 1rem 1rem 0.25rem;
    margin: 0 0 1rem;
}

.parent-enrollment-form .form-fieldset legend {
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0 0.35rem;
    color: #0f172a;
}

.parent-enrollment-form .form-field--full {
    grid-column: 1 / -1;
}

.parent-enrollment-form .form-field--check {
    grid-column: 1 / -1;
}

/* Zorunlu alan işareti (veli öğrenci formu) */
.parent-enrollment-form .field-label--required::after {
    content: ' *';
    color: #b91c1c;
    font-weight: 700;
}

.parent-enrollment-form label.field-label--required.check > span::after {
    content: ' *';
    color: #b91c1c;
    font-weight: 700;
}

.sepa-block {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: var(--radius-sm);
}

.legal-dialog--wide {
    max-width: min(94vw, 44rem);
}

.legal-dialog__lead {
    margin: 0 0 0.85rem;
    padding-right: 2rem;
    font-size: 0.86rem;
    line-height: 1.45;
    color: #64748b;
}

.legal-dialog {
    max-width: min(92vw, 40rem);
    width: 100%;
    border: none;
    border-radius: var(--radius-md);
    padding: 0;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
}

.legal-dialog::backdrop {
    background: rgba(15, 23, 42, 0.45);
}

.legal-dialog__inner {
    position: relative;
    padding: 1.25rem 1.25rem 1rem;
}

.legal-dialog__close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
}

.legal-dialog__h {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    padding-right: 2rem;
}

.legal-dialog__scroll {
    max-height: min(70vh, 28rem);
    overflow-y: auto;
    font-size: 0.86rem;
    line-height: 1.5;
    color: #334155;
}

.legal-dialog__sep {
    margin: 1rem 0;
    border: none;
    border-top: 1px solid #e2e8f0;
}

.legal-prose h3,
.legal-prose h4 {
    margin: 1rem 0 0.5rem;
    font-size: 1rem;
}

.legal-prose p {
    margin: 0 0 0.65rem;
}

.auth-field textarea {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
    font-family: var(--font);
    font-size: 0.92rem;
    min-height: 5rem;
}

/* Veli öğrenci kaydı — profesyonel kart düzeni */
.parent-enrollment-pro {
    max-width: 52rem;
    margin: 0 auto;
}

.enrollment-hero {
    padding: 1.25rem 1.35rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 45%, #f8fafc 100%);
    border: 1px solid #99f6e4;
    box-shadow: 0 4px 20px rgba(15, 118, 110, 0.08);
}

.enrollment-hero__season {
    margin: 0 0 0.35rem;
    font-size: 0.88rem;
    color: #0f766e;
    font-weight: 600;
}

.enrollment-hero__intro {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #334155;
}

.enrollment-hero__intro--compact {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.enrollment-hero__legend {
    color: #64748b !important;
    font-size: 0.82rem !important;
    margin-bottom: 0 !important;
}

.enrollment-hero__tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(45, 212, 191, 0.35);
}

.enrollment-hero__tools-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    width: 100%;
}

@media (min-width: 520px) {
    .enrollment-hero__tools-label {
        width: auto;
        margin-right: 0.25rem;
    }
}

.enrollment-form {
    display: block;
}

.enrollment-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    margin-bottom: 1.15rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.enrollment-card--consents {
    border-color: #cbd5e1;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.enrollment-card__head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.enrollment-card__step {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #0f766e;
    color: #fff;
    font-weight: 800;
    font-size: 0.92rem;
}

.enrollment-card__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.enrollment-card__subtitle {
    margin: 0.35rem 0 0;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.45;
}

.enrollment-card__body {
    padding: 1.1rem 1.15rem 1.25rem;
}

.enrollment-callout {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    background: #f1f5f9;
    border-radius: var(--radius-sm);
    border-left: 4px solid #0d9488;
}

.field-hint {
    margin: 0 0 0.4rem;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.4;
}

.signature-field-wrap {
    margin-top: 0.25rem;
}

.signature-pad-box {
    border: 2px dashed #94a3b8;
    border-radius: var(--radius-md);
    background: #fff;
    overflow: hidden;
    touch-action: none;
}

.signature-canvas {
    display: block;
    width: 100%;
    height: 200px;
    cursor: crosshair;
    touch-action: none;
}

.signature-pad-actions {
    margin-top: 0.5rem;
}

.consent-block {
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.consent-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.consent-block__title {
    margin: 0 0 0.65rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #475569;
}

.consent-block__note {
    margin: 0.5rem 0 0.75rem;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
    padding: 0.5rem 0.65rem;
    background: #f8fafc;
    border-radius: var(--radius-sm);
}

button.consent-inline-link {
    display: inline;
    margin: 0 0 0 0.35rem;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    font-weight: 600;
    font-size: inherit;
    color: #0f766e;
    text-decoration: underline;
    text-underline-offset: 0.12em;
    cursor: pointer;
}

button.consent-inline-link:hover {
    color: #115e59;
}

.check--legal {
    align-items: flex-start;
    margin-bottom: 0.65rem;
    line-height: 1.45;
    font-size: 0.9rem;
    color: #334155;
}

.check--legal input {
    margin-top: 0.2rem;
}

.enrollment-submit {
    margin: 1.5rem 0 2rem;
    padding-top: 0.5rem;
}

.btn--lg {
    min-height: 2.85rem;
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem;
}

/* =============================================================================
   Mobil uyumluluk — panel (_layout) ve ortak bileşenler
   Tablolar: yatay kaydırma (.table-wrap). Formlar: sütun, tam genişlik alanlar.
   ============================================================================= */

@media (max-width: 767px) {
    .app-main-column {
        min-width: 0;
    }

    .app-main {
        max-width: 100%;
        padding: 0.85rem max(0.65rem, env(safe-area-inset-right, 0px)) 2rem max(0.65rem, env(safe-area-inset-left, 0px));
    }

    .surface {
        padding: 1rem 0.85rem;
        border-radius: var(--radius-md);
    }

    .app-header {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        align-content: flex-start;
        gap: 0.4rem 0.5rem;
        padding-top: max(0.5rem, env(safe-area-inset-top, 0px));
        padding-bottom: 0.55rem;
        padding-left: max(0.5rem, env(safe-area-inset-left, 0px));
        padding-right: max(0.5rem, env(safe-area-inset-right, 0px));
    }

    .app-header__start {
        flex: 1 1 auto;
        min-width: 0;
        gap: 0.4rem;
    }

    .app-header__brand {
        gap: 0.45rem;
        min-width: 0;
        flex: 1;
    }

    .app-header__text {
        min-width: 0;
    }

    .app-header__text strong {
        font-size: 0.82rem;
        line-height: 1.25;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .app-header__logo-img,
    .app-header__mark {
        width: 76px;
        height: 76px;
        border-radius: 18px;
        flex-shrink: 0;
    }

    .app-header__mark {
        font-size: 1.15rem;
    }

    .app-nav-toggle {
        width: 2.35rem;
        height: 2.35rem;
        flex-shrink: 0;
    }

    .app-header__actions {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin-top: 0.15rem;
        padding-top: 0.45rem;
        border-top: 1px solid rgba(148, 163, 184, 0.18);
        justify-content: flex-end;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.4rem 0.45rem;
    }

    .app-header__actions .btn--ghost,
    .app-header__actions .btn {
        font-size: 0.75rem;
        line-height: 1.2;
        padding: 0.4rem 0.6rem;
        min-height: 2.1rem;
    }

    .app-header__actions > .btn {
        flex: 0 1 auto;
        min-width: 0;
        justify-content: center;
    }

    .app-header .lang-switch--menu > .lang-switch__summary {
        padding: 0.32rem 0.45rem 0.32rem 0.38rem;
        gap: 0.28rem;
        border-radius: 9px;
    }

    .app-header .lang-switch__icon svg {
        width: 18px;
        height: 18px;
    }

    .app-header .lang-switch__code {
        font-size: 0.65rem;
    }

    .app-header .lang-switch__caret svg {
        width: 12px;
        height: 12px;
    }

    .app-header .lang-switch__panel {
        min-width: 10.25rem;
    }

    .app-header__logout {
        margin-left: 0;
        flex: 0 0 auto;
    }

    .app-header__logout-icon {
        display: inline-flex;
    }

    .app-header__logout-icon svg {
        width: 1.2rem;
        height: 1.2rem;
    }

    .app-header__logout-text {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .app-header__logout .app-header__logout-btn {
        position: relative;
        min-height: 2.15rem;
        min-width: 2.15rem;
        padding: 0.35rem;
    }

    .prose-muted {
        font-size: 0.88rem;
    }

    .h2 {
        font-size: 0.95rem;
    }

    .form-grid {
        max-width: 100%;
    }

    .form-grid--inline .form-field {
        flex: 1 1 100%;
        min-width: 0;
    }

    .form-grid--inline.teacher-document-filters .form-field {
        max-width: none;
    }

    .form-grid--inline.teacher-document-filters input[type='date'] {
        min-width: 0;
        width: 100%;
    }

    .form-grid--inline.teacher-document-filters .teacher-document-filters__actions {
        flex: 1 1 100%;
    }

    .form-grid--inline.teacher-document-filters .teacher-document-filters__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .form-grid--inline.salary-payroll-filters .salary-payroll-filters__year,
    .form-grid--inline.salary-payroll-filters .salary-payroll-filters__month,
    .form-grid--inline.salary-payroll-filters .salary-payroll-filters__payment,
    .form-grid--inline.salary-payroll-filters .salary-payroll-filters__role,
    .form-grid--inline.salary-payroll-filters .salary-payroll-filters__search {
        flex: 1 1 100%;
        max-width: none;
        min-width: 0;
    }

    .form-grid--inline.salary-payroll-filters .salary-payroll-filters__actions {
        flex: 1 1 100%;
        width: 100%;
        justify-content: stretch;
    }

    .form-grid--inline.salary-payroll-filters .salary-payroll-filters__actions .btn {
        flex: 1 1 auto;
        min-width: 0;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .table-wrap {
        border-radius: var(--radius-sm);
    }

    .data-table {
        font-size: 0.78rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.45rem 0.5rem;
    }

    .data-table td {
        word-break: normal;
        overflow-wrap: break-word;
    }

    .super-admin-dashboard__hero {
        padding: 1rem 1rem;
    }

    .super-admin-dashboard__actions {
        grid-template-columns: 1fr;
    }

    .super-admin-dashboard__stat-grid--accounts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
        margin-top: 1rem;
    }

    .stat-card {
        padding: 0.75rem 0.8rem;
    }

    .stat-card__value {
        font-size: 1.35rem;
    }

    .stat-card__label {
        font-size: 0.72rem;
    }

    .org-class-grid {
        grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
        gap: 0.55rem;
    }

    .org-attendance-detail-head {
        flex-direction: column;
        align-items: stretch;
    }

    .org-attendance-detail-meta {
        text-align: left;
        width: 100%;
    }

    .org-report-filters {
        flex-direction: column;
        align-items: stretch;
        padding: 0.85rem;
        gap: 0.65rem;
    }

    .org-report-filters input[type="date"],
    .org-report-filters input[type="number"],
    .org-report-filters input[type="search"],
    .org-report-filters select {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .org-report-filters .form-field--checkbox {
        min-width: 0;
        width: 100%;
    }

    .org-report-filters__actions {
        width: 100%;
        justify-content: stretch;
    }

    .org-report-filters__actions .btn {
        flex: 1 1 auto;
        min-width: 0;
    }

    .org-report-page-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.55rem;
    }

    .org-report-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .org-report-stat-card {
        padding: 0.75rem 0.8rem;
    }

    .org-report-stat-card__value {
        font-size: 1.35rem;
    }

    .org-tuition-kpi-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .org-tuition-kpi-card {
        min-height: auto;
        padding: 1rem 1.05rem 0.95rem;
    }

    .org-tuition-kpi-card__value {
        font-size: 1.45rem;
    }

    .org-report-link-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .org-report-parent-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .org-report-chart-card__canvas {
        height: 200px;
    }

    .org-report-chart-card__canvas--tall {
        height: min(300px, 52vh);
    }

    .org-report-toolbar {
        margin: 0.75rem 0;
    }

    .parent-form__tools {
        flex-direction: column;
        align-items: stretch;
    }

    .parent-form__tools .btn {
        width: 100%;
        justify-content: center;
    }

    .salary-payroll__th-action {
        min-width: 0;
    }

    .salary-payroll__mark-all-form .btn {
        white-space: normal;
        text-align: center;
        line-height: 1.25;
    }

    .enrollment-hero__tools {
        flex-direction: column;
        align-items: stretch;
    }

    /* iOS Safari: input odakta otomatik yakınlaştırmayı azaltır */
    .form-field input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
    .form-field select,
    .form-field textarea {
        font-size: 16px;
    }

    .org-report-filters input[type="date"],
    .org-report-filters input[type="number"],
    .org-report-filters input[type="search"],
    .org-report-filters select,
    .org-attendance-date-form input[type="date"],
    .date-jump-form input[type="date"] {
        font-size: 16px;
    }

    .lang-switch--floating {
        top: max(0.65rem, env(safe-area-inset-top, 0px));
        right: max(0.65rem, env(safe-area-inset-right, 0px));
    }

    .form-grid--classroom-wide {
        max-width: 100%;
    }

    .form-field--lesson-slots {
        min-width: 0;
    }

    .classroom-form-lesson-slots {
        padding: 0.75rem 0.85rem;
    }

    .classroom-form-lesson-slots__hint {
        display: none;
    }

    .lesson-slots-table-wrap {
        overflow: visible;
        border: 0;
        background: transparent;
        margin-top: 0.35rem;
    }

    .lesson-slots-table,
    .lesson-slots-table thead,
    .lesson-slots-table tbody,
    .lesson-slots-table tr,
    .lesson-slots-table td {
        display: block;
        width: 100%;
    }

    .lesson-slots-table thead {
        display: none;
    }

    .lesson-slots-table tbody tr.lesson-slot-row {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 0.75rem;
        box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
        padding: 0.75rem 0.9rem;
        margin-bottom: 0.65rem;
    }

    .lesson-slots-table td {
        padding: 0.4rem 0;
        border: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
    }

    .lesson-slots-table td::before {
        content: attr(data-label);
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: #64748b;
    }

    .lesson-slots-table td:not([data-label])::before,
    .lesson-slots-table td[data-label=""]::before {
        content: none;
    }

    .lesson-slots-table td .btn.lesson-slot-remove {
        align-self: flex-end;
    }

    .lesson-slots-table .lesson-slots__weekday,
    .lesson-slots-table .lesson-slots__time {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .classroom-form-lesson-slots .lesson-slots__time,
    .classroom-form-lesson-slots .lesson-slots__weekday {
        font-size: 16px;
    }

    /* Sınıf duyuruları listesi (öğretici + süper yönetici): mobil kart */
    .announcements-table-wrap {
        overflow: visible;
        box-shadow: none;
        background: transparent;
        padding: 0;
        border: 0;
    }

    .announcements-table,
    .announcements-table thead,
    .announcements-table tbody,
    .announcements-table tr,
    .announcements-table td {
        display: block;
        width: 100%;
    }

    .announcements-table thead {
        display: none;
    }

    .announcements-table tbody tr {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 0.75rem;
        box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
        padding: 0.85rem 1rem;
        margin-bottom: 0.75rem;
    }

    .announcements-table tbody tr:has(td.empty-state) {
        box-shadow: none;
        border: 1px dashed #cbd5e1;
        background: transparent;
        text-align: center;
    }

    .announcements-table td {
        padding: 0.35rem 0;
        border: 0;
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .announcements-table td::before {
        content: attr(data-label);
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #64748b;
    }

    .announcements-table td:not([data-label])::before,
    .announcements-table td[data-label=""]::before {
        content: none;
    }

    .announcements-table td:first-child {
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 0.6rem;
        margin-bottom: 0.2rem;
    }

    .announcements-table td:first-child::before {
        display: none;
    }

    .announcements-table td:first-child strong {
        font-size: 1rem;
    }

    .announcements-table td:last-child {
        border-top: 1px solid #f1f5f9;
        padding-top: 0.6rem;
        margin-top: 0.2rem;
    }

    .announcements-table td.empty-state {
        padding: 1.25rem;
        color: #64748b;
    }

    .announcements-table td.empty-state::before {
        display: none;
    }
}

/* Eğitim aidatları / maaş hakediş — mobil filtre + kart tablo */
@media (max-width: 767px) {
    .tuition-filters.form-grid--inline {
        max-width: none !important;
        margin: 1rem 0 1.1rem;
    }

    .tuition-filters .tuition-filters__actions {
        flex: 1 1 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.45rem;
    }

    .tuition-filters .tuition-filters__actions .btn {
        width: 100%;
        min-height: 2.65rem;
        justify-content: center;
    }

    .tuition-page .tuition-filters .tuition-filters__actions .btn.tuition-filters__export-btn {
        min-height: 0;
        padding: 0.65rem 0.5rem;
        line-height: 1.3;
        font-size: 1rem;
    }

    .form-grid--inline.org-work-hours-filters {
        max-width: 100% !important;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .form-grid--inline.org-work-hours-filters .form-field {
        min-width: 0;
    }

    .form-grid--inline.org-work-hours-filters .form-field input,
    .form-grid--inline.org-work-hours-filters .form-field select {
        min-width: 0;
        max-width: 100%;
    }

    .form-grid--inline.org-work-hours-filters .org-work-hours-filters__actions {
        width: 100%;
    }

    .form-grid--inline.org-work-hours-filters .org-work-hours-filters__actions .btn.org-work-hours-filters__export-btn {
        width: 100%;
        min-height: 0;
        padding: 0.65rem 0.5rem;
        line-height: 1.3;
        font-size: 1rem;
        justify-content: center;
    }

    .salary-payroll-page .salary-payroll-filters.form-grid--inline {
        margin: 0;
    }

    .salary-payroll-page__filter-head {
        flex-direction: column;
        align-items: stretch;
    }

    .salary-payroll-page__bulk {
        width: 100%;
    }

    .salary-payroll-page__bulk .salary-payroll__mark-all-form {
        width: 100%;
    }

    .salary-payroll-page .salary-payroll__mark-all-btn {
        width: 100%;
        min-height: 2.65rem;
        justify-content: center;
        white-space: normal;
        text-align: center;
        line-height: 1.25;
    }

    .salary-payroll-page {
        min-width: 0;
        max-width: 100%;
    }

    .salary-payroll-page__filter-card {
        max-width: 100%;
        overflow-x: clip;
        box-sizing: border-box;
        padding: 0.6rem 0.55rem 0.7rem;
        border-radius: 0.7rem;
    }

    .salary-payroll-page .salary-payroll-filters.form-grid--inline {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .salary-payroll-page .salary-payroll-filters .form-field {
        min-width: 0;
        max-width: 100%;
    }

    .salary-payroll-page .salary-payroll-filters .form-field input,
    .salary-payroll-page .salary-payroll-filters .form-field select {
        min-width: 0;
        max-width: 100%;
    }

    .salary-payroll-page .salary-payroll-filters .org-report-filters__actions,
    .salary-payroll-page .salary-payroll-filters .salary-payroll-filters__actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 0.5rem;
        box-sizing: border-box;
    }

    .salary-payroll-page .salary-payroll-filters .org-report-filters__actions .btn,
    .salary-payroll-page .salary-payroll-filters .salary-payroll-filters__actions .btn {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        min-height: 2.5rem;
        justify-content: center;
        box-sizing: border-box;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .salary-payroll-page .salary-payroll-filters .salary-payroll-filters__actions .btn.salary-payroll-filters__export-btn {
        min-height: 0;
        padding: 0.65rem 0.5rem;
        line-height: 1.3;
        font-size: 1rem;
    }

    .salary-payroll-page__summary-value {
        font-size: 1.05rem;
    }

    .salary-payroll-page__summary-note {
        font-size: 0.75rem;
    }

    .tuition-page.tuition-bank-preview .tuition-table-wrap,
    .staff-pool-page .staff-pool-table-wrap,
    .parent-students-page .parent-students-table-wrap,
    .access-logs-page .access-logs-table-wrap {
        border: none;
        background: transparent;
        margin-top: 0.35rem;
        max-width: 100%;
        min-width: 0;
    }

    .salary-payroll-page .salary-payroll-table-wrap {
        margin-top: 0.35rem;
        max-width: 100%;
        min-width: 0;
    }

    .data-table--tuition-stack thead,
    .data-table--parent-students-stack thead,
    .data-table--access-logs-stack thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .data-table--tuition-stack tbody tr,
    .data-table--parent-students-stack tbody tr,
    .data-table--access-logs-stack tbody tr {
        display: block;
        margin-bottom: 0.85rem;
        border: 1px solid #e2e8f0;
        border-radius: var(--radius-md);
        background: #fff;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
        overflow: hidden;
    }

    .data-table--tuition-stack tbody td,
    .data-table--parent-students-stack tbody td,
    .data-table--access-logs-stack tbody td {
        display: grid;
        grid-template-columns: minmax(5rem, 32%) minmax(0, 1fr);
        gap: 0.35rem 0.55rem;
        padding: 0.5rem 0.65rem;
        border-bottom: 1px solid #f1f5f9;
        align-items: start;
        font-size: 0.82rem;
        min-width: 0;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .data-table--tuition-stack tbody td:last-child,
    .data-table--parent-students-stack tbody td:last-child,
    .data-table--access-logs-stack tbody td:last-child {
        border-bottom: none;
    }

    .data-table--tuition-stack tbody td::before,
    .data-table--parent-students-stack tbody td::before,
    .data-table--access-logs-stack tbody td::before {
        content: attr(data-label);
        font-size: 0.64rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #64748b;
        line-height: 1.3;
        padding-top: 0.08rem;
    }

    .data-table--tuition-stack tbody td.tuition-table__cell--action,
    .data-table--parent-students-stack tbody td.parent-students__cell--stack-block {
        display: block;
    }

    .data-table--tuition-stack tbody td.tuition-table__cell--action::before,
    .data-table--parent-students-stack tbody td.parent-students__cell--stack-block::before {
        display: block;
        margin-bottom: 0.35rem;
    }

    .data-table--access-logs-stack .access-logs__cell--time {
        display: block;
        padding: 0.65rem 0.75rem;
        background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
        border-bottom: 1px solid #e2e8f0;
    }

    .data-table--access-logs-stack .access-logs__cell--time::before {
        display: none;
        content: none;
    }

    .data-table--access-logs-stack .access-logs__time-row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.45rem 0.65rem;
    }

    .data-table--access-logs-stack .access-logs__time-row .access-logs__time {
        font-size: 0.86rem;
        font-weight: 700;
        color: #0f172a;
        font-variant-numeric: tabular-nums;
    }

    .data-table--access-logs-stack .access-logs__method-inline {
        display: inline-flex;
    }

    .data-table--access-logs-stack .access-logs__cell--method-desktop {
        display: none;
    }

    .data-table--access-logs-stack .access-logs__cell--path {
        display: block;
    }

    .data-table--access-logs-stack .access-logs__cell--path::before {
        display: block;
        margin-bottom: 0.3rem;
    }

    .access-logs-page__title {
        font-size: 1.15rem;
    }

    .access-logs-filters {
        flex-direction: column;
        align-items: stretch;
        padding: 0.85rem;
    }

    .access-logs-filters__user {
        max-width: none;
        width: 100%;
    }

    .access-logs-user-select__input {
        font-size: 16px;
    }

    .access-logs-filters__status {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .access-logs-filters .org-report-filters__actions {
        width: 100%;
    }

    .access-logs-filters .org-report-filters__actions .btn {
        width: 100%;
        min-height: 2.5rem;
        justify-content: center;
    }

    .access-logs-maintenance {
        padding: 0.75rem 0.85rem;
    }

    .access-logs-maintenance__btn {
        width: 100%;
        min-height: 2.5rem;
        justify-content: center;
    }

    .access-logs-page__summary {
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .data-table--tuition-stack .tuition-table__action-form {
        margin: 0;
        display: block;
    }

    /* Personel havuz — mobil: kart yok; yatay kaydır + başlıklar görünür, işlem sütunu yapışkan */
    .staff-pool-page .staff-pool-table-wrap.table-wrap {
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        margin-top: 0.35rem;
        padding-bottom: 0.15rem;
        border: 1px solid #e2e8f0;
        border-radius: var(--radius-md);
        background: #fff;
    }

    .staff-pool-page .staff-pool-table-wrap .data-table--staff-pool-stack {
        width: max-content;
        min-width: 100%;
        table-layout: auto;
    }

    .staff-pool-page .data-table--staff-pool-stack thead th {
        vertical-align: bottom;
        background: #f1f5f9;
        border-bottom: 1px solid #e2e8f0;
    }

    .staff-pool-page .data-table--staff-pool-stack .data-table__cell-student {
        min-width: 9.5rem;
        max-width: 13rem;
    }

    .staff-pool-page .data-table--staff-pool-stack td:nth-child(2) {
        min-width: 8rem;
        white-space: nowrap;
    }

    .staff-pool-page .data-table--staff-pool-stack td:nth-child(3) {
        min-width: 11rem;
        max-width: 16rem;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .staff-pool-page .data-table--staff-pool-stack td:nth-child(4) {
        min-width: 7.25rem;
    }

    .staff-pool-page .data-table--staff-pool-stack .staff-pool__cell--action,
    .staff-pool-page .data-table--staff-pool-stack thead th:last-child {
        position: sticky;
        right: 0;
        z-index: 3;
        min-width: 14.5rem;
        background: #fff;
        box-shadow:
            inset 1px 0 0 rgba(226, 232, 240, 0.95),
            -8px 0 18px rgba(15, 23, 42, 0.04);
        vertical-align: middle;
    }

    .staff-pool-page .data-table--staff-pool-stack thead th:last-child {
        z-index: 4;
        background: linear-gradient(90deg, rgba(241, 245, 249, 0) 0%, #f1f5f9 14%, #f1f5f9 100%);
        box-shadow:
            inset 1px 0 0 rgba(226, 232, 240, 0.95),
            -6px 0 14px rgba(15, 23, 42, 0.04);
    }

    .staff-pool-page .data-table--staff-pool-stack .staff-pool-enroll-form {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0.45rem;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .staff-pool-page .data-table--staff-pool-stack .staff-pool-enroll-form select {
        flex: 1 1 9.5rem;
        min-width: 9rem;
        max-width: 18rem;
        width: auto;
        min-height: 2.75rem;
        font-size: 16px;
        box-sizing: border-box;
    }

    .staff-pool-page .data-table--staff-pool-stack .staff-pool-enroll-form .btn {
        flex: 0 0 auto;
        width: auto;
        min-width: 7rem;
        min-height: 2.75rem;
        padding-inline: 0.75rem;
        white-space: nowrap;
        justify-content: center;
    }

    .staff-pool-page__header {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .staff-pool-page__intro {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .data-table--tuition-stack .tuition-table__action-btn {
        width: 100%;
        min-height: 2.5rem;
        justify-content: center;
        font-size: 0.78rem;
    }

    .data-table--tuition-stack tbody td.tuition-table__cell--empty {
        display: block;
        border: none;
        padding: 1rem 0.75rem;
        text-align: center;
    }

    .data-table--tuition-stack tbody td.tuition-table__cell--empty::before {
        display: none;
    }

    .data-table--parent-students-stack .parent-students__tracking-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.45rem;
    }

    .data-table--parent-students-stack .parent-students__tracking-actions .btn {
        width: 100%;
        min-height: 2.5rem;
        justify-content: center;
        font-size: 0.78rem;
    }

    .data-table--parent-students-stack .parent-students__deletion-reason {
        min-width: 0;
    }

    .data-table--parent-students-stack .parent-students__deletion-form,
    .data-table--parent-students-stack .parent-students__deletion-cancel-form {
        display: block;
        width: 100%;
    }

    .data-table--parent-students-stack .parent-students__deletion-cancel-form .btn {
        width: 100%;
        min-height: 2.45rem;
        justify-content: center;
    }

    .data-table--parent-students-stack .parent-students__deletion-submit {
        width: 100%;
        min-height: 2.45rem;
        justify-content: center;
        margin-top: 0.45rem;
    }

    .data-table--parent-students-stack .parent-status-cell {
        max-width: none;
        width: 100%;
        min-width: 0;
    }

    .data-table--parent-students-stack .parent-status-cell__hint {
        word-break: normal;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .data-table--parent-students-stack .badge {
        white-space: normal;
        line-height: 1.35;
        max-width: 100%;
        box-sizing: border-box;
    }

    .data-table--parent-students-stack tbody td.parent-students__cell--registration {
        max-width: none;
    }

    /* Maaş hakediş — mobil: masaüstü sütunları, yatay kaydırma (kart yok) */
    .salary-payroll-page__header {
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .salary-payroll-page__eyebrow {
        display: block;
    }

    .salary-payroll-page__title {
        font-size: 1.05rem;
    }

    .salary-payroll-page__intro,
    .salary-payroll-page__rates {
        display: block;
        font-size: 0.82rem;
        line-height: 1.45;
        margin-top: 0.4rem;
    }

    .salary-payroll-page__filter-title {
        font-size: 0.62rem;
    }

    .salary-payroll-page__filter-head {
        margin-bottom: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .salary-payroll-page__summary {
        margin-top: 0.75rem;
        padding: 0.75rem 0.7rem;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 0.7rem;
    }

    .salary-payroll-page__summary-row {
        justify-content: space-between;
        gap: 0.5rem 1rem;
    }

    .salary-payroll-page .salary-payroll-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        border: 1px solid #e8ecf1;
        border-radius: 8px;
        background: #fff;
    }

    .salary-payroll-page .data-table--salary-payroll {
        width: 100%;
        min-width: 48rem;
        border-collapse: collapse;
    }

    .salary-payroll-page .data-table--salary-payroll thead th:first-child,
    .salary-payroll-page .data-table--salary-payroll tbody td:first-child {
        position: sticky;
        left: 0;
        z-index: 1;
    }

    .salary-payroll-page .data-table--salary-payroll thead th:first-child {
        z-index: 2;
        background: #f1f5f9;
        box-shadow: 4px 0 8px -4px rgba(15, 23, 42, 0.12);
    }

    .salary-payroll-page .data-table--salary-payroll tbody td:first-child {
        background: #fff;
        box-shadow: 4px 0 10px -4px rgba(15, 23, 42, 0.14);
    }

    /* Eğitim aidatları — mobil: maaş listesi gibi yatay kaydırma; banka CSV önizlemesi kart (stack) kalır */
    .tuition-page:not(.tuition-bank-preview) .tuition-table-wrap {
        margin-top: 0.35rem;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        border: 1px solid #e8ecf1;
        border-radius: 8px;
        background: #fff;
    }

    .tuition-page .data-table--tuition {
        width: 100%;
        min-width: 42rem;
        border-collapse: collapse;
    }

    .tuition-page .data-table--tuition thead th:first-child,
    .tuition-page .data-table--tuition tbody td:first-child {
        position: sticky;
        left: 0;
        z-index: 1;
    }

    .tuition-page .data-table--tuition thead th:first-child {
        z-index: 2;
        background: #f1f5f9;
        box-shadow: 4px 0 8px -4px rgba(15, 23, 42, 0.12);
    }

    .tuition-page .data-table--tuition tbody td:first-child {
        background: #fff;
        box-shadow: 4px 0 10px -4px rgba(15, 23, 42, 0.14);
    }
}

/* Öğretici sınıf — Yoklama / Ödev / Ezber sekmeleri */
.teacher-class-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    margin: 0 0 1.15rem;
    padding: 0 0 0.35rem;
    border-bottom: 1px solid rgba(13, 148, 136, 0.22);
}

.teacher-class-tab {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.94rem;
    font-weight: 500;
    color: rgba(15, 23, 42, 0.78);
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.teacher-class-tab:hover {
    color: rgb(13, 148, 136);
    background: rgba(20, 184, 166, 0.1);
}

.teacher-class-tab.is-active {
    color: rgb(13, 116, 110);
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(13, 148, 136, 0.35);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

@media (max-width: 380px) {
    .stat-grid,
    .org-report-stat-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .org-tuition-kpi-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ——— Public marketing landing (home) ——— */
.site-landing {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    color: #0f172a;
    background: #f1f5f9;
}

.site-landing .skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    z-index: 300;
}

.site-landing .skip-link:focus {
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    left: max(12px, env(safe-area-inset-left));
    width: auto;
    height: auto;
    margin: 0;
    padding: 0.65rem 1rem;
    clip: auto;
    clip-path: none;
    overflow: visible;
    white-space: normal;
    background: #0f766e;
    color: #ecfeff;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 120;
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
}

.site-header__inner {
    box-sizing: border-box;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0.65rem clamp(1rem, 4vw, 1.65rem);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.85rem;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.site-brand__logo {
    height: 48px;
    width: auto;
    max-width: min(170px, 40vw);
    object-fit: contain;
}

.site-brand__badge {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #0f766e, #134e4a);
    color: #ecfeff;
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: 0;
}

.site-brand__name {
    font-size: clamp(0.95rem, 2.8vw, 1.06rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-nav--desktop .site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    column-gap: 1rem;
    row-gap: 0.35rem;
    justify-content: center;
}

.site-nav--desktop .site-nav__list > li {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.site-nav--desktop .site-nav__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
    padding: 0.35rem 0.55rem;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.915rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.35;
    color: #475569;
    text-decoration: none;
    vertical-align: middle;
    transition: color 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}

.site-nav--desktop button.site-nav__item {
    border: none;
    background: transparent;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.site-nav--desktop button.site-nav__item::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.site-nav--desktop .site-nav__item:hover,
.site-nav--desktop .site-nav__item:focus-visible {
    color: #0f766e;
    background: rgba(13, 148, 136, 0.08);
}

.site-header__social {
    display: flex;
    align-items: center;
    gap: 0.32rem;
    flex-shrink: 0;
}

.site-header__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.08rem;
    height: 2.08rem;
    border-radius: 10px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(248, 250, 252, 0.85);
    color: #475569;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.site-header__social-link:hover {
    border-color: rgba(45, 212, 191, 0.45);
    background: rgba(240, 253, 250, 0.9);
    color: #0f766e;
}

.site-header__social-icon {
    display: block;
}

.site-header__burger-nav .site-nav__burger-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.65rem 0.15rem;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    color: #334155;
    text-decoration: none;
    border: none;
    background: transparent;
    cursor: pointer;
}

.site-header__burger-nav a.site-nav__burger-item:hover,
.site-header__burger-nav button.site-nav__burger-item:hover {
    color: #0f766e;
}

.site-public-modal.legal-dialog--wide .legal-dialog__scroll {
    max-height: min(74vh, 34rem);
}

.site-header__end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
    min-width: 0;
}

.site-header__end .lang-switch--menu {
    flex-shrink: 0;
}

.site-btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    padding: 0.45rem 1.15rem;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 11px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.site-btn:active {
    transform: scale(0.98);
}

.site-btn--primary {
    background: linear-gradient(155deg, #0d9488 0%, #0f766e 100%);
    color: #f0fdfa !important;
    border-color: rgba(15, 118, 110, 0.35);
    box-shadow: 0 4px 18px rgba(13, 148, 136, 0.25);
}

.site-btn--primary:hover {
    filter: brightness(1.06);
}

.site-btn--outline {
    background: #fff;
    color: #0f766e !important;
    border-color: rgba(45, 212, 191, 0.45);
    box-shadow: var(--shadow-sm);
}

.site-btn--outline:hover {
    background: #f0fdfa;
}

.site-btn--sm {
    min-height: 2.38rem;
    padding: 0.35rem 0.92rem;
    font-size: 0.885rem;
    border-radius: 10px;
}

.site-btn--block {
    width: 100%;
}

.site-btn--on-dark {
    background: #f0fdfa;
    color: #115e59 !important;
    border-color: transparent;
}

.site-btn--on-dark:hover {
    background: #fff;
}

.site-btn--ghost-light {
    background: rgba(240, 253, 250, 0.12);
    color: #ecfdf5 !important;
    border-color: rgba(236, 253, 245, 0.25);
}

.site-btn--ghost-light:hover {
    background: rgba(240, 253, 250, 0.2);
}

.site-landing .site-header .lang-switch--menu > .lang-switch__summary {
    min-height: 2.38rem;
    padding: 0.25rem 0.72rem;
    border-radius: 10px;
    border-color: #e2e8f0;
    background: #fff;
    color: #334155;
}

.site-landing .site-header .lang-switch__icon {
    color: #334155;
}

.site-landing .site-header .lang-switch--menu[open] > .lang-switch__summary {
    border-color: #ccfbf1;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.site-header__burger {
    display: none;
    flex-shrink: 0;
}

.site-header__burger-btn {
    list-style: none;
    cursor: pointer;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.site-header__burger-btn::-webkit-details-marker {
    display: none;
}

.site-header__burger-lines {
    position: relative;
    width: 20px;
    height: 2px;
    background: #334155;
    border-radius: 2px;
    box-shadow:
        0 -6px 0 #334155,
        0 6px 0 #334155;
}

.site-header__burger-panel {
    position: absolute;
    right: clamp(12px, 4vw, 24px);
    left: clamp(12px, 4vw, 24px);
    margin-top: 0.55rem;
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.site-header__burger[open] .site-header__burger-btn {
    border-color: rgba(45, 212, 191, 0.5);
    background: rgba(240, 253, 250, 0.5);
}

.site-header__burger-nav {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.site-header__burger-nav li {
    border-bottom: 1px solid #f1f5f9;
}

.site-header__burger-cta .site-btn {
    margin-bottom: 0.5rem;
}

.site-header__burger-register {
    margin: 0.75rem 0 0;
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
}

.site-header__burger-register a {
    color: #0f766e;
    font-weight: 600;
}

.landing-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(2.75rem, 6vw, 4.25rem) clamp(1.2rem, 4vw, 1.85rem);
}

.landing-wrap--narrow {
    max-width: 640px;
    text-align: center;
}

.landing-section {
    scroll-margin-top: 78px;
    background: #fff;
}

.landing-section--muted {
    background: #f8fafc;
    border-block: 1px solid rgba(226, 232, 240, 0.8);
}

.landing-section__title {
    margin: 0 0 0.9rem;
    font-size: clamp(1.5rem, 3.8vw, 1.92rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    color: #0f172a;
}

.landing-section__intro {
    margin: -0.2rem 0 1.85rem;
    max-width: 46rem;
    font-size: 1.035rem;
    line-height: 1.62;
    color: #475569;
}

.landing-wrap--narrow .landing-section__title {
    text-align: center;
}

.landing-wrap--narrow .landing-contact__text {
    margin: 0 0 1.35rem;
    font-size: 1rem;
    line-height: 1.65;
    color: #475569;
}

.landing-contact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

.landing-contact__register {
    margin: 1rem 0 0;
    font-size: 0.94rem;
    color: #64748b;
    text-align: center;
}

.landing-contact__register a {
    color: #0f766e;
    font-weight: 700;
}

.landing-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.15rem;
    counter-reset: landing-feat;
}

.landing-features__item {
    margin: 0;
    padding: 1.35rem 1.25rem 1.35rem 3.6rem;
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    position: relative;
}

.landing-features__item::before {
    counter-increment: landing-feat;
    content: counter(landing-feat);
    position: absolute;
    left: 1.12rem;
    top: 1.38rem;
    width: 1.82rem;
    height: 1.82rem;
    display: grid;
    place-items: center;
    font-size: 0.92rem;
    font-weight: 700;
    color: #f0fdfa;
    border-radius: 10px;
    background: linear-gradient(135deg, #0f766e, #134e4a);
}

.landing-features__h {
    margin: 0 0 0.45rem;
    font-size: 1.075rem;
    font-weight: 700;
    color: #1e293b;
}

.landing-features__item p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.56;
    color: #64748b;
}

.landing-hero {
    background:
        radial-gradient(ellipse 900px 540px at 10% -20%, rgba(45, 212, 191, 0.2), transparent 58%),
        radial-gradient(ellipse 700px 420px at 95% 10%, rgba(99, 102, 241, 0.10), transparent 52%),
        linear-gradient(180deg, #f8fafc 0%, #f1f5f9 45%, #e2e8f0 100%);
    border-bottom: 1px solid rgba(203, 213, 225, 0.9);
}

.landing-hero__grid {
    max-width: 1160px;
    margin: 0 auto;
    padding: clamp(2.75rem, 7vw, 5rem) clamp(1.2rem, 4vw, 1.85rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.85rem, 5vw, 3.25rem);
    align-items: center;
}

.landing-hero__grid--single .landing-hero__copy {
    max-width: 40rem;
    margin-inline: auto;
    text-align: center;
}

.landing-hero__grid--single .landing-hero__cta {
    justify-content: center;
}

.landing-hero__grid--single .landing-hero__lead {
    margin-inline: auto;
}

@media (min-width: 881px) {
    .landing-hero__grid--split {
        grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
        align-items: center;
    }
}

.landing-hero__media {
    width: 100%;
    max-width: 28rem;
    margin-inline: auto;
}

@media (min-width: 881px) {
    .landing-hero__media {
        margin-inline: 0;
        margin-left: auto;
        max-width: none;
    }
}

.landing-hero-video-card {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    border-radius: 16px;
}

.landing-hero-video-card:focus {
    outline: none;
}

.landing-hero-video-card:focus-visible {
    outline: 3px solid rgba(13, 148, 136, 0.55);
    outline-offset: 4px;
}

.landing-hero-video-card__screen {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 55%, #334155 100%);
    box-shadow:
        0 4px 6px -1px rgba(15, 23, 42, 0.08),
        0 18px 38px -12px rgba(15, 23, 42, 0.28);
}

.landing-hero-video-card__thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.landing-hero-video-card__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.42) 100%);
    pointer-events: none;
}

.landing-hero-video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transition: transform 0.18s ease;
    transform: translate(-50%, -50%);
    width: 4rem;
    height: 4rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f766e;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.22);
    pointer-events: none;
}

.landing-hero-video-card__title {
    display: block;
    margin-top: 0.75rem;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.landing-hero-video-card__hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.86rem;
    color: #64748b;
    line-height: 1.45;
}

.landing-hero-video-card:hover .landing-hero-video-card__play {
    transform: translate(-50%, -50%) scale(1.05);
}

.landing-hero-video-card:hover .landing-hero-video-card__screen {
    box-shadow:
        0 6px 10px -2px rgba(15, 23, 42, 0.1),
        0 22px 44px -14px rgba(15, 23, 42, 0.32);
}

.legal-dialog--video {
    max-width: min(96vw, 56rem);
    width: 100%;
}

.landing-video-modal .legal-dialog__inner {
    padding-bottom: 1.15rem;
}

.landing-video-modal__title {
    margin-bottom: 0.65rem;
}

.landing-video-modal__iframe-wrap {
    position: relative;
    width: min(100%, calc(16 / 9 * min(72vh, 640px)));
    margin-inline: auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #020617;
}

.landing-video-modal__iframe {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.landing-hero__badge {
    margin: 0 0 0.55rem;
    display: inline-block;
    padding: 0.3rem 0.72rem;
    font-size: 0.725rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
    color: #0f766e;
    background: rgba(13, 148, 136, 0.12);
}

.landing-hero__title {
    margin: 0 0 0.38rem;
    font-size: clamp(2rem, 5.4vw, 2.92rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
    color: #0f172a;
}

.landing-hero__subtitle {
    margin: 0 0 1rem;
    font-size: clamp(1.06rem, 2.8vw, 1.42rem);
    font-weight: 600;
    color: #475569;
    letter-spacing: -0.025em;
}

.landing-hero__lead {
    margin: 0 0 1.45rem;
    max-width: 36rem;
    font-size: 1.065rem;
    line-height: 1.72;
    color: #526273;
}

.landing-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 0;
}

.landing-wrap--cta {
    max-width: 1100px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.35rem;
    padding-block: clamp(2.25rem, 5vw, 3.15rem);
}

.landing-wrap--cta.landing-wrap--cta-veli {
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 1.1rem;
}

.landing-wrap--cta-veli .landing-cta-band__buttons {
    justify-content: center;
}

.landing-wrap--cta-veli .landing-cta-band__text p {
    margin-inline: auto;
}

.landing-cta-band {
    background: linear-gradient(145deg, #115e59 0%, #0f766e 40%, #0d9488 100%);
    color: #ecfdf5;
}

.landing-cta-band__title {
    margin: 0 0 0.4rem;
    font-size: clamp(1.25rem, 3vw, 1.62rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.landing-cta-band__text p {
    margin: 0;
    opacity: 0.92;
    max-width: 36rem;
    line-height: 1.62;
}

.landing-cta-band__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.site-footer {
    background: #0f172a;
    color: #94a3b8;
    font-size: 0.865rem;
    padding: 1.25rem clamp(1rem, 4vw, 1.65rem);
}

.site-footer__inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.85rem;
    justify-content: center;
    text-align: center;
}

.site-footer__brand {
    font-weight: 600;
    color: #e2e8f0;
}

.site-footer__dash--wide {
    flex-basis: 100%;
    height: 0;
    display: none;
}

.site-footer__link {
    color: #5eead4;
    text-decoration: none;
}

.site-footer__link:hover {
    text-decoration: underline;
}

button.site-footer__link--action {
    font: inherit;
    font-weight: inherit;
    font-size: inherit;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.site-footer__copy {
    color: #cbd5e1;
}

@media (max-width: 880px) {
    .site-header__inner {
        grid-template-columns: 1fr auto;
        gap: 0.5rem 0.85rem;
    }

    .site-nav--desktop {
        display: none;
    }

    .site-header__burger {
        display: block;
    }

    .site-brand {
        grid-column: 1;
    }

    .site-header__inner > .site-header__end {
        justify-self: end;
    }

    .landing-hero__grid {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
    }

    .landing-hero__lead {
        margin-inline: auto;
    }

    .landing-hero__cta {
        justify-content: center;
    }

    .landing-features {
        grid-template-columns: minmax(0, 1fr);
    }

    .landing-wrap--cta {
        flex-direction: column;
        text-align: center;
    }

    .landing-cta-band__buttons {
        justify-content: center;
        width: 100%;
    }
}

@media (min-width: 881px) {
    .site-brand {
        max-width: min(320px, 34vw);
    }

    .site-nav--desktop {
        justify-self: center;
    }
}

/* Super-admin: kurum + herkese açık sayfa editörleri yan menü */
.settings-hub {
    display: grid;
    grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    max-width: 72rem;
}

.settings-hub__nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.35rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(248, 250, 252, 0.85);
}

.settings-hub__nav-link {
    display: block;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    font-size: 0.92rem;
    color: inherit;
    text-decoration: none;
    line-height: 1.35;
}

.settings-hub__nav-link:hover {
    background: rgba(255, 255, 255, 0.9);
}

.settings-hub__nav-link.is-active {
    background: rgba(13, 148, 136, 0.12);
    color: #0f766e;
    font-weight: 600;
}

.settings-hub__main {
    padding: 1rem 1.15rem;
    border-radius: 12px;
    min-width: 0;
}

.settings-hub-form__textarea {
    width: 100%;
    max-width: 100%;
    min-height: 12rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.85rem;
    line-height: 1.45;
}

@media (max-width: 820px) {
    .settings-hub {
        grid-template-columns: 1fr;
    }

    .settings-hub__nav {
        flex-flow: row wrap;
    }

    .settings-hub__nav-link {
        flex: 1 1 auto;
        min-width: min(140px, 46%);
    }
}

.landing-about__body {
    max-width: 48rem;
    margin-inline: auto;
}

.landing-about__body h2,
.landing-about__body h3 {
    margin-top: 1.25rem;
}

.settings-hub-form .tox-tinymce {
    border-radius: 8px;
}

.settings-hub-form .tox-tinymce-aux {
    z-index: 10020;
}

.landing-wrap--legal-prose {
    max-width: 52rem;
}

.site-legal-document__title {
    margin: 0 0 1.35rem;
    font-size: clamp(1.45rem, 3.6vw, 1.82rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    color: #0f172a;
}

.site-legal-document__continue {
    margin: 2.5rem 0 0;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(226, 232, 240, 0.95);
    font-size: 0.95rem;
}

.site-legal-document__continue a {
    font-weight: 600;
    color: #0f766e;
    text-decoration: none;
}

.site-legal-document__continue a:hover {
    text-decoration: underline;
}

/* —— Öğrenci durum özeti (veli + eğitici) —— */
.student-overview {
    margin-top: 1rem;
}

.student-overview-hero {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.15rem 1.35rem;
    align-items: center;
    padding: 1.35rem 1.5rem;
    border-radius: 1.15rem;
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 42%, #14b8a6 100%);
    color: #f0fdfa;
    box-shadow: 0 14px 40px rgba(13, 148, 136, 0.22);
}

.student-overview-hero__avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.student-overview-hero__season {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.88;
}

.student-overview-hero__name {
    margin: 0.15rem 0 0;
    font-size: clamp(1.25rem, 2.8vw, 1.55rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.student-overview-hero__meta {
    margin: 0.4rem 0 0;
    font-size: 0.9rem;
    opacity: 0.92;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.student-overview-hero__dot { opacity: 0.65; }

.student-overview-hero__warn {
    margin: 0.4rem 0 0;
    font-size: 0.88rem;
    color: #fef3c7;
}

.student-overview-hero__rings {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.student-overview-ring {
    position: relative;
    width: 5.5rem;
    text-align: center;
}

.student-overview-ring__svg {
    width: 100%;
    height: auto;
    transform: rotate(-90deg);
}

.student-overview-ring__track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.22);
    stroke-width: 3.2;
}

.student-overview-ring__fill {
    fill: none;
    stroke: #fff;
    stroke-width: 3.2;
    stroke-linecap: round;
}

.student-overview-ring--attendance .student-overview-ring__fill {
    stroke: #a7f3d0;
}

.student-overview-ring__label {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.student-overview-ring__caption {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.68rem;
    opacity: 0.85;
    line-height: 1.25;
}

.student-overview-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.85rem;
    margin-top: 1.15rem;
}

.student-overview-kpi {
    padding: 1rem 1.1rem;
    border-radius: 0.95rem;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.student-overview-kpi__value {
    display: block;
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.1;
}

.student-overview-kpi__value small {
    font-size: 0.55em;
    font-weight: 600;
    color: #64748b;
}

.student-overview-kpi__label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.3;
}

.student-overview-kpi--teal { border-top: 3px solid #0d9488; }
.student-overview-kpi--green { border-top: 3px solid #10b981; }
.student-overview-kpi--amber { border-top: 3px solid #f59e0b; }

.student-overview-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.student-overview-chart-card {
    padding: 1.1rem 1.15rem 1.15rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
}

.student-overview-chart-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}

.student-overview-chart-card__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 650;
    color: #0f172a;
}

.student-overview-chart-card__link {
    font-size: 0.78rem;
    font-weight: 600;
    color: #0d9488;
    text-decoration: none;
    white-space: nowrap;
}

.student-overview-chart-card__link:hover { text-decoration: underline; }

.student-overview-chart-card__canvas {
    position: relative;
    min-height: 11rem;
}

.student-overview-chart-card__canvas--bar {
    min-height: 10.5rem;
    height: 10.5rem;
}

.student-overview-chart-card__empty,
.student-overview-chart-card__hint {
    margin: 0;
    font-size: 0.86rem;
    color: #64748b;
}

.student-overview-chart-card__hint {
    margin-top: 0.5rem;
    text-align: center;
}

.student-overview-feed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.student-overview-feed-card {
    padding: 1rem 1.1rem;
    border-radius: 0.95rem;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.student-overview-feed-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.student-overview-feed-card__title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 650;
    color: #334155;
}

.student-overview-feed-card__empty {
    margin: 0;
    font-size: 0.86rem;
    color: #64748b;
}

.student-overview-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.student-overview-timeline__item {
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    gap: 0.35rem 0.65rem;
    align-items: start;
    padding: 0.55rem 0.65rem;
    border-radius: 0.65rem;
    background: #fff;
    border-left: 3px solid #cbd5e1;
    font-size: 0.86rem;
}

.student-overview-timeline__item--present { border-left-color: #10b981; }
.student-overview-timeline__item--absent { border-left-color: #ef4444; }
.student-overview-timeline__item--late { border-left-color: #f59e0b; }
.student-overview-timeline__item--excused { border-left-color: #6366f1; }
.student-overview-timeline__item--ok { border-left-color: #0d9488; }

.student-overview-timeline__date {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
}

.student-overview-timeline__text {
    font-weight: 600;
    color: #0f172a;
    grid-column: 2;
}

.student-overview-timeline__meta,
.student-overview-timeline__badge {
    grid-column: 2;
    font-size: 0.78rem;
    color: #64748b;
}

.student-overview-announcements {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.student-overview-announcements__item {
    padding: 0.65rem 0.75rem;
    border-radius: 0.65rem;
    background: #fff;
}

.student-overview-announcements__time {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
}

.student-overview-announcements__title {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.9rem;
    color: #0f172a;
}

.student-overview-announcements__scope {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.78rem;
    color: #64748b;
}

.student-overview .hw-completion-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
}

.student-overview .hw-completion-badge--pending { background: #f3f4f6; color: #4b5563; }
.student-overview .hw-completion-badge--submitted { background: #fef3c7; color: #92400e; }
.student-overview .hw-completion-badge--approved { background: #d1fae5; color: #065f46; }
.student-overview .hw-completion-badge--rejected { background: #fee2e2; color: #991b1b; }

@media (max-width: 720px) {
    .student-overview-hero {
        grid-template-columns: auto 1fr;
    }
    .student-overview-hero__rings {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

.student-overview-status-link {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    text-decoration: none;
    color: inherit;
    padding: 0.15rem 0;
    border-radius: 0.5rem;
    transition: opacity 0.15s ease;
}

.student-overview-status-link:hover {
    opacity: 0.85;
}

.student-overview-status-link__hint {
    font-size: 0.72rem;
    font-weight: 600;
    color: #0d9488;
}

.student-overview-status-link:hover .student-overview-status-link__hint {
    text-decoration: underline;
}
