@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
    --panel-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --panel-radius: 16px;
    --panel-radius-sm: 12px;
    --panel-radius-xs: 8px;
    --panel-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 32px rgba(15, 23, 42, 0.08);
    --panel-shadow-lg: 0 4px 6px rgba(15, 23, 42, 0.04), 0 24px 48px rgba(15, 23, 42, 0.1);
    --panel-shadow-nav: 0 8px 40px rgba(15, 23, 42, 0.12);
    --panel-border: rgba(15, 23, 42, 0.07);
    --panel-ink: #0f172a;
    --panel-muted: #64748b;
    --panel-accent: #2563eb;
    --panel-accent-2: #7c3aed;
    --coach-nav-from: #0c4a6e;
    --coach-nav-via: #0369a1;
    --coach-nav-to: #0284c7;
    --student-nav-from: #065f46;
    --student-nav-via: #059669;
    --student-nav-to: #10b981;
}

/* ——— Base ——— */
body.panel-body {
    font-family: var(--panel-font);
    -webkit-font-smoothing: antialiased;
    color: #1e293b;
    font-feature-settings: "ss01" on, "cv11" on;
}

.panel-page-title {
    font-size: 1.625rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--panel-ink);
    margin-bottom: 0.35rem;
    line-height: 1.2;
}

.panel-page-lead {
    color: var(--panel-muted);
    font-size: 0.9375rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
    max-width: 62ch;
}

@media (max-width: 575.98px) {
    .panel-page-title {
        font-size: 1.35rem;
    }

    .panel-page-lead {
        font-size: 0.875rem;
        max-width: none;
    }
}

/* Coach / student page backgrounds */
.coach-page-bg {
    min-height: 100vh;
    background-color: #f0f7ff;
    background-image:
        radial-gradient(ellipse 900px 500px at 10% -10%, rgba(37, 99, 235, 0.14), transparent),
        radial-gradient(ellipse 700px 400px at 100% 20%, rgba(124, 58, 237, 0.08), transparent),
        linear-gradient(180deg, #eef6ff 0%, #f1f5f9 45%, #f8fafc 100%);
}

.student-page-bg {
    min-height: 100vh;
    background-color: #f0fdf9;
    background-image:
        radial-gradient(ellipse 800px 480px at 0% 0%, rgba(16, 185, 129, 0.12), transparent),
        radial-gradient(ellipse 600px 360px at 100% 30%, rgba(5, 150, 105, 0.08), transparent),
        linear-gradient(180deg, #ecfdf5 0%, #f8fafc 55%, #f1f5f9 100%);
}

/* Primary buttons — panels */
.panel-body .btn-primary {
    background: linear-gradient(135deg, var(--panel-accent) 0%, #4f46e5 100%);
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.32);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.panel-body .btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.38);
    filter: brightness(1.02);
}

.panel-body .btn-primary:active {
    transform: translateY(0);
}

.panel-body .btn-success {
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

.panel-body .btn-outline-primary {
    font-weight: 600;
    border-width: 1.5px;
}

/* ——— Cards ——— */
.panel-card.overflow-hidden {
    overflow: hidden;
}

.card-admin,
.coach-card,
.panel-card {
    border: 1px solid var(--panel-border);
    border-radius: var(--panel-radius);
    box-shadow: var(--panel-shadow);
    background: #fff;
}

.card.card-admin,
.card.coach-card,
.card.panel-card {
    border: 1px solid var(--panel-border);
    box-shadow: var(--panel-shadow);
    border-radius: var(--panel-radius);
    overflow: hidden;
}

/* Geniş müfredat dropdown’u kart altında kesilmesin; Popper fixed + flip ile uyumlu */
.card.card-admin.card-admin--dropdown-visible {
    overflow: visible;
}

.card.card-admin.card-admin--dropdown-visible > .card-body {
    overflow: visible;
}

/* Kaynak kitap düzenle — yoğun kullanım sayfası */
.source-book-edit-page__hero {
    border-radius: var(--panel-radius);
    border: 1px solid var(--panel-border);
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 45%, #f1f5f9 100%);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--panel-shadow);
}

.source-book-edit-page__hero h1 {
    letter-spacing: -0.03em;
    color: #0f172a;
}

.source-book-edit-page__stat {
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid rgba(37, 99, 235, 0.2);
    background: rgba(37, 99, 235, 0.06);
    color: #1d4ed8;
}

.source-book-edit-page .source-book-test-card {
    border: 1px solid var(--panel-border);
    border-radius: var(--panel-radius);
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.source-book-edit-page .source-book-test-card__index {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: linear-gradient(180deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #3730a3;
    font-weight: 700;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.admin-body .source-book-edit-page .ts-wrapper.multi .ts-control {
    min-height: calc(1.6em + 0.85rem + 2px);
    border-radius: 0.5rem;
    border-color: #ced4da;
}

.admin-body .source-book-edit-page .ts-wrapper.multi.focus .ts-control {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.admin-body .source-book-edit-page .ts-dropdown {
    border-radius: 0.5rem;
    border: 1px solid var(--panel-border);
    box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.12);
}

/* Tom Select: açılır liste Bootstrap modal (1055) üstünde — dropdownParent body iken */
body.panel-body .ts-dropdown {
    z-index: 1060;
}

.panel-card .card-header {
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
    border-bottom: 1px solid var(--panel-border);
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 1rem 1.35rem;
    color: #334155;
    letter-spacing: -0.02em;
}

.panel-stat {
    border-radius: var(--panel-radius);
    border: 1px solid var(--panel-border);
    background: linear-gradient(165deg, #ffffff 0%, #fafbfc 100%);
    box-shadow: var(--panel-shadow);
    padding: 1.35rem 1.4rem;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.panel-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--panel-accent), var(--panel-accent-2));
    opacity: 0.85;
}

.panel-stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--panel-shadow-lg);
}

.panel-stat .label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    font-weight: 700;
}

.panel-stat .value {
    font-size: 2.125rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--panel-ink);
}

/* ——— Tables ——— */
.panel-table-wrap {
    border-radius: var(--panel-radius-sm);
    border: 1px solid var(--panel-border);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--panel-shadow);
}

.panel-table-wrap .table {
    margin-bottom: 0;
}

.panel-table-wrap .table thead th {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    font-weight: 700;
    border-bottom-width: 1px;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    padding: 0.85rem 1rem;
}

.panel-table-wrap .table tbody tr:hover {
    background: rgba(241, 245, 249, 0.7);
}

.panel-table-wrap .table tbody td {
    padding: 0.85rem 1rem;
    vertical-align: middle;
}

/* ——— Admin shell ——— */
.admin-shell {
    display: flex;
    min-height: 100vh;
}

.admin-body {
    background: #e8edf3;
}

.admin-sidebar {
    --admin-sidebar-pad-x: 1.1rem;
    width: 262px;
    max-width: 262px;
    flex-shrink: 0;
    position: relative;
    background: linear-gradient(165deg, #0c1222 0%, #111827 38%, #0f172a 72%, #0a0f1a 100%);
    color: #e2e8f0;
    padding: 0;
    box-shadow:
        4px 0 40px rgba(15, 23, 42, 0.28),
        1px 0 0 rgba(255, 255, 255, 0.07) inset;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: 100vh;
    max-height: 100dvh;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    isolation: isolate;
    z-index: 30;
}

.admin-sidebar::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 90% 70% at 0% 0%, black 0%, transparent 72%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
}

.admin-sidebar::after {
    content: '';
    position: absolute;
    top: 18%;
    right: -35%;
    width: min(220px, 90%);
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, transparent 68%);
    filter: blur(2px);
    pointer-events: none;
    z-index: 0;
}

.admin-sidebar > .brand,
.admin-sidebar > nav,
.admin-sidebar > .sidebar-footer {
    position: relative;
    z-index: 1;
}

.admin-sidebar::-webkit-scrollbar {
    width: 6px;
}

.admin-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.admin-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 6px;
}

.admin-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.22);
}

.admin-sidebar .brand {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.9rem;
    row-gap: 0.1rem;
    align-items: center;
    padding: 1.35rem var(--admin-sidebar-pad-x) 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.02) 45%, transparent 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.admin-sidebar .brand-logo {
    grid-row: 1 / -1;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(145deg, #6366f1 0%, #7c3aed 45%, #2563eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 0;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.22) inset,
        0 10px 28px rgba(79, 70, 229, 0.45);
}

.admin-sidebar .brand strong {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
    display: block;
    overflow-wrap: anywhere;
}

.admin-sidebar .brand .small,
.admin-sidebar .brand div.small {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    color: rgba(148, 163, 184, 0.92);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-sidebar nav {
    min-width: 0;
    width: 100%;
    overflow: visible;
    padding: 0.5rem 0 1.1rem;
}

.admin-sidebar nav.nav {
    align-items: stretch;
}

.admin-sidebar .nav-section {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(100, 116, 139, 0.95);
    padding: 1.15rem var(--admin-sidebar-pad-x) 0.35rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.admin-sidebar .nav-section::before {
    content: '';
    width: 3px;
    height: 0.85rem;
    border-radius: 3px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #818cf8, #22d3ee);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.45);
    opacity: 0.9;
}

.admin-sidebar .nav-link {
    color: rgba(203, 213, 225, 0.88);
    padding: 0.52rem 0.85rem 0.52rem 0.95rem;
    margin: 0.1rem 0.55rem;
    border-radius: 11px;
    font-weight: 600;
    font-size: 0.84rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-left: none;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.18s ease;
}

.admin-sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    transform: translateX(2px);
}

.admin-sidebar .nav-link.active {
    background: linear-gradient(
        105deg,
        rgba(99, 102, 241, 0.35) 0%,
        rgba(139, 92, 246, 0.14) 52%,
        rgba(255, 255, 255, 0.04) 100%
    );
    color: #fff;
    box-shadow:
        inset 3px 0 0 #a5b4fc,
        0 4px 24px rgba(99, 102, 241, 0.12);
}

.admin-sidebar .nav-link.active i {
    color: #c7d2fe;
}

.admin-sidebar .nav-link i {
    font-size: 1.05rem;
    opacity: 0.92;
    flex-shrink: 0;
    width: 1.35rem;
    text-align: center;
    transition: color 0.2s ease;
}

.admin-sidebar .sidebar-footer {
    flex-shrink: 0;
    padding: 1rem var(--admin-sidebar-pad-x) 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    margin-top: auto;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.12) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.admin-sidebar .sidebar-footer .btn {
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 11px;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    letter-spacing: 0.02em;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease,
        border-color 0.15s ease;
}

.admin-sidebar .sidebar-footer .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(248, 250, 252, 0.95);
    background: rgba(255, 255, 255, 0.04);
}

.admin-sidebar .sidebar-footer .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@media (prefers-reduced-motion: reduce) {
    .admin-sidebar .nav-link,
    .admin-sidebar .sidebar-footer .btn {
        transition: none;
    }

    .admin-sidebar .nav-link:hover {
        transform: none;
    }

    .admin-sidebar .sidebar-footer .btn-outline-light:hover {
        transform: none;
    }
}

.admin-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #f1f5f9;
    background-image:
        radial-gradient(ellipse 120% 80% at 50% -30%, rgba(99, 102, 241, 0.06), transparent),
        linear-gradient(180deg, #f8fafc 0%, #f1f5f9 40%, #e2e8f0 100%);
}

.admin-topbar {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    padding: 1.15rem 1.85rem;
    border-bottom: 1px solid var(--panel-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

/* Bildirim zili + kullanıcı alanı: uzun e-posta / dar ekranda yatay taşmayı engelle */
.admin-topbar > .d-flex.align-items-center.gap-2.flex-shrink-0 {
    min-width: 0;
}

.admin-topbar-titles h1 {
    font-size: 1.375rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.04em;
    color: var(--panel-ink);
    line-height: 1.2;
}

.admin-topbar-eyebrow {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #94a3b8;
    margin-bottom: 0.2rem;
}

.admin-env-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.12));
    color: #4338ca;
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.admin-content-framed {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Tam genişlik: ana alanı (koç faturalama vb.) yatayda doldurur; üst/alt padding .admin-content’ten gelir */
.admin-content-fullwidth {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.admin-page-hero {
    border-radius: var(--panel-radius);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    border: 1px solid var(--panel-border) !important;
}

.admin-page-hero-kicker {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--panel-accent);
}

.admin-page-hero .letter-tight {
    letter-spacing: -0.02em;
}

.admin-page-hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}

.admin-topbar .user-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 1rem;
    background: linear-gradient(180deg, #fff, #f1f5f9);
    border: 1px solid var(--panel-border);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    max-width: 260px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.admin-topbar .user-pill i {
    color: var(--panel-accent);
    font-size: 1.15rem;
}

.admin-content {
    padding: 1.85rem 1.85rem 3rem;
    flex: 1;
}

@media (max-width: 991.98px) {
    /* Mobil: sidebar soldan kayar çekmece + hamburger */
    body.admin-nav-open {
        overflow: hidden;
        overscroll-behavior: none;
    }

    .admin-nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1035;
        background: rgba(15, 23, 42, 0.48);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.22s ease, visibility 0.22s ease;
    }

    .admin-shell--nav-open .admin-nav-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .admin-shell {
        flex-direction: column;
    }

    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(288px, 88vw);
        max-width: none;
        /* Sabit yükseklik + iç kaydırma (height:auto top/bottom ile çakışıp iOS’ta kaydırmayı öldürüyordu) */
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        align-self: stretch;
        transform: translate3d(-100%, 0, 0);
        transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
        z-index: 1040;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        touch-action: pan-y;
        box-shadow: 8px 0 36px rgba(15, 23, 42, 0.35);
        padding-top: env(safe-area-inset-top, 0);
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .admin-shell--nav-open .admin-sidebar {
        transform: translate3d(0, 0, 0);
    }

    .admin-main {
        width: 100%;
        min-width: 0;
    }

    .admin-sidebar-toggle {
        flex-shrink: 0;
        color: var(--panel-ink);
    }

    .admin-content {
        padding: 1.2rem 1rem 2.5rem;
    }

    .admin-topbar {
        padding: 1rem 1rem;
        flex-wrap: wrap;
        row-gap: 0.65rem;
        align-items: center;
        gap: 0.65rem;
    }

    .admin-topbar-titles {
        flex: 1 1 auto;
        min-width: 0;
    }

    .admin-topbar-titles h1 {
        font-size: 1.15rem;
    }

    .admin-topbar .user-pill {
        max-width: min(220px, 52vw);
    }
}

@media (min-width: 992px) {
    .admin-nav-backdrop {
        display: none !important;
    }

    .admin-sidebar-toggle {
        display: none !important;
    }
}

/* ——— Admin: koç–öğrenci dizini (mobil kart / dar ekran) ——— */
.coach-student-directory-page .panel-page-lead {
    max-width: none;
}

.coach-student-directory-page .coach-dir-tabs-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.coach-student-directory-page .coach-dir-tabs-wrap .nav-tabs {
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: min-content;
}

@media (max-width: 767.98px) {
    .coach-student-directory-page .coach-dir-table .table thead {
        display: none;
    }

    .coach-student-directory-page .coach-dir-table .table tbody tr {
        display: block;
        margin-bottom: 1rem;
        padding: 0.85rem 1rem;
        border: 1px solid var(--panel-border);
        border-radius: var(--panel-radius-sm);
        background: #fff;
        box-shadow: var(--panel-shadow);
    }

    .coach-student-directory-page .coach-dir-table .table tbody td {
        display: block;
        width: 100% !important;
        padding: 0.45rem 0;
        border: none;
    }

    .coach-student-directory-page .coach-dir-table .table tbody td.text-end {
        text-align: start !important;
    }

    .coach-student-directory-page .coach-dir-table .table tbody td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.625rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--panel-muted);
        margin-bottom: 0.2rem;
    }

    .coach-student-directory-page .coach-dir-table .table-responsive {
        overflow: visible;
    }
}

@media (min-width: 768px) {
    .coach-student-directory-page .coach-dir-table td[data-label]::before {
        display: none;
    }
}

@media (min-width: 1600px) {
    .admin-content {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

/* ——— Admin dashboard (premium KPI, içgörü, animasyon) ——— */
@keyframes admin-dash-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes admin-dash-pulse-dot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.55);
    }
    50% {
        opacity: 0.85;
        transform: scale(0.92);
        box-shadow: 0 0 0 10px rgba(34, 211, 238, 0);
    }
}

.admin-dash-pro {
    padding-bottom: 0.25rem;
}

/* Dashboard — üst prensip bandı */
.admin-dash-vision {
    position: relative;
    overflow: hidden;
    border-radius: var(--panel-radius);
    background: linear-gradient(118deg, #0a0f1a 0%, #111827 42%, #0f172a 100%);
    border: 1px solid rgba(251, 191, 36, 0.22);
    box-shadow:
        0 10px 40px rgba(15, 23, 42, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.admin-dash-vision::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #fde68a, #f59e0b, #b45309);
    border-radius: var(--panel-radius) 0 0 var(--panel-radius);
    pointer-events: none;
}

.admin-dash-vision::after {
    content: "";
    position: absolute;
    right: -20%;
    top: -60%;
    width: 45%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(251, 191, 36, 0.08), transparent 65%);
    pointer-events: none;
}

.admin-dash-vision__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.05rem 1.2rem 1.05rem 1.4rem;
}

@media (min-width: 768px) {
    .admin-dash-vision__inner {
        padding: 1.15rem 1.5rem 1.15rem 1.55rem;
        gap: 1.25rem;
    }
}

.admin-dash-vision__icon {
    flex-shrink: 0;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(251, 191, 36, 0.18), rgba(245, 158, 11, 0.08));
    border: 1px solid rgba(251, 191, 36, 0.25);
    color: #fde68a;
    font-size: 1.3rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.admin-dash-vision__body {
    min-width: 0;
}

.admin-dash-vision__kicker {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(253, 230, 138, 0.88);
    margin: 0 0 0.25rem 0;
}

.admin-dash-vision__line {
    margin: 0;
    font-size: clamp(1.05rem, 2.1vw, 1.3rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.35;
    color: #f8fafc;
    font-style: italic;
    font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    text-wrap: balance;
}

.admin-dash-reveal {
    animation: admin-dash-rise 0.58s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.admin-dash-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--panel-radius);
    background:
        linear-gradient(135deg, #020617 0%, #0f172a 38%, #172554 68%, #1e1b4b 100%);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow:
        0 16px 48px rgba(15, 23, 42, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.admin-dash-hero--premium::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(at 12% 24%, rgba(59, 130, 246, 0.35), transparent 52%),
        radial-gradient(at 88% 18%, rgba(139, 92, 246, 0.28), transparent 48%),
        radial-gradient(at 70% 92%, rgba(16, 185, 129, 0.14), transparent 45%);
    opacity: 0.95;
    pointer-events: none;
}

.admin-dash-hero--premium::after {
    content: "";
    position: absolute;
    right: -18%;
    top: -35%;
    width: 58%;
    height: 170%;
    background: radial-gradient(ellipse, rgba(56, 189, 248, 0.22), transparent 68%);
    pointer-events: none;
}

.admin-dash-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.25rem;
    padding: 1.45rem 1.35rem 1rem;
}

@media (min-width: 768px) {
    .admin-dash-hero__grid {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        padding: 1.65rem 1.75rem 1.15rem;
        gap: 2rem;
    }
}

.admin-dash-live {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.95);
}

.admin-dash-live__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(145deg, #22d3ee, #22c55e);
    animation: admin-dash-pulse-dot 2.4s ease-in-out infinite;
}

.admin-dash-hero__eyebrow {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
    margin-bottom: 0.35rem;
}

.admin-dash-hero__title {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
    margin: 0 0 0.5rem;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .admin-dash-hero__title {
        font-size: 1.9rem;
    }
}

.admin-dash-hero__lead {
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(203, 213, 225, 0.95);
    max-width: 44ch;
    margin: 0;
}

.admin-dash-hero__aside {
    text-align: left;
}

@media (min-width: 768px) {
    .admin-dash-hero__aside {
        text-align: right;
        min-width: 8.5rem;
    }
}

.admin-dash-hero__clock {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: capitalize;
    color: rgba(148, 163, 184, 0.95);
    letter-spacing: 0.02em;
}

.admin-dash-hero__time {
    font-size: clamp(2.2rem, 5vw, 2.85rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    color: #fff;
    margin-top: 0.2rem;
    font-variant-numeric: tabular-nums;
}

.admin-dash-hero__packages {
    margin-top: 0.65rem;
    color: rgba(148, 163, 184, 0.95);
}

.admin-dash-hero__packages strong {
    color: #fff;
    font-weight: 700;
}

.admin-dash-hero__strip {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
}

@media (min-width: 768px) {
    .admin-dash-hero__strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.admin-dash-strip-item {
    padding: 0.95rem 1rem;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
    .admin-dash-strip-item {
        padding: 1rem 1.15rem;
    }
}

.admin-dash-strip-item__label {
    display: block;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
    margin-bottom: 0.25rem;
}

.admin-dash-strip-item__value {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.admin-dash-strip-item__delta {
    display: inline-block;
    margin-top: 0.15rem;
    font-size: 1.15rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.admin-dash-strip-item__delta.is-up {
    color: #4ade80;
}

.admin-dash-strip-item__delta.is-down {
    color: #fb7185;
}

.admin-dash-strip-item__muted {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(148, 163, 184, 0.75);
}

.admin-dash-strip-item__hint {
    display: inline-block;
    margin-left: 0.25rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(148, 163, 184, 0.85);
    text-transform: lowercase;
}

.admin-dash-section-label {
    margin-bottom: 0.65rem;
    margin-top: 0.25rem;
}

.admin-dash-section-label__eyebrow {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 0.2rem;
}

.admin-dash-section-label__title {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--panel-ink);
    margin: 0 0 0.25rem;
}

.admin-dash-section-label__sub {
    font-size: 0.8125rem;
    color: var(--panel-muted);
}

.admin-dash-insight {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 1.35rem;
    border-radius: var(--panel-radius);
    border: 1px solid var(--panel-border);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: var(--panel-shadow);
    min-height: 100%;
}

.admin-dash-insight__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    color: #fff;
}

.admin-dash-insight__kicker {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.admin-dash-insight__title {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--panel-ink);
    margin: 0 0 0.45rem;
}

.admin-dash-insight__text {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #475569;
}

.admin-dash-insight--primary .admin-dash-insight__icon {
    background: linear-gradient(135deg, #2563eb, #6366f1);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}

.admin-dash-insight--warning .admin-dash-insight__icon {
    background: linear-gradient(135deg, #ea580c, #f59e0b);
    box-shadow: 0 8px 22px rgba(234, 88, 12, 0.32);
}

.admin-dash-insight--success .admin-dash-insight__icon {
    background: linear-gradient(135deg, #059669, #10b981);
    box-shadow: 0 8px 22px rgba(5, 150, 105, 0.3);
}

.admin-dash-insight--muted .admin-dash-insight__icon {
    background: linear-gradient(135deg, #64748b, #94a3b8);
    box-shadow: 0 6px 18px rgba(100, 116, 139, 0.28);
}

.admin-dash-mission {
    height: 100%;
    padding: 1.35rem 1.4rem;
    border-radius: var(--panel-radius);
    border: 1px dashed rgba(37, 99, 235, 0.28);
    background:
        linear-gradient(145deg, rgba(239, 246, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 55%, rgba(238, 242, 255, 0.92) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.admin-dash-mission__quote {
    font-size: 0.95rem;
    font-weight: 600;
    font-style: italic;
    line-height: 1.55;
    color: #1e293b;
    margin: 0 0 0.75rem;
}

.admin-dash-mission__author {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    margin: 0;
}

.admin-dash-kpi {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 7.5rem;
    padding: 1.1rem 1.2rem 1.15rem;
    border-radius: var(--panel-radius);
    background: #fff;
    border: 1px solid var(--panel-border);
    box-shadow: var(--panel-shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    text-decoration: none;
    color: inherit;
}

a.admin-dash-kpi:hover {
    transform: translateY(-2px);
    box-shadow: var(--panel-shadow-lg);
    color: inherit;
}

.admin-dash-kpi--link {
    cursor: pointer;
}

.admin-dash-kpi__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #fff;
    flex-shrink: 0;
}

.admin-dash-kpi__icon--slate {
    background: linear-gradient(135deg, #475569, #334155);
}

.admin-dash-kpi__icon--indigo {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
}

.admin-dash-kpi__icon--emerald {
    background: linear-gradient(135deg, #059669, #10b981);
}

.admin-dash-kpi__icon--amber {
    background: linear-gradient(135deg, #d97706, #f59e0b);
}

.admin-dash-kpi__icon--rose {
    background: linear-gradient(135deg, #e11d48, #f43f5e);
}

.admin-dash-kpi__icon--teal {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
}

.admin-dash-kpi__label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--panel-muted);
    margin-bottom: 0.2rem;
}

.admin-dash-kpi__value {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--panel-ink);
    line-height: 1.1;
}

.admin-dash-kpi__hint {
    margin-top: auto;
    padding-top: 0.5rem;
    font-size: 0.75rem;
    color: #94a3b8;
}

.admin-dash-kpi__spark {
    margin-top: 0.55rem;
    padding-top: 0.45rem;
    border-top: 1px dashed rgba(15, 23, 42, 0.08);
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
}

.admin-dash-kpi__spark strong {
    color: #059669;
    font-weight: 800;
}

.admin-dash-card {
    border-radius: var(--panel-radius);
    background: #fff;
    border: 1px solid var(--panel-border);
    box-shadow: var(--panel-shadow);
    overflow: hidden;
}

.admin-dash-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.1rem 1.2rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background: linear-gradient(180deg, #fafbfc, #fff);
}

.admin-dash-card__title {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--panel-ink);
    margin: 0;
}

.admin-dash-card__sub {
    font-size: 0.75rem;
    color: var(--panel-muted);
    margin: 0.2rem 0 0;
}

.admin-dash-chart-wrap {
    padding: 1rem 1.15rem 1.25rem;
}

.admin-dash-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.35rem;
    height: 148px;
    padding-top: 1.25rem;
}

@media (min-width: 576px) {
    .admin-dash-chart {
        gap: 0.55rem;
        height: 168px;
    }
}

.admin-dash-chart__col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
}

.admin-dash-chart__bar {
    width: 100%;
    max-width: 42px;
    margin-inline: auto;
    border-radius: 8px 8px 4px 4px;
    background: linear-gradient(180deg, #3b82f6 0%, #6366f1 55%, #4f46e5 100%);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
    min-height: 8%;
    transition: height 0.35s ease;
}

.admin-dash-chart__value {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--panel-muted);
}

.admin-dash-chart__label {
    font-size: 0.58rem;
    font-weight: 700;
    color: #94a3b8;
    text-align: center;
    line-height: 1.15;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-dash-chart-badge {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.admin-dash-quick {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}

@media (min-width: 576px) {
    .admin-dash-quick {
        grid-template-columns: repeat(2, 1fr);
    }
}

.admin-dash-quick a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.9rem;
    border-radius: var(--panel-radius-sm);
    border: 1px solid var(--panel-border);
    background: #fafbfc;
    text-decoration: none;
    color: var(--panel-ink);
    font-weight: 600;
    font-size: 0.875rem;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.admin-dash-quick a:hover {
    background: #fff;
    border-color: rgba(37, 99, 235, 0.35);
    color: var(--panel-accent);
}

.admin-dash-quick a i {
    font-size: 1.15rem;
    opacity: 0.85;
}

.admin-dash-table tbody td {
    font-size: 0.8125rem;
    vertical-align: middle;
}

.admin-dash-log {
    font-size: 0.8125rem;
}

.admin-dash-log code {
    font-size: 0.72rem;
    background: rgba(241, 245, 249, 0.9);
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
}

/* ——— Panel top nav (coach + student): width + responsive labels ——— */
.panel-topnav-container {
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}

.panel-nav-txt--mid {
    display: none;
}

.panel-nav-txt--full {
    display: inline;
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .panel-topnav-container .panel-nav-txt--full {
        display: none !important;
    }

    .panel-topnav-container .panel-nav-txt--mid {
        display: inline !important;
    }
}

/* ——— Coach nav ——— */
.coach-shell .navbar-coach {
    background: linear-gradient(105deg, var(--coach-nav-from) 0%, var(--coach-nav-via) 42%, var(--coach-nav-to) 100%);
    box-shadow: var(--panel-shadow-nav);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.coach-shell .navbar-coach .navbar-brand {
    font-weight: 800;
    letter-spacing: -0.03em;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.coach-shell .navbar-coach .navbar-brand i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.coach-shell .navbar-coach .nav-link {
    border-radius: 10px;
    padding: 0.5rem 1rem !important;
    margin: 0 0.1rem;
    font-weight: 600;
    transition: background 0.15s ease;
    white-space: nowrap;
}

@media (max-width: 1199.98px) {
    .coach-shell .navbar-coach .nav-link {
        white-space: normal;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .coach-shell .navbar-coach .nav-link {
        padding: 0.45rem 0.55rem !important;
        font-size: 0.9rem;
    }
}

.coach-shell .navbar-coach .nav-link:hover {
    background: rgba(255, 255, 255, 0.12);
}

.coach-shell .navbar-coach .nav-link.active {
    background: rgba(255, 255, 255, 0.22);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.coach-shell .navbar-coach .btn-light {
    font-weight: 700;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ——— Coach billing ——— */
.billing-root {
    --billing-accent: #0284c7;
    --billing-accent-2: #2563eb;
    --billing-ink: #0f172a;
    --billing-card-radius: 20px;
}

.billing-page-head {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .billing-page-head {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1.5rem;
    }
}

.billing-page-head-inner {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    min-width: 0;
}

.billing-page-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.35rem;
    color: #fff;
    background: linear-gradient(135deg, var(--coach-nav-from), var(--billing-accent));
    box-shadow: 0 10px 28px rgba(2, 132, 199, 0.35);
}

.billing-page-head h1 {
    font-size: clamp(1.5rem, 3.5vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--billing-ink);
    margin: 0 0 0.35rem;
    line-height: 1.15;
}

.billing-page-sub {
    margin: 0;
    color: var(--panel-muted);
    font-size: 0.9375rem;
    line-height: 1.55;
    max-width: 52ch;
}

.billing-demo-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0c4a6e;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(37, 99, 235, 0.12));
    border: 1px solid rgba(14, 165, 233, 0.35);
    flex-shrink: 0;
}

.billing-demo-chip i {
    font-size: 1rem;
    opacity: 0.9;
}

/* Aktif plan kartı */
.billing-current-card {
    position: relative;
    border-radius: var(--billing-card-radius);
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 20px 50px rgba(2, 132, 199, 0.08);
    overflow: hidden;
}

.billing-current-card__accent {
    height: 5px;
    background: linear-gradient(90deg, var(--coach-nav-from), var(--billing-accent), #38bdf8);
}

.billing-current-card__body {
    padding: 1.35rem 1.35rem 1.5rem;
}

@media (min-width: 768px) {
    .billing-current-card__body {
        padding: 1.65rem 1.85rem 1.85rem;
    }
}

.billing-current-kicker {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #64748b;
    margin-bottom: 1rem;
}

.billing-current-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
}

.billing-current-plan-name {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--billing-ink);
    line-height: 1.2;
}

.billing-interval-pill {
    display: inline-flex;
    margin-top: 0.65rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    background: #f1f5f9;
    color: #475569;
}

.billing-days-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.65rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

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

.billing-days-pill--warn {
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
}

.billing-days-pill--danger {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.billing-usage-block {
    margin-top: 0;
    border-top: 1px solid rgba(15, 23, 42, 0.07);
}

.billing-usage-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 1rem;
}

.billing-usage-row + .billing-usage-row {
    margin-top: 1rem;
}

.billing-usage-row .progress {
    border-radius: 999px;
    background: #e2e8f0;
}

.billing-usage-row .progress-bar {
    border-radius: 999px;
    transition: width 0.5s ease;
}

.billing-root .billing-usage-row .progress-bar--safe {
    background: linear-gradient(90deg, #10b981, #34d399) !important;
}

.billing-root .billing-usage-row .progress-bar--mid {
    background: linear-gradient(90deg, #f59e0b, #fbbf24) !important;
}

.billing-root .billing-usage-row .progress-bar--high {
    background: linear-gradient(90deg, #ef4444, #f87171) !important;
}

.billing-section-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--billing-ink);
    margin-bottom: 0.35rem;
}

.billing-section-lead {
    color: var(--panel-muted);
    font-size: 0.875rem;
    margin-bottom: 1.35rem;
    max-width: 48ch;
}

/* Paket kartları */
.billing-plan-card {
    position: relative;
    height: 100%;
    border-radius: var(--billing-card-radius);
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
    overflow: hidden;
}

.billing-plan-card:not(.is-current):hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(2, 132, 199, 0.12);
    border-color: rgba(14, 165, 233, 0.35);
}

.billing-plan-card.is-current {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow:
        0 4px 24px rgba(37, 99, 235, 0.12),
        0 0 0 1px rgba(37, 99, 235, 0.08);
}

.billing-plan-card__shine {
    height: 4px;
    background: linear-gradient(90deg, #e2e8f0, #cbd5e1);
}

.billing-plan-card.is-current .billing-plan-card__shine {
    background: linear-gradient(90deg, var(--coach-nav-from), var(--billing-accent), #818cf8);
}

.billing-plan-active-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(79, 70, 229, 0.1));
    color: #1d4ed8;
    border: 1px solid rgba(37, 99, 235, 0.25);
    flex-shrink: 0;
}

.billing-plan-card__inner {
    padding: 1.35rem 1.35rem 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
}

@media (min-width: 768px) {
    .billing-plan-card__inner {
        padding: 1.5rem 1.6rem 1.65rem;
    }
}

.billing-plan-card__inner h3 {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--billing-ink);
    margin: 0;
    flex: 1;
    min-width: 0;
}

.billing-plan-card__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.billing-plan-price {
    margin-bottom: 1.15rem;
    line-height: 1;
}

.billing-plan-price__amount {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--billing-ink);
}

.billing-plan-price__suffix {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
}

.billing-plan-price__suffix small {
    font-weight: 600;
    font-size: 0.8rem;
    color: #94a3b8;
}

.billing-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.35rem;
    flex-grow: 1;
}

.billing-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.4;
    margin-bottom: 0.55rem;
}

.billing-plan-features li:last-child {
    margin-bottom: 0;
}

.billing-plan-features li i {
    flex-shrink: 0;
    margin-top: 0.12rem;
    color: #10b981;
    font-size: 1rem;
}

.billing-plan-cta {
    white-space: normal;
    line-height: 1.25;
    padding: 0.65rem 1.25rem;
    font-weight: 700;
    border-radius: 999px;
    margin-top: auto;
}

.billing-plan-card.is-current .billing-plan-cta {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: none;
}

.billing-plan-card.is-current .billing-plan-cta:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.billing-empty-card {
    border-radius: var(--billing-card-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    background: linear-gradient(145deg, #f8fafc, #f1f5f9);
    border: 1px dashed rgba(15, 23, 42, 0.12);
    color: #64748b;
}

.billing-empty-card i {
    font-size: 2rem;
    opacity: 0.45;
    display: block;
    margin-bottom: 0.75rem;
}

/* Ödeme sayfası */
.billing-checkout-stack {
    width: 100%;
    max-width: 38rem;
}

.billing-checkout-summary {
    border-radius: var(--billing-card-radius);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    background: #fff;
}

.billing-checkout-summary__head {
    padding: 1rem 1.35rem;
    background: linear-gradient(105deg, rgba(12, 74, 110, 0.06), rgba(37, 99, 235, 0.06));
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #475569;
}

.billing-checkout-summary__body {
    padding: 1.35rem 1.35rem 1.5rem;
}

.billing-checkout-alert {
    border-radius: var(--panel-radius-sm);
    border: 1px solid rgba(14, 165, 233, 0.25) !important;
    background: linear-gradient(135deg, rgba(224, 242, 254, 0.9), rgba(239, 246, 255, 0.95)) !important;
}

.billing-checkout-form-card {
    border-radius: var(--billing-card-radius);
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 1.35rem 1.35rem 1.5rem;
    background: #fff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.breadcrumb.billing-breadcrumb {
    --bs-breadcrumb-divider: '›';
}

/* ——— Student nav ——— */
.student-shell .navbar-student {
    background: linear-gradient(105deg, var(--student-nav-from) 0%, var(--student-nav-via) 45%, var(--student-nav-to) 100%);
    box-shadow: var(--panel-shadow-nav);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.student-shell .navbar-student .navbar-brand {
    font-weight: 800;
    letter-spacing: -0.03em;
}

.student-shell .navbar-student .student-nav-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.student-shell .navbar-student .btn-light {
    font-weight: 700;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ——— Login ——— */
.login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #0c1222 0%, #1e1b4b 38%, #312e81 70%, #1e3a5f 100%);
}

.login-shell::before,
.login-shell::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    pointer-events: none;
}

.login-shell::before {
    width: 420px;
    height: 420px;
    background: #6366f1;
    top: -120px;
    right: -80px;
}

.login-shell::after {
    width: 360px;
    height: 360px;
    background: #0ea5e9;
    bottom: -100px;
    left: -60px;
    opacity: 0.4;
}

.login-card {
    width: 100%;
    max-width: 420px;
    border-radius: var(--panel-radius);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.12),
        0 32px 64px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.login-card-wide {
    max-width: 480px;
}

.login-card .login-brand {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    color: #fff;
    margin-bottom: 1.25rem;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.4);
}

.login-card .login-title {
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--panel-ink);
}

.login-card .login-submit {
    font-weight: 700;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

/* ——— Öğrenci kayıt ——— */
.register-page.login-shell {
    align-items: flex-start;
    justify-content: center;
    min-height: 100dvh;
    min-height: 100vh;
    padding-top: max(0.75rem, env(safe-area-inset-top, 0px));
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Masaüstü: tek ekran, sayfa kaydırması yok */
@media (min-width: 992px) {
    .register-page.login-shell {
        height: 100dvh;
        height: 100vh;
        max-height: 100dvh;
        max-height: 100vh;
        overflow: hidden;
        align-items: center;
        justify-content: center;
        padding-top: max(0.35rem, env(safe-area-inset-top, 0px));
        padding-bottom: max(0.35rem, env(safe-area-inset-bottom, 0px));
        padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
        padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
    }
}

.register-layout {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 992px) {
    .register-page .register-layout {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.12fr);
        gap: 1.25rem;
        max-width: 1180px;
        max-height: calc(100dvh - max(0.7rem, env(safe-area-inset-top, 0px) + env(safe-area-inset-bottom, 0px)));
        align-items: center;
        overflow: hidden;
    }
}

@media (min-width: 992px) and (max-height: 780px) {
    .register-page .register-layout {
        gap: 0.85rem;
    }
}

.register-aside {
    flex-direction: column;
    justify-content: center;
    padding: 0.5rem 1rem 0;
    color: rgba(248, 250, 252, 0.95);
}

@media (min-width: 992px) {
    .register-page .register-aside {
        max-height: calc(100dvh - 0.75rem);
        overflow: hidden;
        padding: 0.15rem 0.35rem 0;
        justify-content: center;
    }
}

.register-aside__eyebrow {
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(248, 250, 252, 0.55);
    margin-bottom: 0.75rem;
}

.register-aside__title {
    font-size: clamp(1.65rem, 2.8vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.register-aside__title span {
    background: linear-gradient(90deg, #7dd3fc, #a5b4fc, #c4b5fd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.register-aside__lead {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(248, 250, 252, 0.72);
    max-width: 28rem;
    margin-bottom: 1.75rem;
}

.register-steps {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.register-step {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.register-step__num {
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8125rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.5), rgba(124, 58, 237, 0.45));
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
}

.register-step__text strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    color: #f8fafc;
}

.register-step__text p {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: rgba(248, 250, 252, 0.62);
}

.register-steps--rail {
    position: relative;
}

.register-steps--rail .register-step {
    position: relative;
}

.register-steps--rail .register-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 1.12rem;
    top: 2.35rem;
    width: 2px;
    height: calc(100% - 2rem);
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.06));
    pointer-events: none;
}

.register-step--active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(125, 211, 252, 0.42);
    box-shadow:
        0 0 0 1px rgba(125, 211, 252, 0.18),
        0 10px 28px rgba(15, 23, 42, 0.22);
}

.register-step--active .register-step__num {
    background: linear-gradient(135deg, #2563eb 0%, #6366f1 50%, #8b5cf6 100%);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.45);
}

.register-page .register-step:not(.register-step--active) {
    opacity: 0.82;
}

.register-page .register-step--active {
    opacity: 1;
}

@media (min-width: 992px) {
    .register-page .register-steps--rail .register-step:not(:last-child)::after {
        left: calc(0.28rem + 0.45rem + 0.35rem);
        top: 1.85rem;
        height: calc(100% - 1.35rem);
    }
}

.register-form-shell {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .register-form-shell {
        margin: 0;
        max-width: none;
        min-height: 0;
        max-height: calc(100dvh - max(0.7rem, env(safe-area-inset-top, 0px) + env(safe-area-inset-bottom, 0px)));
        display: flex;
        flex-direction: column;
    }
}

.register-card-glow {
    width: 100%;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(
        125deg,
        rgba(99, 102, 241, 0.35) 0%,
        rgba(56, 189, 248, 0.28) 50%,
        rgba(139, 92, 246, 0.32) 100%
    );
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 20px 48px -12px rgba(15, 23, 42, 0.42),
        0 8px 24px rgba(37, 99, 235, 0.1);
}

@media (min-width: 992px) {
    .register-page .register-card-glow {
        flex: 1;
        min-height: 0;
        max-height: 100%;
        display: flex;
        flex-direction: column;
    }
}

.register-card.login-card {
    max-width: none;
    border-radius: calc(var(--panel-radius) + 4px);
}

.register-page .register-card-glow > .register-card.login-card {
    border-radius: 19px;
    border: none;
    background: linear-gradient(185deg, #ffffff 0%, #fbfcfd 42%, #f1f5f9 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

@media (min-width: 992px) {
    .register-page .register-card.login-card {
        flex: 1;
        min-height: 0;
        max-height: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
}

.register-card-body {
    padding: 1rem 1.1rem 1.35rem;
}

@media (min-width: 768px) {
    .register-card-body {
        padding: 1.2rem 1.4rem 1.5rem;
    }
}

@media (min-width: 992px) {
    .register-page .register-card-body {
        flex: 1;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        padding: 0.75rem 1rem 0.85rem;
        scrollbar-width: thin;
        scrollbar-color: rgba(37, 99, 235, 0.3) transparent;
    }

    .register-page .register-card-body > .register-card-head {
        flex-shrink: 0;
    }

    .register-page .register-card-body > .alert {
        flex-shrink: 0;
    }
}

.register-form-main {
    display: contents;
}

@media (min-width: 992px) {
    .register-page .register-form-main {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
        overflow: visible;
    }
}

/* Hesap + güvenlik tek kutuda yan yana — boş köşe yok */
.register-section--duo {
    margin-bottom: 0.75rem;
}

@media (min-width: 992px) {
    .register-page .register-section--duo {
        margin-bottom: 0.55rem;
    }

    .register-section--duo__rail {
        border-left: 1px solid rgba(15, 23, 42, 0.08);
        padding-left: 1.25rem;
        margin-left: 0;
    }
}

@media (max-width: 991.98px) {
    .register-section--duo__rail {
        padding-top: 0.25rem;
        margin-top: 0.15rem;
        border-top: 1px solid rgba(15, 23, 42, 0.07);
    }
}

.register-card-head {
    margin-bottom: 1rem;
}

@media (min-width: 992px) {
    .register-card-head--fit {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.35rem 1rem;
        margin-bottom: 0.45rem;
    }

    .register-card-head--fit .register-top-link.register-top-link--head {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .register-card-head--fit .register-card-head__hero {
        flex: 1;
        min-width: 12rem;
    }
}

.register-card-head__hero {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-align: left;
}

.register-brand--head {
    margin-bottom: 0;
    flex-shrink: 0;
}

.register-card-head__titles {
    min-width: 0;
}

.register-title--head {
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.register-subtitle--head {
    font-size: 0.8125rem;
    line-height: 1.35;
    color: var(--panel-muted);
    margin-top: 0.2rem;
}

.register-page .register-brand--compact.login-brand {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
    box-shadow:
        0 4px 16px rgba(37, 99, 235, 0.35),
        0 0 0 2px rgba(255, 255, 255, 0.25) inset;
}

.register-brand--head.register-brand--compact {
    width: 48px;
    height: 48px;
}

@media (min-width: 992px) {
    .register-page .register-brand--head.register-brand--compact,
    .register-page .register-brand--compact.login-brand {
        width: 40px;
        height: 40px;
        font-size: 1.15rem;
        border-radius: 12px;
    }

    .register-page .register-title--head {
        font-size: 1.1rem;
    }

    .register-page .register-subtitle--head {
        font-size: 0.75rem;
        margin-top: 0.1rem;
    }
}

.register-title--compact {
    font-size: 1.2rem;
}

.register-subtitle {
    font-size: 0.8125rem;
    line-height: 1.35;
}

.register-page .register-top-link:not(.register-top-link--head) {
    margin-bottom: 0.45rem;
}

.register-section--surface {
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    background: linear-gradient(
        168deg,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(248, 250, 252, 0.96) 45%,
        rgba(241, 245, 249, 0.94) 100%
    );
    border: 1px solid rgba(15, 23, 42, 0.055);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.92) inset,
        0 6px 20px rgba(15, 23, 42, 0.035);
}

@media (min-width: 768px) {
    .register-section--surface {
        padding: 1rem 1.05rem;
    }
}

@media (min-width: 992px) {
    .register-page .register-section--surface {
        padding: 0.5rem 0.65rem;
        border-radius: 12px;
    }

    .register-page .register-section {
        margin-bottom: 0.45rem;
    }

    .register-page .register-section__label--compact {
        margin-bottom: 0.3rem;
    }

    .register-page .register-section__label--compact i {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }

    .register-page .register-label {
        font-size: 0.75rem;
        margin-bottom: 0.2rem !important;
    }

    .register-page .register-control {
        min-height: 38px;
        font-size: 0.875rem;
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
    }

    .register-page .register-input-wrap__icon {
        font-size: 0.95rem;
        left: 0.85rem;
    }

    .register-page .register-input-wrap .register-control {
        padding-left: 2.2rem;
    }

    .register-page .register-hint--tight {
        font-size: 0.65rem;
        margin-top: 0.2rem;
        line-height: 1.3;
    }

    .register-page .register-actions {
        margin-top: 0.45rem;
        padding-top: 0;
    }

    .register-page .register-submit-btn {
        padding: 0.5rem 0.85rem;
        font-size: 0.875rem;
    }

    .register-page .register-footer-note {
        margin-top: 0.4rem;
        font-size: 0.72rem;
    }

    .register-page .register-aside__eyebrow {
        margin-bottom: 0.35rem;
    }

    .register-page .register-aside__lead {
        display: none;
    }

    .register-page .register-aside__title {
        font-size: clamp(1.05rem, 1.5vw, 1.28rem);
        margin-bottom: 0.4rem;
    }

    .register-page .register-step__text p {
        display: none;
    }

    .register-page .register-steps {
        gap: 0.28rem;
    }

    .register-page .register-step {
        padding: 0.28rem 0.45rem;
        gap: 0.4rem;
    }

    .register-page .register-step__num {
        width: 1.4rem;
        height: 1.4rem;
        font-size: 0.65rem;
    }

    .register-page .register-step__text strong {
        font-size: 0.68rem;
    }
}

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

.register-edu-stack {
    margin-bottom: 0;
}

.register-actions {
    margin-top: 1rem;
    padding-top: 0.25rem;
}

.register-alert {
    border-radius: 12px;
}

.register-section__label--compact {
    margin-bottom: 0.45rem;
}

.register-page .register-section__label.register-section__label--compact {
    width: fit-content;
    max-width: 100%;
    flex-wrap: wrap;
    padding: 0.35rem 0.8rem 0.35rem 0.45rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 246, 0.06));
    border: 1px solid rgba(37, 99, 235, 0.12);
    color: #1e293b;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.register-section__label--compact i {
    width: 26px;
    height: 26px;
    font-size: 0.85rem;
}

.register-page .register-section__label--compact i {
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.16), rgba(124, 58, 246, 0.12));
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.register-page .register-section {
    margin-bottom: 0.75rem;
}

.register-page .register-section:last-of-type {
    margin-bottom: 0;
}

.register-page .register-divider {
    margin: 0.55rem 0;
}

.register-control {
    min-height: 44px;
    font-size: 0.9375rem;
}

.register-page .register-input-wrap .form-control,
.register-page .register-input-wrap .form-select {
    background-color: rgba(248, 250, 252, 0.95);
    border-color: rgba(15, 23, 42, 0.09);
    border-radius: 12px;
}

.register-page .register-input-wrap .form-control:hover,
.register-page .register-input-wrap .form-select:hover {
    border-color: rgba(37, 99, 235, 0.22);
}

.register-input-wrap .register-control {
    padding-left: 2.45rem;
}

.register-hint--tight {
    font-size: 0.75rem;
    margin-top: 0.3rem;
    line-height: 1.35;
}

/* Ek satırlar — kompakt kart + chip satırı */
.register-rules-panel.register-rules-panel--ux {
    margin-top: 0.65rem;
    padding: 0.65rem 0.75rem 0.75rem;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(37, 99, 235, 0.16);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.65) inset,
        0 6px 18px rgba(37, 99, 235, 0.08);
    max-height: min(11rem, 32vh);
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(37, 99, 235, 0.35) transparent;
}

@media (min-width: 992px) {
    .register-page .register-rules-panel.register-rules-panel--ux {
        margin-top: 0.4rem;
        padding: 0.45rem 0.55rem 0.55rem;
        max-height: 6.75rem;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .register-page .register-rules-hint {
        font-size: 0.65rem;
        margin-bottom: 0.3rem;
    }

    .register-page .register-rules-panel--ux .register-rules-panel__title {
        font-size: 0.62rem;
    }

    .register-page .register-rule-pill {
        padding: 0.2rem 0.45rem 0.2rem 0.38rem;
        font-size: 0.68rem;
    }

    .register-page .register-rule-check--ux {
        padding: 0.32rem 0.45rem;
    }

    .register-page .register-rule-check--ux .form-check-label {
        font-size: 0.75rem;
    }
}

.register-rules-panel.register-rules-panel--ux::before {
    height: 2px;
    opacity: 1;
}

.register-rules-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.register-rules-panel--ux .register-rules-panel__title {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0;
    font-size: 0.6875rem;
    color: #334155;
}

.register-rules-hint {
    font-size: 0.72rem;
    line-height: 1.35;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.register-rules-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.45rem;
}

.register-rules-chips:empty {
    margin-bottom: 0;
}

.register-rules-optional {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.register-rule-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.55rem 0.28rem 0.45rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1e3a5f;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.08));
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.register-rule-pill i {
    font-size: 0.7rem;
    color: #2563eb;
    margin-top: 0;
}

.register-rule-pill__text {
    max-width: 12rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.register-rule-pill__badge {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1d4ed8;
    background: rgba(255, 255, 255, 0.85);
    padding: 0.12rem 0.4rem;
    border-radius: 999px;
}

.register-rule-pill--hidden {
    opacity: 0.85;
    background: rgba(100, 116, 139, 0.12);
    border-color: rgba(100, 116, 139, 0.2);
}

.register-rule-pill--hidden .register-rule-pill__badge {
    color: #475569;
}

.register-rule-check--ux {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.45rem 0.55rem;
    margin-bottom: 0;
    border-radius: 10px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.07);
    transition: border-color 0.15s ease, background 0.15s ease;
}

.register-rule-check--ux:hover {
    border-color: rgba(37, 99, 235, 0.22);
    background: #fff;
}

.register-rule-check--ux .form-check-input {
    width: 1.05em;
    height: 1.05em;
    margin-top: 0.15rem;
    border-radius: 0.35rem;
    cursor: pointer;
}

.register-rule-check--ux .form-check-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    line-height: 1.25;
}

.register-rule-check__hint {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    color: #94a3b8;
}

.register-submit-btn {
    font-weight: 700;
    padding: 0.62rem 1rem;
    font-size: 0.9375rem;
}

.register-page .register-submit-btn.btn-primary {
    border: none;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 48%, #7c3aed 100%);
    box-shadow:
        0 4px 14px rgba(37, 99, 235, 0.42),
        0 1px 0 rgba(255, 255, 255, 0.2) inset;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.register-page .register-submit-btn.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow:
        0 8px 22px rgba(37, 99, 235, 0.48),
        0 1px 0 rgba(255, 255, 255, 0.22) inset;
    background: linear-gradient(135deg, #1d4ed8 0%, #4338ca 48%, #6d28d9 100%);
}

.register-page .register-submit-btn.btn-primary:active {
    transform: translateY(0);
}

.register-page .register-submit-btn.btn-primary:focus-visible {
    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.35),
        0 4px 14px rgba(37, 99, 235, 0.42);
}

.register-page .register-footer-note {
    margin-top: 0.75rem;
    font-size: 0.78rem;
}

.register-page .register-aside__title {
    font-size: clamp(1.2rem, 1.9vw, 1.5rem);
    margin-bottom: 0.45rem;
}

.register-page .register-aside__lead {
    font-size: 0.8125rem;
    line-height: 1.45;
    margin-bottom: 0.75rem;
}

.register-page .register-steps {
    gap: 0.4rem;
}

.register-page .register-step {
    padding: 0.4rem 0.6rem;
    gap: 0.5rem;
    border-radius: 12px;
}

.register-page .register-step__num {
    width: 1.65rem;
    height: 1.65rem;
    font-size: 0.72rem;
    border-radius: 8px;
}

.register-page .register-step__text strong {
    font-size: 0.72rem;
}

.register-page .register-step__text p {
    font-size: 0.65rem;
    line-height: 1.3;
}

@media (min-width: 992px) {
    .register-page .register-layout {
        gap: 1.25rem;
    }
}

/* Çok alçak pencerelerde hafif ölçek (sayfa kaydırmadan sığdır) */
@media (min-width: 992px) and (max-height: 700px) {
    .register-page .register-layout {
        transform: scale(0.92);
        transform-origin: center center;
    }
}

@media (min-width: 992px) {
    .register-page .register-alert {
        flex-shrink: 0;
        max-height: 5rem;
        overflow-y: auto;
        margin-bottom: 0.4rem !important;
        padding-top: 0.35rem !important;
        padding-bottom: 0.35rem !important;
    }
}

.register-top-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--panel-muted);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.15s ease;
}

.register-top-link:hover {
    color: var(--panel-accent);
}

.register-top-link.register-top-link--head {
    margin-bottom: 0.75rem;
}

.register-page .register-top-link--head {
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #475569;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease;
}

.register-page .register-top-link--head:hover {
    background: #fff;
    border-color: rgba(37, 99, 235, 0.22);
    color: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

.register-section {
    margin-bottom: 1.5rem;
}

.register-section:last-of-type {
    margin-bottom: 0;
}

.register-section__label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #64748b;
    margin-bottom: 0.85rem;
}

.register-section__label i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 246, 0.1));
    color: #2563eb;
}

.register-input-wrap {
    position: relative;
}

.register-input-wrap .form-control,
.register-input-wrap .form-select {
    padding-left: 2.65rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.register-input-wrap .form-control:focus,
.register-input-wrap .form-select:focus {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.register-input-wrap__icon {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.05rem;
    pointer-events: none;
    z-index: 2;
}

.register-hint {
    font-size: 0.8125rem;
    color: var(--panel-muted);
    line-height: 1.45;
    margin-top: 0.5rem;
}

.register-rules-panel {
    margin-top: 0.75rem;
    padding: 1rem 1.1rem;
    border-radius: var(--panel-radius-sm);
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.register-rules-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #7c3aed, #0ea5e9);
    opacity: 0.85;
}

.register-rules-panel__title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #475569;
    margin-bottom: 0.35rem;
}

.register-rule-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #475569;
    padding: 0.35rem 0;
}

.register-rule-item i {
    margin-top: 0.1rem;
    color: #2563eb;
}

.register-rule-check {
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    margin-bottom: 0.35rem;
}

.register-rule-check:last-child {
    margin-bottom: 0;
}

.register-rule-check .form-check-input {
    margin-top: 0.2rem;
}

.register-rule-check .form-check-label {
    padding-left: 0.25rem;
    cursor: pointer;
}

.register-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.08), transparent);
    margin: 1.35rem 0;
}

.register-footer-note {
    font-size: 0.8125rem;
    color: var(--panel-muted);
    text-align: center;
    margin-top: 1.25rem;
}

.register-footer-note a {
    font-weight: 700;
    color: var(--panel-accent);
    text-decoration: none;
}

.register-footer-note a:hover {
    text-decoration: underline;
}

/* ——— Badges (education) ——— */
.badge-accent-primary { background: rgba(37, 99, 235, 0.12); color: #1d4ed8; font-weight: 600; }
.badge-accent-success { background: rgba(5, 150, 105, 0.12); color: #047857; font-weight: 600; }
.badge-accent-warning { background: rgba(245, 158, 11, 0.18); color: #b45309; font-weight: 600; }
.badge-accent-purple { background: rgba(139, 92, 246, 0.14); color: #6d28d9; font-weight: 600; }

/* ——— Alerts ——— */
.panel-alert {
    border-radius: var(--panel-radius-sm);
    border: none;
    font-weight: 500;
}

.panel-body .alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(5, 150, 105, 0.08));
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.panel-body .alert-danger {
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.panel-body .alert-info {
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ——— Forms ——— */
.panel-body .form-control,
.panel-body .form-select {
    border-radius: var(--panel-radius-xs);
    border-color: #e2e8f0;
}

.panel-body .form-control:focus,
.panel-body .form-select:focus {
    border-color: var(--panel-accent);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.panel-fieldset {
    border: 1px solid var(--panel-border);
    border-radius: var(--panel-radius-sm);
    padding: 1.1rem 1.15rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

/* Coach profile — numbered steps */
.coach-step {
    display: grid;
    grid-template-columns: 2.75rem 1fr;
    gap: 1.15rem;
    align-items: start;
    margin-bottom: 2rem;
}

.coach-step-num {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 14px;
    background: linear-gradient(145deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.coach-step-body .coach-step-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--panel-ink);
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.coach-step-body .coach-step-hint {
    font-size: 0.875rem;
    color: var(--panel-muted);
    margin-bottom: 0.85rem;
    line-height: 1.5;
}

/* Admin education accordion */
.edu-accordion .accordion-button {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.edu-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.06));
    color: var(--panel-ink);
    box-shadow: none;
}

.edu-accordion .accordion-item {
    border-color: var(--panel-border) !important;
}

.edu-track-row {
    border: 1px solid var(--panel-border);
    border-radius: var(--panel-radius-sm);
    padding: 1.15rem;
    background: #fff;
    margin-bottom: 0.85rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.edu-track-row:last-of-type {
    margin-bottom: 0;
}

/* Exam focus block (coach partial) */
[id$='-exam-focus-block'] {
    border-radius: var(--panel-radius-sm) !important;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}

/* Coach / student main width — okunaklı, kartlar için yeterli */
.coach-shell main.container {
    max-width: 1180px;
}

.student-shell main.container {
    max-width: 1200px;
    color: var(--panel-ink);
}

.student-shell .navbar-student .nav-link {
    border-radius: 10px;
    padding: 0.45rem 0.85rem !important;
    margin: 0 0.1rem;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 1199.98px) {
    .student-shell .navbar-student .nav-link {
        white-space: normal;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .student-shell .navbar-student .nav-link {
        padding: 0.4rem 0.55rem !important;
        font-size: 0.9rem;
    }
}

.student-shell .navbar-student .nav-link:hover {
    background: rgba(255, 255, 255, 0.12);
}

.student-shell .navbar-student .nav-link.active {
    background: rgba(255, 255, 255, 0.22);
}

.student-dash-section-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.student-coach-card {
    border: 1px solid var(--panel-border);
    border-radius: var(--panel-radius-sm);
    padding: 1rem 1.15rem;
    background: #fff;
    height: 100%;
    box-shadow: var(--panel-shadow);
    transition: box-shadow 0.2s ease;
}

.student-coach-card:hover {
    box-shadow: var(--panel-shadow-lg);
}

.student-feed-item {
    border-left: 3px solid #10b981;
    padding-left: 1rem;
    margin-bottom: 1.25rem;
}

.student-feed-item:last-child {
    margin-bottom: 0;
}

/* Coach dashboard — yetkinlik özeti */
.coach-expertise-hero {
    box-shadow: var(--panel-shadow-lg);
}

.coach-expertise-hero-head {
    background: linear-gradient(105deg, var(--coach-nav-from) 0%, var(--coach-nav-via) 50%, var(--coach-nav-to) 100%);
    color: #fff;
    padding: 1.35rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.coach-expertise-hero-head::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    top: -80px;
    right: -40px;
    pointer-events: none;
}

.coach-expertise-hero-head .coach-expertise-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.coach-expertise-hero-head .btn-light {
    font-weight: 700;
    border: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.coach-type-tile {
    border: 1.5px solid var(--panel-border);
    border-radius: var(--panel-radius-sm);
    padding: 1rem;
    height: 100%;
    background: #fafbfc;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.coach-type-tile i:first-of-type {
    font-size: 1.35rem;
    color: #64748b;
}

.coach-type-tile .coach-type-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--panel-ink);
    letter-spacing: -0.02em;
}

.coach-type-tile .coach-type-hint {
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.35;
}

.coach-type-tile.is-on {
    border-color: rgba(37, 99, 235, 0.45);
    background: linear-gradient(165deg, #eff6ff 0%, #fff 100%);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
}

.coach-type-tile.is-on i:first-of-type {
    color: var(--panel-accent);
}

.coach-type-tile.is-off {
    opacity: 0.72;
}

.coach-exam-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(249, 115, 22, 0.08));
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: #b91c1c;
}

.coach-track-level-block {
    border: 1px solid var(--panel-border);
    border-radius: var(--panel-radius-sm);
    overflow: hidden;
    background: #fff;
}

.coach-track-level-block .level-head {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    padding: 0.65rem 1rem;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid var(--panel-border);
}

.coach-track-level-block .level-body {
    padding: 0.75rem 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.coach-track-pill {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid var(--panel-border);
}

.coach-track-pill.is-highlight {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-color: rgba(245, 158, 11, 0.35);
    color: #b45309;
}

/* Coach — öğrenci kartları & özel not */
.coach-students-hero {
    background: linear-gradient(125deg, #ffffff 0%, #f0f9ff 45%, #e0f2fe 100%) !important;
    border: 1px solid rgba(14, 165, 233, 0.2) !important;
    box-shadow: var(--panel-shadow-lg) !important;
}

.coach-students-hero-kicker {
    letter-spacing: 0.12em;
}

.coach-student-card {
    border-radius: var(--panel-radius);
    border: 1px solid var(--panel-border);
    background: #fff;
    box-shadow: var(--panel-shadow);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.coach-student-card:hover {
    box-shadow: var(--panel-shadow-lg);
    transform: translateY(-2px);
}

.coach-student-card__head {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid var(--panel-border);
}

.coach-student-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(145deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    font-weight: 800;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.coach-student-card__name {
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0;
    color: var(--panel-ink);
}

.coach-student-card__email {
    font-size: 0.8125rem;
    color: var(--panel-muted);
}

.coach-student-card__body {
    padding: 1.15rem 1.25rem 1.25rem;
}

.coach-student-card__path-label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.coach-student-note__label {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--panel-ink);
    display: block;
    margin-bottom: 0.15rem;
}

.coach-student-note__textarea {
    font-size: 0.875rem;
    line-height: 1.5;
    resize: vertical;
    min-height: 5.5rem;
}

.coach-note-stack {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 0.15rem;
}

.coach-note-card {
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, #fffefb 0%, #fff 100%);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.06);
    padding: 0.65rem 0.85rem;
}

.coach-note-card__meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #b45309;
    margin-bottom: 0.35rem;
}

.coach-note-card__meta time {
    font-variant-numeric: tabular-nums;
}

.coach-note-card__body {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--panel-ink);
    white-space: pre-wrap;
    word-break: break-word;
}

.coach-note-empty {
    padding: 0.75rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px dashed rgba(15, 23, 42, 0.1);
}

.coach-shell main.container {
    max-width: 1140px;
}

/* Öğrenci — haftalık plan */
.weekly-plan-week .weekly-day-card {
    border-radius: var(--panel-radius-sm);
    border: 1px solid var(--panel-border);
    background: #fff;
    box-shadow: var(--panel-shadow);
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.weekly-day-card__head {
    padding: 0.65rem 0.85rem;
    background: linear-gradient(180deg, #ecfdf5, #f8fafc);
    border-bottom: 1px solid var(--panel-border);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
}

.weekly-day-card__dow {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #059669;
}

.weekly-day-card__date {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--panel-ink);
    letter-spacing: -0.02em;
}

.weekly-day-card__body {
    padding: 0.65rem;
    flex: 1;
}

.weekly-task-pill {
    border-radius: 10px;
    border: 1px solid var(--panel-border);
    padding: 0.5rem 0.6rem;
    margin-bottom: 0.5rem;
    background: #fafbfc;
    font-size: 0.78rem;
}

.weekly-task-pill:last-child {
    margin-bottom: 0;
}

.weekly-task-pill.is-own {
    border-color: rgba(37, 99, 235, 0.25);
    background: linear-gradient(165deg, #eff6ff 0%, #fafbfc 100%);
}

.weekly-task-pill.is-coach {
    border-left: 3px solid #10b981;
}

.weekly-task-meta {
    font-size: 0.7rem;
    color: var(--panel-muted);
    margin-top: 0.2rem;
}

.weekly-task-badge {
    font-size: 0.6rem;
    margin-top: 0.35rem;
}

.weekly-task-badge.is-own {
    background: rgba(37, 99, 235, 0.12) !important;
    color: #1d4ed8 !important;
    border: 1px solid rgba(37, 99, 235, 0.2) !important;
}

.admin-coach-skill-btn {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.admin-coach-skill-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2) !important;
}

.admin-coaches-table tbody td {
    vertical-align: middle;
}

/* Haftalık plan — Wincare tarzı */
.wp-shell {
    background: #fff;
    overflow: hidden;
}

.wp-topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--panel-border);
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

@media (max-width: 767.98px) {
    .wp-topbar {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .wp-topbar__range {
        text-align: center !important;
    }
}

.wp-topbar__month {
    font-weight: 800;
    font-size: 1.125rem;
    letter-spacing: -0.03em;
    color: var(--panel-ink);
    text-transform: capitalize;
}

.wp-topbar__nav {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    justify-self: center;
}

.wp-nav-arrow {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.wp-nav-arrow:hover {
    background: #e2e8f0;
    color: var(--panel-accent);
}

.wp-nav-pill {
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.45rem 1.15rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #eff6ff, #e0e7ff);
    color: #1e40af;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.wp-topbar__range {
    font-size: 0.875rem;
    color: #64748b;
    justify-self: end;
}

.wp-board {
    display: flex;
    gap: 0.65rem;
    padding: 1rem 1rem 1.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: #f8fafc;
}

.wp-col {
    flex: 1 0 148px;
    min-width: 148px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    background: #f1f5f9;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.wp-col__head {
    padding: 0.85rem 0.75rem 0.65rem;
    background: #fff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.wp-col__title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.wp-col__dow {
    font-weight: 800;
    font-size: 0.8125rem;
    color: var(--panel-ink);
    letter-spacing: -0.02em;
    text-transform: capitalize;
}

.wp-col__count {
    font-size: 0.75rem;
    font-weight: 800;
    color: #64748b;
    background: #f1f5f9;
    min-width: 1.35rem;
    height: 1.35rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wp-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.wp-progress__pct {
    color: var(--panel-accent);
}

.wp-progress__bar {
    height: 5px;
}

.wp-col__body {
    padding: 0.65rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 120px;
}

.wp-task-card {
    background: #fff;
    border-radius: 14px;
    padding: 0.65rem 0.65rem 0.5rem;
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    position: relative;
    transition: opacity 0.15s ease, box-shadow 0.15s ease;
}

.wp-task-card.is-done {
    opacity: 0.72;
}

.wp-task-card.is-own {
    border-color: rgba(37, 99, 235, 0.18);
}

.wp-task-card.is-coach {
    border-color: rgba(124, 58, 237, 0.2);
}

.wp-task-card.is-awaiting {
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.35);
}

.wp-task-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    line-height: 1.2;
}

.wp-task-badge--student {
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
}

.wp-task-badge--coach {
    background: rgba(124, 58, 237, 0.12);
    color: #6d28d9;
}

.wp-review-proof {
    max-height: 320px;
}

.wp-task-card__top {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
}

.wp-task-card__drag {
    flex-shrink: 0;
    cursor: grab;
    color: #94a3b8;
    padding: 0.05rem 0.1rem 0 0;
    line-height: 1;
    user-select: none;
    touch-action: none;
}

.wp-task-card__drag:active {
    cursor: grabbing;
}

.wp-task-card__drag:focus-visible {
    outline: 2px solid var(--panel-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.wp-task-card.is-dragging {
    opacity: 0.55;
}

.wp-task-card.is-wp-saving {
    pointer-events: none;
    opacity: 0.85;
    transition: opacity 0.12s ease;
}

.wp-col__body--drop-hover {
    outline: 2px dashed rgba(37, 99, 235, 0.55);
    outline-offset: -4px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 12px;
}

.wp-task-check {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.1rem;
    border-radius: 50% !important;
    cursor: pointer;
}

.wp-task-card__duration {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #64748b;
    white-space: nowrap;
    margin-left: auto;
}

.wp-task-card__subject {
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.2;
}

.wp-task-card__topic {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 0.15rem;
}

.wp-task-card__foot {
    font-size: 0.65rem;
    color: #94a3b8;
    margin-top: 0.4rem;
    font-weight: 600;
}

.wp-task-card__check {
    margin: 0;
    padding: 0;
}

.wp-add-cell {
    margin-top: auto;
    min-height: 3.25rem;
    border: 2px dashed rgba(148, 163, 184, 0.55);
    border-radius: 14px;
    background: transparent;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.wp-add-cell:hover {
    border-color: var(--panel-accent);
    color: var(--panel-accent);
    background: rgba(37, 99, 235, 0.04);
}

.wp-modal {
    border-radius: 1.25rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

/* ——— Program oluştur modal (referans UI) ——— */
.wp-prog-dialog {
    max-width: 420px;
    margin: 1rem auto;
}

.wp-prog-modal {
    border-radius: 1.5rem;
    background: #fff;
    overflow: hidden;
}

.wp-prog-title {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.wp-prog-subtitle {
    font-size: 0.8125rem;
    color: #94a3b8;
    font-weight: 500;
}

.wp-prog-divider {
    border: 0;
    border-top: 1px solid #e8ecf1;
    opacity: 1;
}

.wp-prog-body {
    background: #fff;
}

.wp-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.wp-type-grid__cell--wide {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
}

.wp-type-grid__cell--wide .wp-type-tile {
    width: 100%;
    max-width: calc(50% - 0.375rem);
}

@media (max-width: 400px) {
    .wp-type-grid__cell--wide .wp-type-tile {
        max-width: 100%;
    }
}

.wp-type-tile {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #fff;
    padding: 1.15rem 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.wp-type-tile:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.wp-type-tile__icon {
    width: 3.25rem;
    height: 3.25rem;
    background: var(--tile-bg, #f1f5f9);
    color: var(--tile-fg, #64748b);
    font-size: 1.35rem;
}

.wp-type-tile__label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.25;
    padding: 0 0.25rem;
}

.wp-prog-footer {
    background: #fafbfc !important;
}

.wp-prog-backlink {
    color: #94a3b8 !important;
    font-size: 0.9375rem;
}

.wp-prog-backlink:hover {
    color: #64748b !important;
}

.wp-gen-mode-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid #e8ecf1;
    border-radius: 1rem;
    background: #fff;
    margin-bottom: 0.75rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wp-gen-mode-row:hover {
    border-color: #cbd5e1;
}

.wp-gen-mode-row.is-selected {
    border-color: #008f5d;
    box-shadow: 0 0 0 2px rgba(0, 143, 93, 0.15);
}

.wp-gen-mode-row__icon {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.35rem;
}

.wp-gen-mode-row__icon--lecture {
    background: #ffedd5;
    color: #ea580c;
}

.wp-gen-mode-row__icon--qb {
    background: #dbeafe;
    color: #2563eb;
}

.wp-gen-mode-row__title {
    display: block;
    font-weight: 800;
    font-size: 0.9375rem;
    color: #0f172a;
}

.wp-gen-mode-row__desc {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.15rem;
}

.wp-dur-visual__ring {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: #d1fae5;
}

.wp-dur-visual__clock {
    font-size: 1.75rem;
    color: #059669;
}

.wp-dur-stepper__btn {
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    background: #fff;
    font-size: 1.35rem;
    font-weight: 600;
    color: #475569;
    line-height: 1;
    transition: background 0.12s ease, border-color 0.12s ease;
}

.wp-dur-stepper__btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.wp-dur-stepper__value {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0f172a;
    min-width: 4rem;
    text-align: center;
}

.wp-btn-continue {
    border: none;
    border-radius: 0.85rem;
    background: #008f5d;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 0.85rem 1rem;
    box-shadow: 0 4px 14px rgba(0, 143, 93, 0.35);
    transition: filter 0.15s ease, transform 0.12s ease;
}

.wp-btn-continue:hover:not(:disabled) {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.wp-btn-continue:disabled {
    opacity: 0.5;
}

.wp-list-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.85rem 1rem;
    border: 1px solid #e8ecf1;
    border-radius: 0.85rem;
    background: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    color: #0f172a;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wp-list-btn:hover {
    border-color: #008f5d;
    box-shadow: 0 0 0 2px rgba(0, 143, 93, 0.12);
}

.wp-prog-subject-tile {
    border: 1px solid #e8ecf1 !important;
    border-radius: 0.85rem !important;
    background: #fff !important;
    padding: 0.85rem 0.5rem 0.75rem !important;
    box-shadow: none !important;
}

.wp-prog-dot {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--dot, #3b82f6);
}

.wp-prog-subject-name {
    font-size: 0.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 0.5rem;
    text-align: center;
}

.wp-track-pick.is-selected,
.wp-subject-pick.is-selected,
.wp-prog-subject-tile.is-selected {
    border-color: #008f5d !important;
    box-shadow: 0 0 0 2px rgba(0, 143, 93, 0.2) !important;
}

.wp-type-card {
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wp-type-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
}

.wp-track-dot {
    width: 1.25rem;
    height: 1.25rem;
    background: var(--dot, #3b82f6);
}

.wp-track-pick,
.wp-subject-pick {
    border-color: rgba(15, 23, 42, 0.08) !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

.wp-track-pick:hover,
.wp-subject-pick:hover {
    border-color: rgba(37, 99, 235, 0.35) !important;
}

.wp-track-pick.is-selected,
.wp-subject-pick.is-selected {
    border-color: var(--panel-accent) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.wp-input-soft {
    background: #fff !important;
}

/* ——— Admin: Müfredat (curriculum) ——— */
.curriculum-page {
    max-width: 1120px;
}

/* ——— Admin: ortak modül hero (premium, kompakt) ——— */
.admin-body .admin-module-hero {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 3px 5px -1px rgba(15, 23, 42, 0.1),
        0 16px 36px -10px rgba(49, 46, 129, 0.32);
}

.admin-body .admin-module-hero--theme-teal {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 3px 5px -1px rgba(15, 23, 42, 0.1),
        0 16px 36px -10px rgba(20, 83, 45, 0.3);
}

.admin-body .admin-module-hero--theme-violet {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 3px 5px -1px rgba(15, 23, 42, 0.1),
        0 16px 36px -10px rgba(91, 33, 182, 0.3);
}

.admin-body .admin-module-hero--theme-ocean {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 3px 5px -1px rgba(15, 23, 42, 0.1),
        0 16px 36px -10px rgba(14, 116, 144, 0.3);
}

.admin-body .admin-module-hero--theme-slate {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 3px 5px -1px rgba(15, 23, 42, 0.1),
        0 16px 36px -10px rgba(51, 65, 85, 0.28);
}

.admin-body .admin-module-hero--theme-amber {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 3px 5px -1px rgba(15, 23, 42, 0.1),
        0 16px 36px -10px rgba(146, 64, 14, 0.26);
}

.admin-body .admin-module-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        125deg,
        #020617 0%,
        #1e1b4b 22%,
        #3730a3 48%,
        #5b21b6 68%,
        #4f46e5 88%,
        #312e81 100%
    );
    background-size: 240% 240%;
    animation: panel-cal-hero-mesh 22s ease-in-out infinite;
}

.admin-body .admin-module-hero--theme-teal .admin-module-hero-bg {
    background: linear-gradient(
        125deg,
        #022c22 0%,
        #064e3b 22%,
        #0f766e 48%,
        #115e59 72%,
        #134e4a 100%
    );
}

.admin-body .admin-module-hero--theme-violet .admin-module-hero-bg {
    background: linear-gradient(
        125deg,
        #1e1b4b 0%,
        #4c1d95 28%,
        #6d28d9 52%,
        #7c3aed 72%,
        #5b21b6 100%
    );
}

.admin-body .admin-module-hero--theme-ocean .admin-module-hero-bg {
    background: linear-gradient(
        125deg,
        #0c4a6e 0%,
        #075985 24%,
        #0e7490 48%,
        #155e75 72%,
        #164e63 100%
    );
}

.admin-body .admin-module-hero--theme-slate .admin-module-hero-bg {
    background: linear-gradient(
        125deg,
        #0f172a 0%,
        #1e293b 30%,
        #334155 55%,
        #475569 78%,
        #1e293b 100%
    );
}

.admin-body .admin-module-hero--theme-amber .admin-module-hero-bg {
    background: linear-gradient(
        125deg,
        #451a03 0%,
        #78350f 26%,
        #b45309 50%,
        #d97706 74%,
        #92400e 100%
    );
}

@media (prefers-reduced-motion: reduce) {
    .admin-body .admin-module-hero-bg {
        animation: none;
        background-size: 100% 100%;
    }

    .admin-body .admin-module-hero-orb {
        animation: none !important;
    }
}

.admin-body .admin-module-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse 82% 68% at 28% 14%, black 16%, transparent 65%);
    pointer-events: none;
}

.admin-body .admin-module-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(36px);
    opacity: 0.48;
    pointer-events: none;
}

.admin-body .admin-module-hero--theme-teal .admin-module-hero-orb--a {
    width: 180px;
    height: 180px;
    background: #5eead4;
    top: -48px;
    right: -24px;
    animation: panel-cal-orb-float 14s ease-in-out infinite;
}

.admin-body .admin-module-hero--theme-teal .admin-module-hero-orb--b {
    width: 120px;
    height: 120px;
    background: #a7f3d0;
    bottom: -36px;
    left: 8%;
    opacity: 0.32;
    animation: panel-cal-orb-float 18s ease-in-out infinite reverse;
}

.admin-body .admin-module-hero--theme-teal .admin-module-hero-orb--c {
    width: 100px;
    height: 100px;
    background: #6ee7b7;
    top: 40%;
    left: 46%;
    opacity: 0.2;
    animation: panel-cal-orb-float 20s ease-in-out infinite;
}

.admin-body .admin-module-hero--theme-indigo .admin-module-hero-orb--a {
    width: 190px;
    height: 190px;
    background: #a78bfa;
    top: -52px;
    right: -28px;
    animation: panel-cal-orb-float 14s ease-in-out infinite;
}

.admin-body .admin-module-hero--theme-indigo .admin-module-hero-orb--b {
    width: 130px;
    height: 130px;
    background: #38bdf8;
    bottom: -40px;
    left: 10%;
    opacity: 0.32;
    animation: panel-cal-orb-float 18s ease-in-out infinite reverse;
}

.admin-body .admin-module-hero--theme-indigo .admin-module-hero-orb--c {
    width: 105px;
    height: 105px;
    background: #f472b6;
    top: 38%;
    left: 44%;
    opacity: 0.2;
    animation: panel-cal-orb-float 20s ease-in-out infinite;
}

.admin-body .admin-module-hero--theme-violet .admin-module-hero-orb--a {
    width: 185px;
    height: 185px;
    background: #c4b5fd;
    top: -50px;
    right: -26px;
    animation: panel-cal-orb-float 14s ease-in-out infinite;
}

.admin-body .admin-module-hero--theme-violet .admin-module-hero-orb--b {
    width: 125px;
    height: 125px;
    background: #e879f9;
    bottom: -38px;
    left: 9%;
    opacity: 0.3;
    animation: panel-cal-orb-float 18s ease-in-out infinite reverse;
}

.admin-body .admin-module-hero--theme-violet .admin-module-hero-orb--c {
    width: 100px;
    height: 100px;
    background: #a5b4fc;
    top: 40%;
    left: 45%;
    opacity: 0.18;
    animation: panel-cal-orb-float 20s ease-in-out infinite;
}

.admin-body .admin-module-hero--theme-ocean .admin-module-hero-orb--a {
    width: 180px;
    height: 180px;
    background: #22d3ee;
    top: -48px;
    right: -24px;
    animation: panel-cal-orb-float 14s ease-in-out infinite;
}

.admin-body .admin-module-hero--theme-ocean .admin-module-hero-orb--b {
    width: 120px;
    height: 120px;
    background: #38bdf8;
    bottom: -36px;
    left: 8%;
    opacity: 0.3;
    animation: panel-cal-orb-float 18s ease-in-out infinite reverse;
}

.admin-body .admin-module-hero--theme-ocean .admin-module-hero-orb--c {
    width: 95px;
    height: 95px;
    background: #67e8f9;
    top: 42%;
    left: 46%;
    opacity: 0.18;
    animation: panel-cal-orb-float 20s ease-in-out infinite;
}

.admin-body .admin-module-hero--theme-slate .admin-module-hero-orb--a {
    width: 170px;
    height: 170px;
    background: #94a3b8;
    top: -44px;
    right: -22px;
    animation: panel-cal-orb-float 14s ease-in-out infinite;
}

.admin-body .admin-module-hero--theme-slate .admin-module-hero-orb--b {
    width: 115px;
    height: 115px;
    background: #cbd5e1;
    bottom: -34px;
    left: 7%;
    opacity: 0.28;
    animation: panel-cal-orb-float 18s ease-in-out infinite reverse;
}

.admin-body .admin-module-hero--theme-slate .admin-module-hero-orb--c {
    width: 90px;
    height: 90px;
    background: #64748b;
    top: 41%;
    left: 47%;
    opacity: 0.16;
    animation: panel-cal-orb-float 20s ease-in-out infinite;
}

.admin-body .admin-module-hero--theme-amber .admin-module-hero-orb--a {
    width: 175px;
    height: 175px;
    background: #fcd34d;
    top: -46px;
    right: -24px;
    animation: panel-cal-orb-float 14s ease-in-out infinite;
}

.admin-body .admin-module-hero--theme-amber .admin-module-hero-orb--b {
    width: 118px;
    height: 118px;
    background: #fb923c;
    bottom: -36px;
    left: 8%;
    opacity: 0.3;
    animation: panel-cal-orb-float 18s ease-in-out infinite reverse;
}

.admin-body .admin-module-hero--theme-amber .admin-module-hero-orb--c {
    width: 92px;
    height: 92px;
    background: #fde68a;
    top: 40%;
    left: 45%;
    opacity: 0.18;
    animation: panel-cal-orb-float 20s ease-in-out infinite;
}

.admin-body .admin-module-hero-inner {
    padding: 0.85rem 1rem 1rem;
    z-index: 2;
}

@media (min-width: 768px) {
    .admin-body .admin-module-hero-inner {
        padding: 1rem 1.2rem 1.1rem;
    }
}

.admin-body .admin-module-hero-breadcrumb-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.65rem;
}

.admin-body .admin-module-hero-breadcrumb-actions {
    flex-shrink: 0;
}

/* Hero breadcrumb satırı — cam yüzey + gömülü ikonlu CTA (Ekip işleri vb.) */
.admin-body .admin-hero-breadcrumb-cta {
    appearance: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0.32rem 0.85rem 0.32rem 0.38rem;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: #1e1b4b;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 249, 0.96) 55%, rgba(226, 232, 240, 0.94) 100%);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 8px 22px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease,
        border-color 0.18s ease;
}

.admin-body .admin-hero-breadcrumb-cta:hover {
    color: #0f172a;
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.06),
        0 12px 28px rgba(37, 99, 235, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    filter: brightness(1.03);
}

.admin-body .admin-hero-breadcrumb-cta:active {
    transform: translateY(0);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.08),
        inset 0 2px 6px rgba(15, 23, 42, 0.06);
}

.admin-body .admin-hero-breadcrumb-cta:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 3px;
}

.admin-body .admin-hero-breadcrumb-cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    flex-shrink: 0;
    border-radius: 50%;
    font-size: 1rem;
    line-height: 1;
    color: #fff;
    background: linear-gradient(145deg, #2563eb 0%, #4f46e5 55%, #6366f1 100%);
    box-shadow:
        0 2px 8px rgba(37, 99, 235, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.admin-body .admin-hero-breadcrumb-cta:hover .admin-hero-breadcrumb-cta__icon {
    box-shadow:
        0 3px 12px rgba(37, 99, 235, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.admin-body .admin-hero-breadcrumb-cta__label {
    padding-right: 0.15rem;
}

.admin-body .admin-module-hero-breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.32rem 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 0;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.1);
}

@supports not (backdrop-filter: blur(10px)) {
    .admin-body .admin-module-hero-breadcrumb {
        background: rgba(30, 27, 75, 0.55);
    }

    .admin-body .admin-module-hero--theme-teal .admin-module-hero-breadcrumb {
        background: rgba(6, 78, 59, 0.55);
    }

    .admin-body .admin-module-hero--theme-slate .admin-module-hero-breadcrumb {
        background: rgba(30, 41, 59, 0.6);
    }

    .admin-body .admin-module-hero--theme-amber .admin-module-hero-breadcrumb {
        background: rgba(120, 53, 15, 0.55);
    }
}

.admin-body .admin-module-hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    transition: color 0.15s ease, opacity 0.15s ease;
}

.admin-body .admin-module-hero-breadcrumb a:hover {
    color: #fff;
    opacity: 1;
}

.admin-body .admin-module-hero-breadcrumb .sep {
    color: rgba(255, 255, 255, 0.45);
    user-select: none;
    font-size: 0.58rem;
}

.admin-body .admin-module-hero-breadcrumb .current {
    color: rgba(255, 255, 255, 0.96);
    font-weight: 800;
}

.admin-body .admin-module-hero-kicker {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.44);
    margin-bottom: 0;
}

.admin-body .admin-module-hero-title {
    font-size: clamp(1.05rem, 1.35vw + 0.62rem, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.032em;
    line-height: 1.22;
    color: #fff;
    text-wrap: balance;
    margin: 0;
}

.admin-body .admin-module-hero-title-accent {
    background: linear-gradient(90deg, #c4b5fd, #e9d5ff, #a5f3fc);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.admin-body .admin-module-hero--theme-teal .admin-module-hero-title-accent {
    background: linear-gradient(90deg, #a7f3d0, #ccfbf1, #5eead4);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.admin-body .admin-module-hero--theme-violet .admin-module-hero-title-accent {
    background: linear-gradient(90deg, #e9d5ff, #f0abfc, #c4b5fd);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.admin-body .admin-module-hero--theme-ocean .admin-module-hero-title-accent {
    background: linear-gradient(90deg, #a5f3fc, #bae6fd, #7dd3fc);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.admin-body .admin-module-hero--theme-slate .admin-module-hero-title-accent {
    background: linear-gradient(90deg, #e2e8f0, #f1f5f9, #cbd5e1);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.admin-body .admin-module-hero--theme-amber .admin-module-hero-title-accent {
    background: linear-gradient(90deg, #fde68a, #fcd34d, #fdba74);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.admin-body .admin-module-hero-lead {
    font-size: 0.8rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.74);
    margin: 0;
    max-width: 40rem;
}

.admin-body .admin-module-hero-lead a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.admin-body .admin-module-hero-pill,
.admin-body .panel-calendar-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.admin-body .admin-module-hero-pill--muted,
.admin-body .panel-calendar-pill--muted {
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

a.admin-module-hero-pill:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
}

/* Alt müfredat sayfaları (ünite, ders, konu): klasik breadcrumb + kart hero */
.curriculum-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.curriculum-breadcrumb a {
    color: #475569;
    text-decoration: none;
    transition: color 0.15s ease;
}

.curriculum-breadcrumb a:hover {
    color: var(--panel-accent);
}

.curriculum-breadcrumb .sep {
    color: #cbd5e1;
    user-select: none;
}

.curriculum-breadcrumb .current {
    color: #334155;
    font-weight: 700;
}

.curriculum-hero {
    border-radius: var(--panel-radius);
    border: 1px solid var(--panel-border);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 45%, #f1f5f9 100%);
    box-shadow: var(--panel-shadow);
    padding: 1.35rem 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.curriculum-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #0d9488, #6366f1);
    border-radius: 4px 0 0 4px;
}

.curriculum-hero .curriculum-hero-title {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--panel-ink);
    margin: 0 0 0.35rem;
}

.curriculum-hero .curriculum-hero-lead {
    font-size: 0.9rem;
    color: var(--panel-muted);
    line-height: 1.55;
    margin: 0;
    max-width: 58ch;
}

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

.curriculum-toolbar .btn-group-curr {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.curriculum-level-block {
    margin-bottom: 2rem;
}

.curriculum-level-block:last-child {
    margin-bottom: 0;
}

.curriculum-level-heading {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.curriculum-level-heading .badge-level {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
    color: #3730a3;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.curriculum-level-heading .count {
    font-size: 0.8125rem;
    color: #94a3b8;
    font-weight: 600;
}

.curriculum-row-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
    color: #475569;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.curriculum-count-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    padding: 0.25rem 0.6rem;
    font-size: 0.8125rem;
    font-weight: 800;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--panel-border);
    color: #334155;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.curriculum-subject-card {
    border-radius: var(--panel-radius-sm);
    border: 1px solid var(--panel-border);
    background: #fff;
    box-shadow: var(--panel-shadow);
    height: 100%;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}

.curriculum-subject-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--panel-shadow-lg);
    border-color: rgba(37, 99, 235, 0.22);
}

.curriculum-subject-card .card-top {
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #6366f1, #8b5cf6);
    opacity: 0.9;
}

.curriculum-subject-card .card-body-inner {
    padding: 1.25rem 1.35rem 1.35rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.curriculum-subject-card .subject-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(145deg, #eff6ff 0%, #eef2ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.curriculum-subject-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--panel-ink);
    margin: 0 0 0.35rem;
}

.curriculum-subject-card .hint {
    font-size: 0.8125rem;
    color: var(--panel-muted);
    line-height: 1.5;
    margin-bottom: 1.15rem;
    flex: 1;
}

.curriculum-context-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0.5rem 0.85rem;
    border-radius: var(--panel-radius-xs);
    background: #fff;
    border: 1px solid var(--panel-border);
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.curriculum-context-chip .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
}

.curriculum-form-card .card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.curriculum-form-card .card-header i {
    color: var(--panel-accent);
    font-size: 1.1rem;
}

.curriculum-unit-panel {
    border-radius: var(--panel-radius-sm);
    border: 1px solid var(--panel-border);
    background: #fff;
    box-shadow: var(--panel-shadow);
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.curriculum-unit-panel .unit-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
    border-bottom: 1px solid var(--panel-border);
    border-left: 4px solid #6366f1;
}

.curriculum-unit-panel .unit-head .unit-label {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
    display: block;
    margin-bottom: 0.35rem;
}

.curriculum-topic-table {
    width: 100%;
}

.curriculum-topic-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    transition: background 0.12s ease;
}

.curriculum-topic-row:last-child {
    border-bottom: none;
}

.curriculum-topic-row:hover {
    background: rgba(241, 245, 249, 0.65);
}

.curriculum-topic-row .topic-order {
    width: 4.5rem;
    flex-shrink: 0;
}

.curriculum-topic-row form:first-of-type {
    flex: 1 1 12rem;
    min-width: 0;
}

.curriculum-add-topic {
    padding: 1rem 1.15rem;
    background: rgba(248, 250, 252, 0.9);
    border-top: 1px dashed rgba(15, 23, 42, 0.1);
}

.curriculum-empty {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border: 2px dashed rgba(15, 23, 42, 0.12);
    border-radius: var(--panel-radius-sm);
    background: rgba(255, 255, 255, 0.7);
    color: var(--panel-muted);
}

.curriculum-empty i {
    font-size: 2.25rem;
    opacity: 0.35;
    display: block;
    margin-bottom: 0.75rem;
}

.curriculum-initial {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 800;
    color: #4338ca;
    background: linear-gradient(145deg, #eef2ff, #e0e7ff);
    flex-shrink: 0;
}

/* ——— Curriculum: kazanım ağacı (sınırsız derinlik) ——— */
.outcome-forest-page {
    max-width: 1100px;
}

.outcome-forest-hero {
    position: relative;
    border-radius: var(--panel-radius);
    padding: 1.75rem 1.5rem;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #312e81 0%, #4c1d95 42%, #5b21b6 100%);
    box-shadow: var(--panel-shadow-lg);
}

.outcome-forest-hero__glow {
    position: absolute;
    inset: -40% -20% auto auto;
    width: 70%;
    height: 140%;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.35) 0%, transparent 65%);
    pointer-events: none;
}

.outcome-forest-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.outcome-forest-title {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.outcome-forest-lead {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    max-width: 52ch;
    line-height: 1.55;
}

.outcome-root-card {
    border-radius: var(--panel-radius) !important;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.outcome-empty-state {
    border: 2px dashed rgba(99, 102, 241, 0.25);
    background: linear-gradient(145deg, rgba(238, 242, 255, 0.65), #fff);
    color: var(--panel-muted);
}

.outcome-empty-state__icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #e0e7ff, #f5f3ff);
    color: #6366f1;
}

.outcome-forest-panel {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 40%);
    border: 1px solid var(--panel-border);
    box-shadow: var(--panel-shadow);
}

.outcome-tree-list {
    padding-left: 0;
}

.outcome-tree-item {
    margin-bottom: 0.5rem;
}

.outcome-tree-card {
    position: relative;
}

.outcome-tree-card__row {
    display: flex;
    gap: 0.65rem;
    align-items: stretch;
}

.outcome-tree-rail {
    width: 4px;
    border-radius: 999px;
    flex-shrink: 0;
    background: linear-gradient(
        180deg,
        #6366f1,
        #a855f7,
        #ec4899
    );
    opacity: 0.85;
    margin-left: calc(var(--outcome-depth, 0) * 0.85rem);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.35);
}

.outcome-tree-card__body {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: var(--panel-radius-sm);
    padding: 0.85rem 1rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.outcome-tree-card__body:hover {
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.08);
}

.outcome-tree-nested {
    margin-top: 0.5rem;
    padding-left: 0.35rem;
    border-left: 1px dashed rgba(148, 163, 184, 0.5);
    margin-left: calc(0.85rem + var(--outcome-depth, 0) * 0.85rem);
}

.outcome-add-child {
    background: linear-gradient(90deg, rgba(239, 246, 255, 0.9), rgba(250, 245, 255, 0.85)) !important;
    border: 1px dashed rgba(99, 102, 241, 0.35);
}

.form-label.xsmall {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.curriculum-topic-row .topic-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.curriculum-topic-row .topic-outcomes-link {
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ——— RBAC: roller & izinler (premium UI) ——— */
.rbac-hero {
    position: relative;
    border-radius: var(--panel-radius);
    overflow: hidden;
    padding: 1.75rem 1.85rem;
    margin-bottom: 1.5rem;
    background:
        radial-gradient(ellipse 90% 120% at 100% 0%, rgba(99, 102, 241, 0.35), transparent 50%),
        radial-gradient(ellipse 70% 80% at 0% 100%, rgba(14, 165, 233, 0.28), transparent 45%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 42%, #312e81 100%);
    color: #f8fafc;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.rbac-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.9;
    pointer-events: none;
}

.rbac-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
}

.rbac-hero__eyebrow {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: rgba(248, 250, 252, 0.55);
    margin-bottom: 0.35rem;
}

.rbac-hero__title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 0;
}

.rbac-hero__lead {
    margin: 0.5rem 0 0;
    max-width: 36rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(248, 250, 252, 0.78);
}

.rbac-hero__actions .btn {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.rbac-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-top: 1.25rem;
    position: relative;
    z-index: 1;
}

.rbac-stat-pill {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    text-align: center;
}

.rbac-stat-pill__value {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.rbac-stat-pill__label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(248, 250, 252, 0.55);
    font-weight: 700;
    margin-top: 0.25rem;
}

.rbac-role-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 1rem;
}

.rbac-role-card {
    position: relative;
    background: #fff;
    border-radius: var(--panel-radius);
    border: 1px solid var(--panel-border);
    box-shadow: var(--panel-shadow);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.rbac-role-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--panel-shadow-lg);
    border-color: rgba(99, 102, 241, 0.28);
}

.rbac-role-card--super {
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.12);
}

.rbac-role-card--super .rbac-role-card__accent {
    background: linear-gradient(90deg, #f59e0b, #d97706, #f59e0b);
}

.rbac-role-card__accent {
    height: 4px;
    background: linear-gradient(90deg, var(--panel-accent), var(--panel-accent-2));
    opacity: 0.9;
}

.rbac-role-card__body {
    padding: 1.15rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rbac-role-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.rbac-role-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
    flex-shrink: 0;
}

.rbac-role-card--super .rbac-role-card__icon,
.rbac-role-card__icon.rbac-icon--gold {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}

.rbac-role-card__slug {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    word-break: break-all;
    line-height: 1.3;
    margin: 0;
}

.rbac-role-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.rbac-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.rbac-chip--perm {
    background: rgba(99, 102, 241, 0.08);
    color: #4f46e5;
    border-color: rgba(99, 102, 241, 0.2);
}

.rbac-chip--users {
    background: rgba(14, 165, 233, 0.1);
    color: #0369a1;
    border-color: rgba(14, 165, 233, 0.22);
}

.rbac-role-card__actions {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-top: 1px solid #f1f5f9;
}

.rbac-role-card__actions .btn {
    font-weight: 600;
    font-size: 0.8rem;
}

.rbac-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #fff;
    border-radius: var(--panel-radius);
    border: 2px dashed #cbd5e1;
    color: #64748b;
}

.rbac-empty i {
    font-size: 2.5rem;
    opacity: 0.35;
    display: block;
    margin-bottom: 0.75rem;
}

/* Form layout (create / edit) */
.rbac-form-page .rbac-form-hero {
    margin-bottom: 1.25rem;
}

.rbac-form-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: linear-gradient(105deg, #ffffff 0%, #f8fafc 45%, #eef2ff 100%);
    border: 1px solid var(--panel-border);
    border-radius: var(--panel-radius);
    box-shadow: var(--panel-shadow);
}

.rbac-form-hero__title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0;
    color: #0f172a;
}

.rbac-form-hero__meta {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0.25rem 0 0;
}

.rbac-form-sidebar {
    padding: 1.25rem 1.35rem;
}

.rbac-form-sidebar .form-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    font-weight: 700;
}

.rbac-form-sidebar .form-control {
    font-family: ui-monospace, monospace;
    font-weight: 600;
}

.rbac-hint-box {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(14, 165, 233, 0.06));
    border: 1px solid rgba(99, 102, 241, 0.15);
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.5;
}

.rbac-hint-box--warn {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.08));
    border-color: rgba(245, 158, 11, 0.28);
    color: #92400e;
}

.rbac-module-card {
    background: #fff;
    border: 1px solid var(--panel-border);
    border-radius: var(--panel-radius);
    box-shadow: var(--panel-shadow);
    overflow: hidden;
    margin-bottom: 1rem;
}

.rbac-module-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 0.9rem 1.1rem;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
    border-bottom: 1px solid #f1f5f9;
}

.rbac-module-card__head-left {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.rbac-module-card__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: #fff;
    flex-shrink: 0;
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.28);
}

.rbac-module-card__icon--people {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.rbac-module-card__icon--education {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.28);
}

.rbac-module-card__icon--finance {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.28);
}

.rbac-module-card__icon--operations {
    background: linear-gradient(135deg, #64748b, #475569);
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.28);
}

.rbac-module-card__icon--community {
    background: linear-gradient(135deg, #ec4899, #db2777);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.25);
}

.rbac-module-card__title {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.rbac-module-card__sub {
    font-size: 0.72rem;
    color: #94a3b8;
    margin: 0.1rem 0 0;
    font-weight: 600;
}

.rbac-module-card__bulk {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.rbac-module-card__bulk .btn {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    text-decoration: none;
}

.rbac-module-card__body {
    padding: 1rem 1.1rem 1.1rem;
}

.rbac-perm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 0.65rem;
}

.rbac-perm-tile {
    display: block;
    margin: 0;
    cursor: pointer;
    position: relative;
}

.rbac-perm-tile input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.rbac-perm-tile__box {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.85rem 0.95rem;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: #fafafa;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    min-height: 100%;
}

.rbac-perm-tile:hover .rbac-perm-tile__box {
    border-color: rgba(99, 102, 241, 0.35);
    background: #fff;
}

.rbac-perm-tile input:focus-visible + .rbac-perm-tile__box {
    outline: 2px solid rgba(99, 102, 241, 0.55);
    outline-offset: 2px;
}

.rbac-perm-tile input:checked + .rbac-perm-tile__box {
    border-color: rgba(99, 102, 241, 0.65);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.06));
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.12);
}

.rbac-perm-tile__check {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid #cbd5e1;
    flex-shrink: 0;
    margin-top: 0.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease;
    background: #fff;
}

.rbac-perm-tile input:checked + .rbac-perm-tile__box .rbac-perm-tile__check {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    color: #fff;
}

.rbac-perm-tile input:checked + .rbac-perm-tile__box .rbac-perm-tile__check::after {
    content: '✓';
    font-size: 0.7rem;
    font-weight: 900;
    line-height: 1;
}

.rbac-perm-tile__text-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.rbac-perm-tile__text-desc {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.45;
    margin-top: 0.2rem;
}

.rbac-perm-tile__code {
    font-family: ui-monospace, monospace;
    font-size: 0.62rem;
    color: #94a3b8;
    margin-top: 0.35rem;
    word-break: break-all;
}

.rbac-form-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding-top: 0.5rem;
}

.rbac-form-footer .btn-primary {
    font-weight: 700;
    padding: 0.55rem 1.35rem;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.3);
}

@media (min-width: 1200px) {
    .rbac-form-sidebar.sticky-xl-top {
        position: sticky;
        top: 1rem;
    }
}

/* ——— Admin: öğrenci eğitim yolu ——— */
.student-paths-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.student-paths-intro__text {
    flex: 1;
    min-width: min(100%, 18rem);
}

.student-paths-intro__actions {
    flex-shrink: 0;
}

.student-paths-hints {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.student-paths-hint {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.9rem 1rem;
    border-radius: var(--panel-radius-sm);
    background: linear-gradient(165deg, #fff 0%, #f8fafc 100%);
    border: 1px solid var(--panel-border);
    box-shadow: var(--panel-shadow);
}

.student-paths-hint__icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.1));
    color: #2563eb;
    font-size: 1.1rem;
}

.student-paths-hint strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--panel-ink);
    letter-spacing: -0.02em;
    margin-bottom: 0.15rem;
}

.student-paths-hint p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--panel-muted);
    line-height: 1.45;
}

.student-path-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.student-path-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    color: #1e40af;
    background: linear-gradient(145deg, #dbeafe, #e0e7ff);
    border: 1px solid rgba(37, 99, 235, 0.15);
    letter-spacing: -0.03em;
}

.student-path-user__meta {
    min-width: 0;
}

.student-path-user__name {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--panel-ink);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.student-path-track-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.student-path-track-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #334155;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    border: 1px solid rgba(15, 23, 42, 0.07);
    letter-spacing: -0.01em;
}

.student-path-track-chip.is-primary {
    color: #1e3a8a;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(99, 102, 241, 0.1));
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

.student-path-track-chip.is-muted {
    opacity: 0.85;
}

.student-path-editor {
    background: linear-gradient(180deg, #fafbfc 0%, #fff 55%);
    border: 1px solid var(--panel-border);
    border-radius: var(--panel-radius-sm);
    padding: 1rem 1.05rem;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.student-path-editor .form-label {
    font-weight: 700;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

.student-path-check-scroll {
    max-height: 10rem;
    overflow-y: auto;
    border-radius: 10px;
    border: 1px solid var(--panel-border);
    background: #fff;
    padding: 0.5rem 0.65rem;
}

.student-path-check-scroll .form-check {
    margin-bottom: 0.35rem;
}

.student-path-check-scroll .form-check:last-child {
    margin-bottom: 0;
}

.student-path-check-scroll .form-check-label {
    cursor: pointer;
}

/* ——— Marketing (Koçla Öğrenin) — kurumsal sürüm ——— */
.marketing-site {
    -webkit-font-smoothing: antialiased;
}

.marketing-nav-brand-title {
    font-size: clamp(0.92rem, 3.5vw, 1rem);
    letter-spacing: -0.02em;
}

.marketing-hero-title {
    font-size: clamp(1.42rem, 5.5vw, 2.55rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.marketing-hero-lead {
    max-width: 38rem;
    font-size: clamp(0.94rem, 3.3vw, 1.05rem);
    line-height: 1.65;
}

@media (max-width: 991.98px) {
    .marketing-site .marketing-anchor {
        scroll-margin-top: 4.75rem;
    }

    .marketing-nav-collapse {
        padding-bottom: 0.25rem;
    }

    .marketing-nav-pages .marketing-nav-link {
        padding-top: 0.55rem;
        padding-bottom: 0.55rem;
        border-radius: 8px;
    }

    .marketing-nav-actions .btn {
        min-height: 2.55rem;
    }

    .marketing-nav-logout {
        width: 100%;
    }

    .marketing-hero-art {
        margin-left: auto;
        margin-right: auto;
        max-width: min(100%, 22rem);
    }
}

@media (max-width: 575.98px) {
    .marketing-hero-stat {
        padding: 0.65rem 0.8rem;
    }

    .marketing-hero-stat .value {
        font-size: 0.92rem;
        line-height: 1.25;
    }

    .marketing-hero-stat .label {
        font-size: 0.58rem;
        margin-top: 0.28rem;
    }

    .marketing-hero-cta .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .marketing-hero-cta-login {
        width: 100%;
        text-align: center;
    }
}

.marketing-hero-accent {
    color: #1d4ed8;
    font-weight: 700;
}

.marketing-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.06) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 92% 75% at 50% -5%, #000 18%, transparent 62%);
    opacity: 0.65;
}

.marketing-hero-stat {
    border-radius: 14px;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    backdrop-filter: none;
}

.marketing-hero-stat--blue {
    border-left: 4px solid #2563eb;
}

.marketing-hero-stat--amber {
    border-left: 4px solid #d97706;
}

.marketing-hero-stat--emerald {
    border-left: 4px solid #059669;
}

.marketing-hero-stat__ico {
    margin-right: 0.35rem;
    vertical-align: -0.1em;
}

.marketing-hero-stat .value {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: #0f172a;
}

.marketing-hero-stat .label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #64748b;
    font-weight: 600;
    margin-top: 0.35rem;
}

.marketing-glass-card {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.marketing-glass-card--light {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.1);
    backdrop-filter: none;
}

.marketing-step-num {
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: #f1f5f9;
    background: #1e293b;
    border: 1px solid #334155;
    box-shadow: none;
    flex-shrink: 0;
}

.marketing-feature-card {
    height: 100%;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    padding: 1.65rem 1.45rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.marketing-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #334155;
    opacity: 1;
}

.marketing-feature-card:hover {
    transform: none;
    border-color: #cbd5e1;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.09);
}

.marketing-feature-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.15rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.marketing-feature-card__icon--student {
    color: #0f766e;
    background: #f0fdfa;
    border-color: #99f6e4;
}

.marketing-feature-card__icon--coach {
    color: #1d4ed8;
    background: #eff6ff;
    border-color: #bfdbfe;
}

.marketing-feature-card__icon--admin {
    color: #5b21b6;
    background: #f5f3ff;
    border-color: #ddd6fe;
}

.marketing-section-soft {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.marketing-cta-band {
    background: linear-gradient(115deg, #1e293b 0%, #1e40af 48%, #0f766e 100%);
    color: #f8fafc;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.marketing-cta-band::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: #38bdf8;
    filter: blur(100px);
    opacity: 0.12;
    top: -100px;
    right: -60px;
    pointer-events: none;
}

.marketing-cta-band .container {
    position: relative;
    z-index: 1;
}

/* Marketing — hero sanat: derinlik, yumuşak ışık, cam ikonlar, hafif etkileşim */
.marketing-hero-art {
    position: relative;
    min-height: 188px;
    border-radius: 20px;
    overflow: visible;
    isolation: isolate;
}

@media (min-width: 992px) {
    .marketing-hero-art {
        min-height: 232px;
        max-width: 380px;
        margin-left: auto;
    }
}

.marketing-hero-art__stage {
    position: absolute;
    z-index: 1;
    inset: 0;
    border-radius: inherit;
    background-color: #fafbfc;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.034) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.034) 1px, transparent 1px),
        radial-gradient(ellipse 125% 85% at 12% 6%, rgba(59, 130, 246, 0.11), transparent 58%),
        radial-gradient(ellipse 100% 80% at 92% 94%, rgba(249, 115, 22, 0.08), transparent 52%),
        radial-gradient(ellipse 70% 60% at 78% 18%, rgba(139, 92, 246, 0.07), transparent 48%),
        linear-gradient(168deg, #ffffff 0%, #fafbfc 38%, #f1f5f9 100%);
    background-size: 22px 22px, 22px 22px, auto, auto, auto, auto;
    background-position: -1px -1px, -1px -1px, 0 0, 0 0, 0 0, 0 0;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 0 0 1px rgba(226, 232, 240, 0.65),
        0 2px 4px rgba(15, 23, 42, 0.03),
        0 12px 28px rgba(15, 23, 42, 0.06),
        0 28px 56px rgba(59, 130, 246, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

/* Orta odak: kurumsal ağır metin yok; kısa, sıcak mesaj + hafif çember */
.marketing-hero-art__hub {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.marketing-hero-art__hub-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 0.75rem;
    max-width: 12rem;
    transition: transform 0.45s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.marketing-hero-art:hover .marketing-hero-art__hub-inner {
    transform: scale(1.04);
}

.marketing-hero-art__hub-orbit {
    position: absolute;
    width: 7.25rem;
    height: 7.25rem;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    border-radius: 50%;
    border: 1.5px dashed rgba(100, 116, 139, 0.16);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.65) 0%, rgba(248, 250, 252, 0.2) 45%, transparent 68%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.marketing-hero-art__hub-mark {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: #2563eb;
    background: linear-gradient(165deg, #eff6ff 0%, #ffffff 100%);
    border: 1px solid rgba(191, 219, 254, 0.85);
    box-shadow:
        0 2px 6px rgba(37, 99, 235, 0.08),
        0 8px 20px rgba(37, 99, 235, 0.1);
    margin-bottom: 0.35rem;
}

.marketing-hero-art__hub-text {
    margin: 0;
    position: relative;
    line-height: 1.28;
}

.marketing-hero-art__hub-line {
    display: block;
    font-size: 0.8125rem;
    font-weight: 650;
    color: #334155;
    letter-spacing: -0.02em;
}

.marketing-hero-art__hub-sub {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: #64748b;
    margin-top: 0.2rem;
    letter-spacing: 0.01em;
}

.marketing-hero-art__blob {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(36px);
    will-change: transform;
}

.marketing-hero-art__blob--1 {
    width: 158px;
    height: 158px;
    background: radial-gradient(circle at 38% 38%, rgba(59, 130, 246, 0.5), rgba(129, 140, 248, 0.22) 48%, transparent 70%);
    opacity: 0.88;
    top: -32px;
    right: -14px;
    animation: marketing-float 10s ease-in-out infinite;
}

.marketing-hero-art__blob--2 {
    width: 128px;
    height: 128px;
    background: radial-gradient(circle at 42% 42%, rgba(16, 185, 129, 0.48), rgba(52, 211, 153, 0.2) 50%, transparent 72%);
    opacity: 0.82;
    bottom: -24px;
    left: -20px;
    animation: marketing-float 11s ease-in-out infinite 0.8s;
}

.marketing-hero-art__blob--3 {
    width: 118px;
    height: 118px;
    background: radial-gradient(circle at 48% 48%, rgba(251, 191, 36, 0.42), rgba(167, 139, 250, 0.12) 45%, transparent 68%);
    opacity: 0.78;
    top: 32%;
    right: -32px;
    animation: marketing-float 9s ease-in-out infinite 0.4s;
}

@keyframes marketing-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5px, -7px) scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
    .marketing-hero-art__blob--1,
    .marketing-hero-art__blob--2,
    .marketing-hero-art__blob--3 {
        animation: none;
    }
}

.marketing-hero-float {
    position: absolute;
    z-index: 3;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.12rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.06),
        0 8px 18px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    overflow: hidden;
    transition:
        transform 0.45s cubic-bezier(0.34, 1.3, 0.64, 1),
        box-shadow 0.45s ease;
}

.marketing-hero-float::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(148deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.06) 38%, transparent 62%);
    pointer-events: none;
}

.marketing-hero-float i {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 1px 1px rgba(15, 23, 42, 0.12));
}

.marketing-hero-art:hover .marketing-hero-float--1 {
    transition-delay: 0ms;
}

.marketing-hero-art:hover .marketing-hero-float--2 {
    transition-delay: 35ms;
}

.marketing-hero-art:hover .marketing-hero-float--3 {
    transition-delay: 70ms;
}

.marketing-hero-art:hover .marketing-hero-float--4 {
    transition-delay: 105ms;
}

.marketing-hero-art:hover .marketing-hero-float {
    transform: translateY(-4px);
    box-shadow:
        0 6px 14px rgba(15, 23, 42, 0.1),
        0 16px 32px rgba(15, 23, 42, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

@media (prefers-reduced-motion: reduce) {
    .marketing-hero-float {
        transition: none;
    }

    .marketing-hero-art:hover .marketing-hero-float {
        transform: none;
        box-shadow:
            0 2px 4px rgba(15, 23, 42, 0.06),
            0 8px 18px rgba(15, 23, 42, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.35);
    }

    .marketing-hero-art:hover .marketing-hero-art__hub-inner {
        transform: none;
    }
}

/* Sol üst: mezuniyet — mavi */
.marketing-hero-float--1 {
    top: 9%;
    left: 8%;
    background: linear-gradient(148deg, #1d4ed8 0%, #3b82f6 55%, #60a5fa 100%);
}

/* Sol alt: grafik — yeşil */
.marketing-hero-float--2 {
    bottom: 11%;
    left: 7%;
    top: auto;
    background: linear-gradient(148deg, #047857 0%, #10b981 50%, #34d399 100%);
}

/* Sağ üst: takvim — mor */
.marketing-hero-float--3 {
    top: 10%;
    right: 8%;
    left: auto;
    background: linear-gradient(148deg, #5b21b6 0%, #8b5cf6 55%, #a78bfa 100%);
}

/* Sağ alt: sohbet — turuncu */
.marketing-hero-float--4 {
    bottom: 10%;
    right: 9%;
    top: auto;
    left: auto;
    background: linear-gradient(148deg, #c2410c 0%, #f97316 52%, #fb923c 100%);
}

.marketing-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 0.85rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    font-size: 0.74rem;
    font-weight: 600;
    color: #334155;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.marketing-trust-pill i {
    font-size: 1rem;
    opacity: 1;
}

.marketing-trust-pill--blue {
    background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
    border-color: #bfdbfe;
    color: #1e40af;
}

.marketing-trust-pill--blue i {
    color: #2563eb;
}

.marketing-trust-pill--amber {
    background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
    border-color: #fde68a;
    color: #b45309;
}

.marketing-trust-pill--amber i {
    color: #d97706;
}

.marketing-trust-pill--emerald {
    background: linear-gradient(180deg, #ecfdf5 0%, #fff 100%);
    border-color: #a7f3d0;
    color: #047857;
}

.marketing-trust-pill--emerald i {
    color: #059669;
}

.marketing-exam-chip {
    border-radius: 14px;
    padding: 1.15rem 1.15rem;
    height: 100%;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.marketing-exam-chip::after {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    border-radius: 0;
}

.marketing-exam-chip:hover {
    transform: none;
    border-color: #cbd5e1;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.marketing-exam-chip--lgs::after {
    background: #0d9488;
}

.marketing-exam-chip--yks::after {
    background: #2563eb;
}

.marketing-exam-chip--kpss::after {
    background: #4f46e5;
}

.marketing-exam-chip--genel::after {
    background: #475569;
}

.marketing-exam-chip__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.85rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.marketing-exam-chip--lgs .marketing-exam-chip__icon {
    color: #0f766e;
    background: #f0fdfa;
    border-color: #ccfbf1;
}

.marketing-exam-chip--yks .marketing-exam-chip__icon {
    color: #1d4ed8;
    background: #eff6ff;
    border-color: #dbeafe;
}

.marketing-exam-chip--kpss .marketing-exam-chip__icon {
    color: #4338ca;
    background: #eef2ff;
    border-color: #e0e7ff;
}

.marketing-exam-chip--genel .marketing-exam-chip__icon {
    color: #334155;
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.marketing-bento {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    padding: 1.75rem 1.5rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.marketing-bento:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.marketing-bento--student {
    border-color: #ccfbf1;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.marketing-bento--student::before {
    display: none;
}

.marketing-bento--coach {
    border-color: #dbeafe;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.marketing-bento--coach::before {
    display: none;
}

.marketing-bento__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.28rem 0.6rem;
    border-radius: 6px;
    margin-bottom: 0.85rem;
    border: 1px solid transparent;
}

.marketing-bento--student .marketing-bento__badge {
    background: #f0fdfa;
    color: #0f766e;
    border-color: #99f6e4;
}

.marketing-bento--coach .marketing-bento__badge {
    background: #eff6ff;
    color: #1e40af;
    border-color: #bfdbfe;
}

.marketing-bento__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
    border: 1px solid #e2e8f0;
}

.marketing-bento--student .marketing-bento__icon {
    background: #f0fdfa;
    color: #0f766e;
    border-color: #99f6e4;
}

.marketing-bento--coach .marketing-bento__icon {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.marketing-mini-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.marketing-mini-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.45;
    margin-bottom: 0.65rem;
}

.marketing-mini-list li:last-child {
    margin-bottom: 0;
}

.marketing-mini-list i {
    flex-shrink: 0;
    margin-top: 0.12rem;
    color: #0f766e;
    font-size: 1rem;
    opacity: 0.9;
}

.marketing-bento--coach .marketing-mini-list i {
    color: #1d4ed8;
}

.marketing-icon-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.marketing-icon-strip__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-width: 4.5rem;
    text-align: center;
}

.marketing-icon-strip__bubble {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: none;
}

.marketing-icon-strip__label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    max-width: 6rem;
    line-height: 1.2;
}

.marketing-section-balanced {
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.marketing-site .marketing-anchor {
    scroll-margin-top: 5.5rem;
}

.marketing-nav-link {
    color: #475569 !important;
    border-radius: 8px;
}

.marketing-nav-link:hover,
.marketing-nav-link:focus {
    color: #1e40af !important;
    background: rgba(30, 64, 175, 0.06);
}

@media (min-width: 992px) {
    .marketing-nav-link.active {
        color: #1e40af !important;
    }
}

.marketing-headline-deco {
    display: inline-block;
    width: 48px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #0d9488, #d97706);
    margin-bottom: 0.75rem;
}

.marketing-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.marketing-h2 {
    font-size: clamp(1.35rem, 2.2vw, 1.65rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.25;
}

.marketing-lead {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 38rem;
}

.marketing-glass-card__iconbox {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #475569;
    font-size: 1.2rem;
}

.marketing-glass-card__iconbox--emerald {
    background: linear-gradient(145deg, #ecfdf5, #d1fae5);
    border-color: #6ee7b7;
    color: #047857;
}

.marketing-glass-card__iconbox--sky {
    background: linear-gradient(145deg, #eff6ff, #dbeafe);
    border-color: #93c5fd;
    color: #1d4ed8;
}

.marketing-glass-card__iconbox--violet {
    background: linear-gradient(145deg, #f5f3ff, #ede9fe);
    border-color: #c4b5fd;
    color: #5b21b6;
}

.marketing-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    flex-shrink: 0;
}

/* —— Mesajlar (DM) —— */
.msg-page {
    max-width: 42rem;
    margin: 0 auto;
}

.msg-page__head {
    margin-bottom: 1.5rem;
}

.msg-page__title {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.msg-page__lead {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.5;
    max-width: 36rem;
}

.msg-empty {
    border-radius: 1.25rem;
    overflow: hidden;
    background: linear-gradient(145deg, #f8fafc 0%, #fff 50%, #f1f5f9 100%);
}

.msg-empty__inner {
    padding: 2.5rem 1.75rem;
    text-align: center;
}

.msg-empty__icon {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.12), rgba(99, 102, 241, 0.08));
    color: #2563eb;
    font-size: 2rem;
}

.msg-thread-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.msg-thread-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.msg-thread-row:hover {
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
    color: inherit;
}

.msg-thread-row__avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    background: linear-gradient(145deg, #3b82f6, #6366f1);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.msg-thread-row__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.msg-thread-row__name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
}

.msg-thread-row__time {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.msg-thread-row__preview {
    font-size: 0.8125rem;
    color: #64748b;
}

.msg-thread-row__chev {
    color: #cbd5e1;
    font-size: 1.1rem;
}

.msg-chat-page {
    max-width: 40rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: calc(100vh - 10rem);
}

.msg-chat-top {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.msg-chat-back {
    align-self: flex-start;
}

.msg-chat-peer {
    border-radius: 1rem !important;
}

.msg-chat-peer__inner {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
}

.msg-chat-peer__avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: linear-gradient(145deg, #0ea5e9, #6366f1);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.msg-chat-peer__name {
    font-weight: 800;
    font-size: 1rem;
    color: #0f172a;
}

.msg-chat-peer__email {
    font-size: 0.78rem;
    color: #64748b;
}

.msg-chat-panel {
    border-radius: 1.15rem !important;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    max-height: min(52vh, 520px);
}

.msg-chat-thread {
    flex: 1;
    overflow-y: auto;
    padding: 1.1rem 1rem 1.25rem;
    scroll-behavior: smooth;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.msg-chat-row {
    display: flex;
    margin-bottom: 0.65rem;
}

.msg-chat-row--in {
    justify-content: flex-start;
}

.msg-chat-row--out {
    justify-content: flex-end;
}

.msg-bubble {
    max-width: min(88%, 22rem);
    border-radius: 1.1rem;
    padding: 0.65rem 0.85rem 0.75rem;
    text-align: left;
}

.msg-bubble--in {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    border-bottom-left-radius: 0.35rem;
}

.msg-bubble--out {
    background: linear-gradient(145deg, #2563eb, #4f46e5);
    color: #fff;
    border-bottom-right-radius: 0.35rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.msg-bubble__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.65rem;
    margin-bottom: 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.msg-bubble--in .msg-bubble__meta {
    color: #94a3b8;
}

.msg-bubble--out .msg-bubble__meta {
    color: rgba(255, 255, 255, 0.72);
}

.msg-bubble__who {
    max-width: 11rem;
}

.msg-bubble__time {
    font-weight: 600;
    opacity: 0.9;
}

.msg-bubble__status {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem 0.4rem;
    margin-left: auto;
    font-weight: 600;
    opacity: 0.95;
    text-transform: none;
    letter-spacing: normal;
}

.msg-bubble--out .msg-bubble__status {
    color: rgba(255, 255, 255, 0.78);
}

.msg-bubble__status-text {
    font-weight: 700;
}

.msg-bubble__read-at {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    opacity: 0.95;
}

.msg-bubble--out .msg-bubble__read-at {
    color: rgba(255, 255, 255, 0.92);
}

.msg-bubble__body {
    font-size: 0.9rem;
    line-height: 1.45;
    word-break: break-word;
}

.msg-bubble--out .msg-bubble__body {
    color: #fff;
}

.msg-chat-empty__icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    font-size: 1.5rem;
}

.msg-composer {
    border-radius: 1.1rem !important;
    overflow: hidden;
}

.msg-composer__inner {
    display: flex;
    align-items: flex-end;
    gap: 0.65rem;
    padding: 0.65rem 0.75rem 0.65rem 1rem;
    background: #fff;
}

.msg-composer__input {
    resize: none;
    min-height: 2.75rem;
    max-height: 10rem;
    padding: 0.6rem 0.25rem;
    font-size: 0.9375rem;
    line-height: 1.45;
    background: transparent !important;
}

.msg-composer__input:focus {
    box-shadow: none !important;
}

.msg-composer__send {
    padding: 0.55rem 1.15rem;
    font-weight: 700;
    font-size: 0.875rem;
}

@media (max-width: 575.98px) {
    .msg-composer__inner {
        flex-wrap: wrap;
    }

    .msg-composer__send {
        width: 100%;
    }
}

/* Panel mesajları (admin) — liste + sohbet düzeni */
.panel-msg-index {
    max-width: 1100px;
    margin: 0 auto;
}

.panel-msg-index__grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 992px) {
    .panel-msg-index__grid {
        grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
        align-items: start;
    }
}

.panel-msg-hero__inner {
    display: flex;
    gap: 1rem;
    padding: 1.35rem 1.35rem 1rem;
    align-items: flex-start;
}

.panel-msg-hero__icon {
    width: 3.25rem;
    height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.16), rgba(99, 102, 241, 0.1));
    color: #2563eb;
    font-size: 1.45rem;
    flex-shrink: 0;
}

.panel-msg-hero__kicker {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #64748b;
}

.panel-msg-hero__action {
    padding: 1rem 1.35rem 1.25rem;
    background: rgba(248, 250, 252, 0.92);
}

.panel-msg-new-form__row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: stretch;
}

.panel-msg-new-form__row .form-select {
    min-width: 200px;
    flex: 1;
}

.panel-msg-inbox__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.panel-msg-inbox__empty {
    padding: 0.5rem 0.75rem 1rem;
}

.panel-msg-thread-list {
    max-height: min(68vh, 640px);
    overflow-y: auto;
    padding-top: 0.35rem;
}

.msg-thread-row--unread {
    border-left: 3px solid #2563eb;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.06), #fff 52%);
}

.admin-sidebar .nav-link .admin-nav-label {
    flex: 1;
    min-width: 0;
}

.admin-sidebar .nav-link .admin-nav-msgs-badge {
    margin-left: auto;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.2em 0.5em;
}

.panel-msg-chat .msg-chat-page {
    max-width: 48rem;
}

.panel-msg-chat__header .msg-chat-peer__inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.panel-msg-chat__thread.msg-chat-panel {
    max-height: min(58vh, 560px);
}

/* ——— Coach certificate onboarding wizard ——— */
.coach-cert-wizard__track {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: flex-start;
}

.coach-cert-wizard__step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--panel-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid var(--panel-border);
}

.coach-cert-wizard__step.is-active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.1));
    color: var(--panel-accent);
    border-color: rgba(37, 99, 235, 0.35);
}

.coach-cert-wizard__step.is-done {
    background: #ecfdf5;
    color: #047857;
    border-color: rgba(5, 150, 105, 0.35);
}

.coach-cert-wizard__step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.coach-cert-wizard__step.is-active .coach-cert-wizard__step-num {
    background: var(--panel-accent);
    color: #fff;
}

.coach-cert-wizard__step.is-done .coach-cert-wizard__step-num {
    background: #059669;
    color: #fff;
}

/* ——— Coach registration (premium layout) ——— */
.register-page--coach.login-shell {
    background:
        radial-gradient(1200px 600px at 12% -8%, rgba(14, 165, 233, 0.14), transparent 55%),
        radial-gradient(900px 480px at 92% 108%, rgba(6, 182, 212, 0.1), transparent 50%),
        linear-gradient(180deg, #f0f9ff 0%, #f8fafc 38%, #f1f5f9 100%);
    min-height: 100dvh;
}

@media (min-width: 992px) {
    .register-layout--coach .register-aside.register-aside--coach {
        background: linear-gradient(155deg, #082f49 0%, #0c4a6e 38%, #155e75 92%);
        border-radius: var(--panel-radius);
        padding: 1.65rem 1.45rem !important;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.07),
            0 20px 50px rgba(8, 47, 73, 0.35);
        position: relative;
        overflow: hidden;
    }

    .register-aside--coach__inner {
        position: relative;
        z-index: 1;
    }

    .register-layout--coach .register-aside.register-aside--coach::before {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, transparent 68%);
        top: -4rem;
        right: -3.5rem;
        pointer-events: none;
    }

    .register-layout--coach .register-aside.register-aside--coach::after {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(34, 211, 238, 0.2) 0%, transparent 70%);
        bottom: -3rem;
        left: -2rem;
        pointer-events: none;
    }
}

.register-card-glow--coach {
    filter: drop-shadow(0 22px 44px rgba(8, 47, 73, 0.12));
}

.register-card--coach.login-card.register-card {
    border: 1px solid rgba(14, 116, 144, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #fff 100%);
}

.register-brand--coach {
    background: linear-gradient(135deg, #0369a1, #0e7490, #0891b2) !important;
    box-shadow: 0 10px 28px rgba(8, 47, 73, 0.28);
}

.register-coach-profile {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .register-coach-profile {
        grid-template-columns: auto 1fr;
        align-items: start;
    }
}

.register-coach-profile__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.register-coach-avatar-ring {
    padding: 4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #06b6d4, #22d3ee);
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.register-coach-avatar-ring.has-image {
    box-shadow: 0 14px 36px rgba(14, 165, 233, 0.38);
}

.register-coach-avatar-preview {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: linear-gradient(145deg, #f0f9ff, #e0f2fe);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid #fff;
}

.register-coach-avatar-preview__ph {
    font-size: 3rem;
    color: #7dd3fc;
    opacity: 0.85;
}

.register-coach-avatar-preview__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.register-coach-avatar-btn {
    font-weight: 600;
    border-color: rgba(14, 165, 233, 0.45) !important;
    color: #0369a1 !important;
}

.register-coach-avatar-btn:hover {
    background: rgba(14, 165, 233, 0.1) !important;
}

.register-section--coach-profile {
    border-color: rgba(14, 165, 233, 0.12) !important;
    background: linear-gradient(180deg, rgba(240, 249, 255, 0.65) 0%, rgba(255, 255, 255, 0.92) 100%) !important;
}

.register-submit-btn--coach.btn-primary {
    background: linear-gradient(135deg, #0284c7, #0e7490) !important;
    border: none !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding-block: 0.72rem;
    box-shadow: 0 10px 28px rgba(14, 116, 144, 0.35);
}

.register-submit-btn--coach.btn-primary:hover {
    filter: brightness(1.05);
    box-shadow: 0 12px 32px rgba(14, 116, 144, 0.42);
}

.register-coach-trust {
    max-width: 26rem;
    margin-inline: auto;
}

.coach-step-num i {
    font-size: 1.2rem;
    line-height: 1;
}

.coach-profile-avatar-ring {
    padding: 3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #22d3ee);
    display: inline-block;
    box-shadow: 0 8px 22px rgba(14, 165, 233, 0.22);
}

.coach-profile-avatar-ring.has-image {
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
}

.coach-profile-avatar-preview {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #e0f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid #fff;
    font-size: 2rem;
    font-weight: 800;
    color: #0369a1;
}

.coach-profile-avatar-preview__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ——— Admin team work (Kanban) ——— */
.admin-kanban__column {
    background: #f8fafc;
    border-radius: var(--panel-radius);
    border: 1px solid var(--panel-border);
    min-height: 280px;
    max-height: min(70dvh, 52rem);
    display: flex;
    flex-direction: column;
}

.admin-kanban__column-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--panel-border);
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--panel-radius) var(--panel-radius) 0 0;
}

.admin-kanban__column-title {
    font-weight: 800;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    color: var(--panel-ink);
}

/* Tek dikey scroll burada: sütun başlığı sabit, kart listesi kayar */
.admin-kanban__list {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-x: none;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.38) transparent;
}

/* İnce, “yüzen” başparmak — WebKit (panel mor/indigo ile uyumlu) */
.admin-kanban__list::-webkit-scrollbar {
    width: 1px;
}

.admin-kanban__list::-webkit-scrollbar-track {
    margin: 8px 0;
    background: transparent;
}

.admin-kanban__list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    border: 0;
    min-height: 2rem;
    background: linear-gradient(
        180deg,
        rgba(129, 140, 248, 0.45) 0%,
        rgba(99, 102, 241, 0.5) 45%,
        rgba(79, 70, 229, 0.42) 100%
    );
    box-shadow:
        0 0 1px rgba(255, 255, 255, 0.35) inset,
        0 1px 4px rgba(79, 70, 229, 0.12);
}

.admin-kanban__list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        rgba(129, 140, 248, 0.65) 0%,
        rgba(99, 102, 241, 0.72) 50%,
        rgba(79, 70, 229, 0.62) 100%
    );
    box-shadow:
        0 0 1px rgba(255, 255, 255, 0.45) inset,
        0 2px 8px rgba(79, 70, 229, 0.18);
}

.admin-kanban__list::-webkit-scrollbar-thumb:active {
    background: linear-gradient(
        180deg,
        rgba(99, 102, 241, 0.75) 0%,
        rgba(67, 56, 202, 0.7) 100%
    );
}

.admin-kanban__card {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    background: #fff;
    border: 1px solid var(--panel-border);
    border-radius: var(--panel-radius-sm);
    padding: 0;
    overflow: visible;
    cursor: default;
    position: relative;
    flex-shrink: 0;
    flex-grow: 0;
    align-self: stretch;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

/* İç satır (grip + gövde): kolon genişliğini aşmasın */
.admin-kanban__card > .d-flex {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
}

.admin-kanban__card:hover {
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.admin-kanban__card-grip {
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    flex-shrink: 0;
    align-self: stretch;
    border: 0;
    border-radius: 0;
    background: rgba(15, 23, 42, 0.04);
    text-decoration: none;
}

.admin-kanban__card-grip:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--panel-accent) !important;
}

.admin-kanban__card-grip:active {
    cursor: grabbing;
}

.admin-kanban__card-body {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    cursor: pointer;
    outline: none;
    flex-shrink: 1;
    flex-grow: 1;
}

.admin-kanban__card-body:hover {
    background: rgba(37, 99, 235, 0.04);
}

.admin-kanban__card-body:focus-visible {
    box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.35);
}

.admin-kanban__card--ghost {
    opacity: 0.55;
}

.admin-kanban__card--drag {
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.18);
}

/* Başlık + öncelik: başlık flex içinde satır kırar, rozet sıkışmaz */
.admin-kanban__card-head {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
}

.admin-kanban__card-title {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--panel-ink);
    text-decoration: none;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: visible;
    text-overflow: clip;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    -webkit-box-orient: unset;
}

.admin-kanban__card-title:hover {
    color: var(--panel-accent);
}

/* Kart içi metin: yatayda şişirme yok, dikeyde serbest */
.admin-kanban__card-desc {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-top: 0.35rem;
    height: auto;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: visible;
    text-overflow: clip;
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

.admin-kanban__card-body .small:not(.badge):not(.badge-priority) {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: visible;
    text-overflow: clip;
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

.admin-kanban__card .badge-priority {
    font-size: 0.65rem;
    font-weight: 700;
}

.admin-team-work-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
}

.admin-work-reply-form .form-label {
    font-size: 0.75rem;
}

.nav-tabs-team-work .nav-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--panel-muted);
    border: 1px solid transparent;
}

.nav-tabs-team-work .nav-link:hover {
    color: var(--panel-accent);
    border-color: transparent;
}

.nav-tabs-team-work .nav-link.active {
    color: var(--panel-accent);
    background: #fff;
    border-color: var(--panel-border) var(--panel-border) #fff;
}

.nav-tabs-system-settings .nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--panel-muted);
    border: 1px solid transparent;
    white-space: nowrap;
}

.nav-tabs-system-settings .nav-link:hover {
    color: var(--panel-accent);
    border-color: transparent;
}

.nav-tabs-system-settings .nav-link.active {
    color: var(--panel-accent);
    background: #fff;
    border-color: var(--panel-border) var(--panel-border) #fff;
}

.team-work-drawer__tab-content {
    min-height: 14rem;
}

.work-item-comments-scroll {
    max-height: min(52vh, 30rem);
    overflow-y: auto;
    padding-right: 0.25rem;
}

/* ——— Team work: discussion thread ——— */
.tw-discussion-scroll {
    scrollbar-width: thin;
}

.tw-discussion-shell--pro {
    max-width: 100%;
}

.tw-discussion-board-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem 1.25rem;
    padding: 1.15rem 1.25rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #fff 45%, #f1f5f9 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.tw-discussion-board-kicker {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.tw-discussion-board-title {
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin: 0 0 0.35rem;
    line-height: 1.25;
}

.tw-discussion-board-sub {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.55;
    max-width: 36rem;
}

.tw-discussion-stat-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: #1d4ed8;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 999px;
}

.tw-discussion-stat-badge--quiet {
    color: #64748b;
    background: rgba(248, 250, 252, 0.95);
    border-color: rgba(15, 23, 42, 0.08);
    font-weight: 600;
}

.tw-discussion-thread {
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 1rem;
}

.tw-discussion-empty__icon {
    width: 3.25rem;
    height: 3.25rem;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.12), rgba(99, 102, 241, 0.08));
    color: #3b82f6;
    font-size: 1.35rem;
}

.tw-discussion-card--root {
    border: 1px solid rgba(15, 23, 42, 0.09) !important;
}

.tw-discussion-you-badge {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border-radius: 0.35rem;
    color: #0369a1;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.35);
}

.tw-discussion-thread-badge {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(241, 245, 249, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.tw-discussion-time {
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.75rem;
}

.tw-discussion-body {
    font-size: 0.9375rem;
    line-height: 1.6;
    word-break: break-word;
}

.tw-composer-toolbar--pro {
    background: linear-gradient(90deg, #fff 0%, #f8fafc 100%);
}

.tw-composer-toolbar__title {
    letter-spacing: 0.01em;
}

.tw-composer-hint-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    padding: 0.2rem 0.5rem;
    border-radius: 0.35rem;
    background: rgba(241, 245, 249, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.07);
}

.tw-composer-hint-chip--muted {
    color: #94a3b8;
    background: rgba(248, 250, 252, 0.9);
}

.tw-discussion-textarea {
    border-color: rgba(15, 23, 42, 0.1) !important;
    background: #fafbfc;
    font-size: 0.9375rem;
    line-height: 1.5;
    resize: vertical;
    min-height: 5rem;
}

.tw-discussion-textarea:focus {
    background: #fff;
    border-color: rgba(37, 99, 235, 0.45) !important;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
}

.tw-discussion-send-btn {
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.tw-discussion-composer-form--pro .tw-composer-surface {
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.tw-composer-surface--nested {
    border-color: rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.tw-composer-toolbar--nested {
    background: linear-gradient(90deg, #f8fafc, #fff);
}

.tw-discussion-card {
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    transition: box-shadow 0.15s ease;
}

.tw-discussion-card:hover {
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.07) !important;
}

.tw-discussion-avatar {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.75rem;
    letter-spacing: -0.02em;
    background: linear-gradient(145deg, #3b82f6, #6366f1);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.admin-work-comment--nested.tw-discussion-card {
    margin-left: calc(var(--comment-depth, 1) * 0.9rem);
    border-radius: 0.85rem !important;
    border-left: 3px solid rgba(99, 102, 241, 0.4) !important;
}

.admin-work-comment--nested .tw-discussion-avatar {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 0.7rem;
}

.tw-discussion-reply {
    border-top: 1px dashed rgba(15, 23, 42, 0.12);
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, rgba(255, 255, 255, 0.4) 100%);
    border-radius: 0 0 0.85rem 0.85rem;
}

.tw-discussion-composer-form {
    margin-top: 1rem;
}

.tw-composer-surface {
    border-color: rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.tw-composer-toolbar {
    background: linear-gradient(90deg, #f8fafc 0%, #f1f5f9 100%);
}

.tw-composer-toolbar__hint {
    letter-spacing: 0.02em;
}

.tw-composer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #475569;
    padding: 0.25rem 0.55rem;
    border-radius: 0.4rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.tw-composer-badge--muted {
    color: #64748b;
    background: rgba(248, 250, 252, 0.8);
}

.tw-mention-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.2rem 0.65rem 0.2rem 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1d4ed8;
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.95), rgba(224, 231, 255, 0.85));
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 999px;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.12);
}

.tw-mention-pill i.bi-at {
    font-size: 0.95rem;
    font-weight: 900;
    opacity: 0.85;
}

.tw-dropzone--composer {
    border-style: solid;
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(248, 250, 252, 0.65);
}

/* Ekip üyesi seçici (Bootstrap dropdown + vanilla JS; Tom Select yok) */
.tw-composer-surface .tw-staff-picker--sm .tw-staff-picker-trigger {
    min-height: 38px;
    align-items: center;
}

.team-work-drawer__tab-content .tw-staff-picker .tw-staff-picker-trigger,
.modal .tw-staff-picker .tw-staff-picker-trigger,
.offcanvas .tw-staff-picker .tw-staff-picker-trigger {
    min-height: 42px;
    align-items: center;
}

.admin-body .tw-staff-picker-menu {
    min-width: 100%;
    z-index: 1080;
    border-radius: var(--panel-radius-sm);
    box-shadow: var(--panel-shadow-lg);
}

@media (min-width: 576px) {
    .admin-body .tw-staff-picker-menu {
        min-width: min(24rem, calc(100vw - 2rem));
    }
}

.admin-body .tw-staff-picker .tw-staff-picker-list {
    max-height: min(16rem, 46vh);
}

.admin-body .tw-staff-picker__icon {
    font-size: 1.05rem;
    opacity: 0.7;
}

.work-item-attachments-scroll {
    max-height: min(48vh, 26rem);
    overflow-y: auto;
}

/* ——— Team work: professional PM-style UI ——— */
/* Mobil: çekmece tam yükseklik + içerik bu gövdede kayar (arka plan kayması / dokunma çalınması önlenir) */
.team-work-offcanvas.offcanvas.offcanvas-end {
    width: min(42rem, 100vw);
    top: 0;
    bottom: 0;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100dvh;
}

.team-work-offcanvas .offcanvas-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

@media (min-width: 1200px) {
    .team-work-offcanvas.offcanvas.offcanvas-end {
        width: min(44rem, 42vw);
    }
}

/* Yeni iş modalı: form ara katmanı flex zincirini tamamlar; gövde içinde kaydırma (iOS) */
#modalNewWorkItem.tw-modal .modal-content {
    min-height: 0;
    display: flex;
    flex-direction: column;
}

#modalNewWorkItem .modal-content > form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

#modalNewWorkItem .modal-dialog.modal-dialog-scrollable {
    max-height: calc(100dvh - 0.5rem);
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

#modalNewWorkItem .modal-dialog-scrollable .modal-content {
    max-height: min(100dvh - 0.5rem, 100%);
}

#modalNewWorkItem .modal-dialog-scrollable .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

#modalNewWorkItem .modal-dialog-scrollable .modal-footer {
    flex-shrink: 0;
}

/* lg altı: tam ekran; içerik form + gövdede kayar */
#modalNewWorkItem .modal-fullscreen-lg-down {
    --bs-modal-margin: 0;
}

@media (max-width: 991.98px) {
    #modalNewWorkItem .modal-fullscreen-lg-down .modal-content {
        min-height: 100dvh;
        min-height: 100vh;
        border-radius: 0;
    }
}

.tw-pro-board {
    margin-top: -0.25rem;
}

.tw-pro-board__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 45%, #eef2ff 100%);
    border: 1px solid var(--panel-border);
    border-radius: var(--panel-radius);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.tw-pro-board__title {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.2rem;
}

.tw-pro-board__lead {
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.5;
    max-width: 36rem;
    margin: 0;
}

.tw-pro-board__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

/* Ekip işleri — proje seçici (Kanban üstü, kompakt) */
.tw-pro-board__toolbar.tw-project-toolbar--compact {
    align-items: center;
    padding: 0.55rem 0.75rem;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}

.tw-project-toolbar__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.6rem;
    width: 100%;
    min-width: 0;
}

.tw-project-toolbar__label {
    margin: 0;
    flex-shrink: 0;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
    line-height: 1;
}

.tw-project-toolbar--compact .tw-project-toolbar__form {
    flex: 1 1 auto;
    min-width: 0;
    max-width: min(15.5rem, 46vw);
}

.tw-project-toolbar__actions {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
}

.tw-project-switcher {
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    border-radius: 0.65rem;
    overflow: hidden;
}

.tw-project-switcher .input-group-text,
.tw-project-switcher .form-select {
    border-color: rgba(15, 23, 42, 0.09);
}

.tw-project-switcher__prefix {
    background: rgba(255, 255, 255, 0.95);
    padding-inline: 0.55rem;
    border-right: 0;
}

.tw-project-switcher__prefix i {
    font-size: 0.95rem;
}

.tw-project-switcher__select {
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: -0.01em;
    color: #0f172a;
    border-left: 0;
    box-shadow: none;
}

.tw-project-toolbar--compact .tw-project-switcher__select {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.tw-project-switcher__select:focus {
    border-color: rgba(79, 70, 229, 0.45);
    box-shadow: 0 0 0 0.15rem rgba(79, 70, 229, 0.1);
}

@media (max-width: 575.98px) {
    .tw-project-toolbar--compact .tw-project-toolbar__form {
        max-width: none;
        flex: 1 1 100%;
        order: 3;
    }

    .tw-project-toolbar__actions {
        order: 2;
    }
}

.tw-pro-chip--sm {
    padding: 0.22rem 0.5rem;
    font-size: 0.68rem;
    gap: 0.25rem;
}

.tw-pro-chip__suffix {
    font-weight: 500;
    opacity: 0.82;
}

.tw-pro-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
}

.tw-pro-btn-primary {
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.55rem 1.25rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    border: none;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
}

.tw-pro-btn-primary:hover {
    filter: brightness(1.06);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

.admin-kanban__column--backlog {
    border-top: 3px solid #64748b;
}

.admin-kanban__column--in_progress {
    border-top: 3px solid #2563eb;
}

.admin-kanban__column--review {
    border-top: 3px solid #d97706;
}

.admin-kanban__column--bug_fix {
    border-top: 3px solid #e11d48;
    background: linear-gradient(180deg, #fff1f2 0%, #f8fafc 38%, #f1f5f9 100%);
}

.admin-kanban__column--bug_fix .admin-kanban__column-head {
    background: linear-gradient(180deg, rgba(225, 29, 72, 0.06), #fff);
}

.admin-kanban__column--done {
    border-top: 3px solid #059669;
}

.admin-kanban__empty-hint {
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: center;
    padding: 1.25rem 0.75rem;
    border: 1px dashed rgba(15, 23, 42, 0.12);
    border-radius: var(--panel-radius-sm);
    background: rgba(255, 255, 255, 0.5);
    line-height: 1.45;
    margin-bottom: 0.25rem;
    flex-shrink: 0;
}

.tw-modal .modal-content {
    border-radius: 1rem;
    overflow: hidden;
}

.tw-modal__head {
    background: linear-gradient(125deg, #1e293b 0%, #334155 40%, #3730a3 100%);
    padding: 1.35rem 1.5rem;
}

.tw-modal__head .btn-close {
    filter: invert(1);
    opacity: 0.75;
}

.tw-modal__eyebrow {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.35rem;
}

.tw-modal__head .modal-title {
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.tw-modal__sub {
    font-size: 0.875rem;
    color: rgba(248, 250, 252, 0.78);
    line-height: 1.45;
    margin: 0.35rem 0 0;
    max-width: 32rem;
}

.tw-modal__body {
    padding: 1.5rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.tw-form-section {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--panel-radius);
    padding: 1.25rem 1.35rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    height: 100%;
}

.tw-form-section__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.tw-form-section__icon {
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #6366f1);
    flex-shrink: 0;
}

.tw-form-section__icon--2 {
    background: linear-gradient(135deg, #0d9488, #0891b2);
}

.tw-form-section__title {
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--panel-ink);
    letter-spacing: -0.01em;
    margin: 0;
}

.tw-form-section__hint {
    font-size: 0.75rem;
    color: var(--panel-muted);
    margin: 0.15rem 0 0;
}

.tw-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.02em;
    margin-bottom: 0.35rem;
}

.tw-input-lg {
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0.65rem 0.9rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
}

.tw-input-lg:focus {
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.tw-modal__footer {
    padding: 1rem 1.5rem;
    background: #fff;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.tw-drawer-hero {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--panel-radius);
    padding: 1.15rem 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.tw-dropzone {
    position: relative;
    border: 2px dashed rgba(37, 99, 235, 0.28);
    border-radius: var(--panel-radius);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.04) 0%, #fff 100%);
    padding: 1.35rem 1rem;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.tw-dropzone:hover,
.tw-dropzone.is-dragover {
    border-color: rgba(37, 99, 235, 0.55);
    background: rgba(37, 99, 235, 0.06);
}

.tw-dropzone__file {
    max-width: 18rem;
    margin: 0.75rem auto 0;
}

.tw-dropzone--comment {
    padding: 0.85rem 1rem;
    text-align: left;
}

.tw-dropzone--comment .tw-dropzone__file {
    max-width: none;
    margin: 0.35rem 0 0;
}

.admin-work-comment__file {
    max-width: 100%;
}

.tw-attachment-row {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--panel-radius-sm);
    padding: 0.85rem;
    background: #fff;
    transition: box-shadow 0.15s ease;
}

.tw-attachment-row:hover {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.tw-composer {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: var(--panel-radius);
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.tw-composer textarea {
    border-radius: 0.65rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
}

.tw-offcanvas-loading {
    min-height: 12rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

/* ——— Admin panel notification bell ——— */
.admin-topbar .admin-notif-bell {
    position: relative;
    min-width: 0;
    max-width: 100%;
}

.admin-notif-bell .admin-notif-badge {
    font-size: 0.65rem;
    padding: 0.2em 0.45em;
    min-width: 1.1rem;
}

.admin-notif-dropdown {
    width: min(22rem, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
    max-height: min(22rem, calc(70vh - 1rem));
    overflow: hidden;
    min-width: 0;
    box-sizing: border-box;
    /* Bootstrap .dropdown-item nowrap + uzun metin: yatay taşmayı kökten kes */
    word-break: break-word;
}

/* d-flex KULLANMA: utility display:flex!important kapalı menüdeki display:none'u ezer, panel hep açık kalır */
.dropdown-menu.admin-notif-dropdown.show {
    display: flex !important;
    flex-direction: column;
}

.admin-notif-dropdown__head {
    flex-shrink: 0;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    flex-wrap: wrap;
}

.admin-notif-dropdown__title {
    letter-spacing: 0.06em;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.admin-notif-dropdown__mark-all {
    min-width: 0;
    max-width: 100%;
}

.admin-notif-list {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 116, 139, 0.35) transparent;
}

.admin-notif-list::-webkit-scrollbar {
    width: 4px;
}

.admin-notif-list::-webkit-scrollbar-track {
    margin: 6px 0;
    background: transparent;
    border-radius: 999px;
}

.admin-notif-list::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.28);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.admin-notif-list::-webkit-scrollbar-thumb:hover {
    background: rgba(37, 99, 235, 0.35);
    border: 2px solid transparent;
    background-clip: padding-box;
}

.admin-notif-list__empty {
    overflow-x: hidden;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    word-break: break-word;
}

.admin-notif-item.dropdown-item {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    word-break: break-word;
    overflow-x: hidden;
}

.admin-notif-item__title,
.admin-notif-item__preview,
.admin-notif-item__time {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    word-break: break-word;
}

.admin-notif-item--unread {
    background: rgba(37, 99, 235, 0.06);
    border-left: 3px solid #2563eb;
}

.admin-notif-item:hover {
    background: rgba(15, 23, 42, 0.04);
}

.admin-notif-item--unread:hover {
    background: rgba(37, 99, 235, 0.1);
}

/* ——— Admin yüzen panel sohbeti ——— */
/* Docked mod + küçültme sekmesi: admin-topbar ile çakışmasın */
body.panel-body.admin-body {
    --admin-floating-chat-top-offset: 4.9rem;
}

@media (max-width: 991.98px) {
    body.panel-body.admin-body {
        --admin-floating-chat-top-offset: 7rem;
    }
}

.admin-floating-chat {
    position: fixed;
    z-index: 1038;
    font-family: var(--panel-font);
    pointer-events: none;
}

.admin-floating-chat > * {
    pointer-events: auto;
}

/* Varsayılan: popup — sağ alt FAB + açılır kutu */
.admin-floating-chat--popup {
    right: 1.15rem;
    bottom: 1.15rem;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    max-width: calc(100vw - 2.3rem);
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 0.75rem;
}

/* İsteğe bağlı: sağda tam yükseklik sabit sütun (üst çubuk altından) */
.admin-floating-chat--docked {
    right: 0;
    bottom: 0;
    top: var(--admin-floating-chat-top-offset);
    left: auto;
    max-width: none;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-end;
    padding: 0;
}

.admin-floating-chat--docked .admin-floating-chat__fab {
    display: none !important;
}

.admin-floating-chat--docked .admin-floating-chat__panel {
    position: relative;
    right: auto;
    bottom: auto;
    top: auto;
    width: min(22rem, 100vw);
    max-width: 100vw;
    max-height: none;
    height: 100%;
    min-height: 0;
    border-radius: var(--panel-radius) 0 0 var(--panel-radius);
    box-shadow: -8px 0 48px rgba(15, 23, 42, 0.14);
    flex-shrink: 0;
}

.admin-floating-chat--docked .admin-floating-chat__conv-list {
    max-height: min(11rem, 28vh);
}

.admin-floating-chat--docked .admin-floating-chat__peer-list {
    min-height: 5rem;
}

.admin-floating-chat--docked.admin-floating-chat--docked-collapsed .admin-floating-chat__panel {
    width: 0 !important;
    min-width: 0;
    padding: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    border: none;
    box-shadow: none;
    pointer-events: none;
}

.admin-floating-chat__expand-tab {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    position: fixed;
    right: 0;
    top: calc(
        var(--admin-floating-chat-top-offset) + (100vh - var(--admin-floating-chat-top-offset)) * 0.5
    );
    top: calc(
        var(--admin-floating-chat-top-offset) + (100dvh - var(--admin-floating-chat-top-offset)) * 0.5
    );
    transform: translateY(-50%);
    z-index: 1039;
    width: 2.85rem;
    padding: 0.85rem 0.4rem;
    border: none;
    border-radius: 12px 0 0 12px;
    background: linear-gradient(180deg, #2563eb, #6366f1);
    color: #fff;
    box-shadow: -4px 4px 20px rgba(37, 99, 235, 0.35);
    cursor: pointer;
    transition: filter 0.15s ease;
}

.admin-floating-chat__expand-tab:hover {
    filter: brightness(1.06);
    color: #fff;
}

.admin-floating-chat__expand-tab:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.45);
    outline-offset: 2px;
}

.admin-floating-chat__expand-tab-badge {
    font-size: 0.6rem;
}

.admin-floating-chat--docked.admin-floating-chat--docked-collapsed .admin-floating-chat__expand-tab {
    display: flex;
}

.admin-floating-chat__layout-toggle .btn.active {
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.12));
    border-color: rgba(37, 99, 235, 0.45);
    color: #1d4ed8;
    font-weight: 700;
}

.admin-floating-chat__fab {
    position: relative;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #2563eb, #7c3aed);
    color: #fff;
    border: none;
    padding: 0;
    font-size: 1.35rem;
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.45);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.admin-floating-chat__fab:hover {
    transform: scale(1.04);
    color: #fff;
    box-shadow: 0 10px 32px rgba(37, 99, 235, 0.5);
}

.admin-floating-chat__fab:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.45);
    outline-offset: 2px;
}

.admin-floating-chat__fab-badge {
    font-size: 0.65rem;
    min-width: 1.15rem;
    padding: 0.2em 0.4em;
}

.admin-floating-chat__panel {
    position: absolute;
    right: 0;
    bottom: calc(3.5rem + 0.75rem);
    width: min(22rem, calc(100vw - 2rem));
    max-height: min(28rem, 72vh);
    border-radius: var(--panel-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.admin-floating-chat--popup .admin-floating-chat__panel {
    position: relative;
    right: auto;
    bottom: auto;
}

.admin-floating-chat__header {
    background: linear-gradient(180deg, #f8fafc, #fff);
    flex-shrink: 0;
}

.admin-floating-chat__busy-switch .form-check-input {
    cursor: pointer;
}

.admin-floating-chat__list-view {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.admin-floating-chat__thread-view {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.admin-floating-chat__scroll {
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 116, 139, 0.35) transparent;
}

.admin-floating-chat__scroll::-webkit-scrollbar,
.admin-floating-chat__messages::-webkit-scrollbar {
    width: 4px;
}

.admin-floating-chat__scroll::-webkit-scrollbar-track,
.admin-floating-chat__messages::-webkit-scrollbar-track {
    background: transparent;
}

.admin-floating-chat__scroll::-webkit-scrollbar-thumb,
.admin-floating-chat__messages::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.28);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.admin-floating-chat__conv-list {
    max-height: 11rem;
    flex-shrink: 0;
}

.admin-floating-chat__peer-list {
    flex: 1 1 auto;
    min-height: 7rem;
}

.admin-floating-chat__row {
    padding: 0.55rem 0.85rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    transition: background 0.12s ease;
}

.admin-floating-chat__row:hover {
    background: rgba(37, 99, 235, 0.05);
}

.admin-floating-chat__row-main {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.admin-floating-chat__row-text {
    flex: 1;
    min-width: 0;
}

.admin-floating-chat__row-name {
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--panel-ink);
}

.admin-floating-chat__row-preview {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

.admin-floating-chat__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    margin-top: 0.35rem;
    flex-shrink: 0;
}

.admin-floating-chat__dot--online {
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}

.admin-floating-chat__dot--offline {
    background: #94a3b8;
}

.admin-floating-chat__dot--busy {
    background: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.28);
}

.admin-floating-chat__messages {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0.65rem 0.75rem;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 116, 139, 0.35) transparent;
}

.admin-floating-chat__bubble-row {
    display: flex;
    margin-bottom: 0.5rem;
}

.admin-floating-chat__bubble-row--in {
    justify-content: flex-start;
}

.admin-floating-chat__bubble-row--out {
    justify-content: flex-end;
}

.admin-floating-chat__bubble {
    max-width: 88%;
    border-radius: 1rem;
    padding: 0.45rem 0.65rem;
    overflow-x: hidden;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
}

.admin-floating-chat__bubble--in {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom-left-radius: 0.3rem;
}

.admin-floating-chat__bubble--out {
    background: linear-gradient(145deg, #2563eb, #6366f1);
    color: #fff;
    border-bottom-right-radius: 0.3rem;
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.25);
}

.admin-floating-chat__bubble-meta {
    opacity: 0.88;
    margin-bottom: 0.2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.admin-floating-chat__bubble--out .admin-floating-chat__bubble-meta {
    color: rgba(255, 255, 255, 0.85);
}

.admin-floating-chat__bubble-who {
    max-width: 42%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}

.admin-floating-chat__bubble-time {
    font-size: 0.65rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    opacity: 0.95;
}

.admin-floating-chat__bubble--in .admin-floating-chat__bubble-time {
    color: #64748b;
}

.admin-floating-chat__receipt {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.65rem;
    font-weight: 600;
    margin-left: auto;
    white-space: nowrap;
}

.admin-floating-chat__receipt-label {
    font-weight: 700;
}

.admin-floating-chat__receipt-time {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    opacity: 0.95;
}

.admin-floating-chat__receipt--icons {
    gap: 0;
    font-size: 0.85rem;
    line-height: 1;
    opacity: 0.92;
}

.admin-floating-chat__receipt--icons .bi {
    display: block;
}

.admin-floating-chat__msg-details-popover {
    position: fixed;
    z-index: 10800;
    min-width: 10.5rem;
    max-width: 17rem;
    padding: 0.45rem 0.6rem;
    font-size: 0.72rem;
    line-height: 1.45;
    color: #0f172a;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 0.45rem;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.18);
    pointer-events: none;
}

.admin-floating-chat__msg-details-popover__line + .admin-floating-chat__msg-details-popover__line {
    margin-top: 0.2rem;
    padding-top: 0.2rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.admin-floating-chat__bubble-body {
    font-size: 0.8125rem;
    line-height: 1.45;
}

.admin-floating-chat__composer textarea {
    resize: none;
    max-height: 6rem;
    overflow-x: hidden;
    overflow-y: auto;
    word-break: break-word;
}

@media (max-width: 575.98px) {
    .admin-floating-chat {
        right: 0.65rem;
        bottom: 0.65rem;
    }

    .admin-floating-chat__panel {
        width: calc(100vw - 1.3rem);
    }
}

/* ——— Enneagram soft badges (admin index + student cards) ——— */
.enne-badge-soft {
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    padding: 0.35em 0.75em;
    border: 1px solid transparent;
}

.enne-badge-soft--info {
    background: rgba(14, 165, 233, 0.12);
    color: #0369a1;
    border-color: rgba(14, 165, 233, 0.25);
}

.enne-badge-soft--purple {
    background: rgba(139, 92, 246, 0.12);
    color: #6d28d9;
    border-color: rgba(139, 92, 246, 0.28);
}

.enne-badge-soft--success {
    background: rgba(16, 185, 129, 0.14);
    color: #047857;
    border-color: rgba(16, 185, 129, 0.28);
}

.enne-badge-soft--muted {
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
    border-color: rgba(100, 116, 139, 0.22);
}

/* ——— Admin: koç faturalama detay (sekme + hero) ——— */
/* Tam genişlik: admin-content-framed (max 1400px) ile hizalı; ekstra daraltma yok */
.admin-coach-billing-shell {
    width: 100%;
    max-width: none;
    margin: 0;
}

.admin-coach-billing-hero {
    position: relative;
    border-radius: var(--panel-radius);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
}

.admin-coach-billing-hero__accent {
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #7c3aed, #0891b2);
    opacity: 0.95;
}

.admin-coach-billing-avatar {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.02em;
    color: #1e40af;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.14), rgba(124, 58, 237, 0.1));
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

.admin-coach-billing-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.admin-coach-bill-status--ok {
    background: rgba(16, 185, 129, 0.14);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.admin-coach-bill-status--warn {
    background: rgba(245, 158, 11, 0.16);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.admin-coach-bill-status--danger {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.admin-coach-bill-status--muted {
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
    border: 1px solid rgba(100, 116, 139, 0.22);
}

.admin-coach-billing-tabs-card {
    border-radius: var(--panel-radius);
    overflow: hidden;
}

.nav-tabs-coach-billing {
    gap: 0.25rem;
    flex-wrap: nowrap;
}

/* Dar ekranda tüm sekmeler yatay kaydırılabilir; metin ezilmez */
.admin-coach-billing-tabs-card .card-header {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.nav-tabs-coach-billing .nav-link {
    border: 1px solid transparent;
    border-radius: var(--panel-radius-sm) var(--panel-radius-sm) 0 0;
    color: var(--panel-muted);
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 0.55rem 0.65rem;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .nav-tabs-coach-billing .nav-link {
        padding: 0.65rem 1rem;
        font-size: 0.875rem;
    }
}

.nav-tabs-coach-billing .nav-link:hover {
    color: var(--panel-accent);
    background: rgba(37, 99, 235, 0.05);
}

.nav-tabs-coach-billing .nav-link.active {
    color: var(--panel-accent);
    background: #fff;
    border-color: var(--panel-border) var(--panel-border) #fff;
    border-bottom-color: #fff;
    margin-bottom: -1px;
}

.admin-coach-bill-stat {
    border: 1px solid var(--panel-border);
    border-radius: var(--panel-radius-sm);
    padding: 1rem 1.1rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.admin-coach-bill-stat__icon {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

.admin-coach-bill-stat__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--panel-muted);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.admin-coach-bill-stat__value {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--panel-ink);
    line-height: 1.35;
}

.admin-coach-bill-kpi {
    text-align: center;
    padding: 0.75rem 0.5rem;
    border-radius: var(--panel-radius-sm);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.06), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.admin-coach-bill-kpi__num {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--panel-ink);
}

.admin-coach-bill-kpi__cap {
    font-size: 0.75rem;
    color: var(--panel-muted);
}

.admin-coach-bill-kpi__lbl {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--panel-muted);
    margin-top: 0.25rem;
}

.admin-coach-bill-empty {
    border: 1px dashed rgba(100, 116, 139, 0.35);
    background: rgba(248, 250, 252, 0.9);
}

.admin-coach-bill-form-panel {
    background: rgba(37, 99, 235, 0.03);
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.admin-coach-bill-table thead th {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--panel-muted);
}

.admin-coach-bill-section-head__title {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--panel-ink);
}

.admin-coach-bill-section-head__lead {
    font-size: 0.875rem;
    color: var(--panel-muted);
    max-width: none;
    line-height: 1.55;
}

.admin-coach-bill-stat__meta {
    font-size: 0.65rem;
    font-weight: 600;
}

.admin-coach-bill-quota-wrap {
    border: 1px solid var(--panel-border);
    border-radius: var(--panel-radius-sm);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.04), #fff 55%);
}

.letter-spacing-tight {
    letter-spacing: 0.06em;
}

.admin-coach-bill-kpi--bar {
    text-align: left;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: var(--panel-radius-sm);
}

.admin-coach-bill-progress {
    background: rgba(15, 23, 42, 0.06);
    border-radius: 999px;
    overflow: hidden;
}

.admin-coach-bill-progress__bar {
    border-radius: 999px;
}

.admin-coach-bill-progress__bar--safe {
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.admin-coach-bill-progress__bar--mid {
    background: linear-gradient(90deg, #eab308, #ca8a04);
}

.admin-coach-bill-progress__bar--high {
    background: linear-gradient(90deg, #f97316, #ea580c);
}

.admin-coach-bill-empty__icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(100, 116, 139, 0.1);
    color: var(--panel-muted);
}

.admin-coach-bill-price-card {
    border: 1px solid var(--panel-border);
    border-radius: var(--panel-radius);
    padding: 1.15rem 1.25rem;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.admin-coach-bill-price-card:hover {
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.admin-coach-bill-price-card__final {
    border-left: 3px solid #2563eb;
    padding: 0.5rem 0.75rem;
    margin-left: -0.05rem;
    background: rgba(37, 99, 235, 0.06);
    border-radius: 0 var(--panel-radius-xs) var(--panel-radius-xs) 0;
}

.admin-coach-bill-price-card__final-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--panel-muted);
    font-weight: 700;
}

.admin-coach-bill-price-card__amount {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--panel-ink);
}

.admin-coach-bill-price-card__rows {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    padding-top: 0.5rem;
}

.admin-coach-bill-form-panel--accent {
    border: 1px solid rgba(37, 99, 235, 0.18);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, #fff 60%);
}

.admin-coach-bill-form-panel--promo {
    border-color: rgba(124, 58, 237, 0.22);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.07) 0%, #fff 55%);
}

.admin-coach-bill-form-panel__icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.admin-coach-bill-form-panel__icon--promo {
    background: rgba(124, 58, 237, 0.14);
    color: #6d28d9;
}

.admin-coach-bill-table-card {
    background: #fff;
}

.admin-coach-bill-money {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.admin-coach-bill-promo-card {
    border: 1px solid var(--panel-border);
    border-radius: var(--panel-radius);
    padding: 1.15rem 1.2rem;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

/* ——— Admin: müfredat kapsamı seçici (curriculum-scope-picker) ——— */
.admin-body .catalog-curriculum-picker .ccp-menu {
    min-width: 100%;
    z-index: 1080;
    border-radius: var(--panel-radius-sm);
    box-shadow: var(--panel-shadow-lg);
}

@media (min-width: 576px) {
    .admin-body .catalog-curriculum-picker .ccp-menu {
        min-width: min(38rem, calc(100vw - 2rem));
    }
}

.admin-body .catalog-curriculum-picker .ccp-trigger__icon {
    font-size: 1rem;
    opacity: 0.65;
}

.admin-body .catalog-curriculum-picker .ccp-list {
    max-height: min(18rem, 52vh);
    border-radius: var(--panel-radius-xs);
    border: 1px solid var(--panel-border);
    background: #fff;
}

.admin-body .catalog-curriculum-picker .ccp-group-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.5rem;
    margin: 0 -0.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--panel-muted);
    background: linear-gradient(180deg, rgba(241, 245, 249, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    border-bottom: 1px solid var(--panel-border);
    position: sticky;
    top: 0;
    z-index: 2;
}

.admin-body .catalog-curriculum-picker .ccp-group-header__icon {
    display: flex;
    opacity: 0.75;
}

.admin-body .catalog-curriculum-picker .ccp-option {
    border: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding: 0.45rem 0.55rem;
}

.admin-body .catalog-curriculum-picker .ccp-option:last-child {
    border-bottom: 0;
}

.admin-body .catalog-curriculum-picker .ccp-option.active {
    background: rgba(37, 99, 235, 0.09);
    border-color: rgba(37, 99, 235, 0.12);
}

.admin-body .catalog-curriculum-picker .ccp-option__inner {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
}

.admin-body .catalog-curriculum-picker .ccp-option__text {
    flex: 1 1 auto;
    min-width: 0;
}

.admin-body .catalog-curriculum-picker .ccp-option__path {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--panel-ink);
    line-height: 1.35;
    word-break: break-word;
}

.admin-body .catalog-curriculum-picker .ccp-option__sub {
    font-size: 0.72rem;
    color: var(--panel-muted);
    margin-top: 0.1rem;
}

.admin-body .catalog-curriculum-picker .ccp-kind-badge {
    flex: 0 0 auto;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.28em 0.65em;
    letter-spacing: 0.02em;
}

.admin-body .catalog-curriculum-picker .ccp-kind-badge--clear {
    background: rgba(100, 116, 139, 0.15);
    color: #475569;
}

.admin-body .catalog-curriculum-picker .ccp-kind-badge--course {
    background: rgba(37, 99, 235, 0.14);
    color: #1d4ed8;
}

.admin-body .catalog-curriculum-picker .ccp-kind-badge--unit {
    background: rgba(124, 58, 237, 0.12);
    color: #6d28d9;
}

.admin-body .catalog-curriculum-picker .ccp-kind-badge--topic {
    background: rgba(5, 150, 105, 0.12);
    color: #047857;
}

.admin-body .catalog-curriculum-picker .ccp-kind-badge--outcome {
    background: rgba(217, 119, 6, 0.14);
    color: #b45309;
}

.admin-body .catalog-curriculum-picker .ccp-empty {
    font-size: 0.8125rem;
    color: var(--panel-muted);
    padding: 1.25rem 0.75rem;
    text-align: center;
}

/* Kaynak kitap test satırı: alanlar yan yana */
.admin-body .source-book-test-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.65rem 1rem;
}

.admin-body .source-book-test-toolbar__grow {
    flex: 1 1 12rem;
    min-width: 10rem;
}

.admin-body .source-book-test-toolbar__order {
    flex: 0 0 5.5rem;
    max-width: 6rem;
}

.admin-body .source-book-test-toolbar__scope {
    flex: 2 1 16rem;
    min-width: 14rem;
}

.admin-body .source-book-test-toolbar__actions {
    flex: 0 0 auto;
    margin-left: auto;
}

.admin-body .source-book-test-toolbar--stacked {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
}

.admin-body .source-book-test-toolbar--stacked .source-book-test-toolbar__actions {
    margin-left: 0;
}

/* ——— Sticky notes (panel drawer) ——— */
.sticky-notes-offcanvas.offcanvas.offcanvas-end {
    width: min(26rem, 100vw);
    top: 0;
    bottom: 0;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100dvh;
    border-left: 1px solid var(--panel-border);
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 18%, #ffffff 100%);
}

@media (min-width: 576px) {
    .sticky-notes-offcanvas.offcanvas.offcanvas-end {
        width: min(28rem, 100vw);
    }
}

.sticky-notes-offcanvas .offcanvas-body.sticky-notes-offcanvas__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding: 1rem 1.15rem 1.5rem;
}

.sticky-notes-offcanvas__header.offcanvas-header {
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.1rem 1.15rem 0.85rem;
    border-bottom: 1px solid var(--panel-border);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(124, 58, 237, 0.04) 55%, transparent 100%);
}

.sticky-notes-offcanvas__header-main {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    min-width: 0;
}

.sticky-notes-offcanvas__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--panel-radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.sticky-notes-offcanvas__eyebrow {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--panel-ink);
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.sticky-notes-offcanvas__lead {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--panel-muted);
    max-width: 36ch;
}

.sticky-notes-offcanvas__close {
    margin-top: 0.15rem;
    opacity: 0.55;
}

.sticky-notes-offcanvas__close:hover {
    opacity: 1;
}

.sticky-notes-refresh.btn-light {
    transition: transform 0.2s ease, background-color 0.15s ease;
}

.sticky-notes-refresh.is-busy i {
    animation: sticky-notes-spin 0.7s linear infinite;
}

@keyframes sticky-notes-spin {
    to {
        transform: rotate(360deg);
    }
}

.sticky-notes-composer {
    border: 1px solid var(--panel-border);
    border-radius: var(--panel-radius);
    background: #fff;
    box-shadow: var(--panel-shadow);
    padding: 1rem 1.05rem 1.05rem;
    margin-bottom: 1.25rem;
}

.sticky-notes-composer__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.sticky-notes-composer__title {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--panel-muted);
    margin: 0;
}

.sticky-notes-composer__hint {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
}

.sticky-notes-composer__textarea {
    border-radius: var(--panel-radius-sm);
    border: 1px solid rgba(15, 23, 42, 0.12);
    font-size: 0.9375rem;
    line-height: 1.5;
    resize: vertical;
    min-height: 6.5rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sticky-notes-composer__textarea:focus {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
}

.sticky-notes-composer__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.85rem 1rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.sticky-notes-composer__toolbar-left {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.sticky-notes-composer__label {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.sticky-notes-visibility .btn-check:checked + .btn {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(79, 70, 229, 0.1) 100%);
    border-color: rgba(37, 99, 235, 0.35);
    color: #1d4ed8;
    font-weight: 600;
}

.sticky-notes-visibility .btn {
    font-size: 0.8125rem;
    padding: 0.35rem 0.65rem;
}

.sticky-notes-composer__toolbar-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.85rem;
    margin-left: auto;
}

.sticky-notes-pin .form-check-input {
    width: 2.25rem;
    height: 1.15rem;
    cursor: pointer;
}

.sticky-notes-pin .form-check-label {
    cursor: pointer;
    color: var(--panel-muted);
    font-weight: 500;
}

.sticky-notes-composer__submit {
    font-weight: 600;
    border-radius: var(--panel-radius-xs);
    padding: 0.4rem 0.95rem;
}

.sticky-notes-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.sticky-notes-list-head__title {
    font-size: 0.9375rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--panel-ink);
    margin: 0;
}

.sticky-notes-list-head__badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--panel-muted);
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid var(--panel-border);
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    font-variant-numeric: tabular-nums;
}

.sticky-notes-loading {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.sticky-notes-skeleton {
    border-radius: var(--panel-radius-sm);
    border: 1px solid var(--panel-border);
    background: #fff;
    padding: 0.85rem 1rem;
    overflow: hidden;
}

.sticky-notes-skeleton__line {
    height: 0.65rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
    background-size: 200% 100%;
    animation: sticky-notes-shimmer 1.2s ease-in-out infinite;
    margin-bottom: 0.5rem;
}

.sticky-notes-skeleton__line:last-child {
    margin-bottom: 0;
}

.sticky-notes-skeleton__line--short {
    width: 38%;
}

.sticky-notes-skeleton__line--medium {
    width: 72%;
}

@keyframes sticky-notes-shimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

.sticky-notes-alert {
    border-radius: var(--panel-radius-sm);
    font-size: 0.875rem;
}

.sticky-notes-empty {
    text-align: center;
    padding: 2rem 1rem 1rem;
    border: 1px dashed rgba(15, 23, 42, 0.12);
    border-radius: var(--panel-radius);
    background: rgba(248, 250, 252, 0.65);
    margin-top: 0.25rem;
}

.sticky-notes-empty__icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.75rem;
    border-radius: var(--panel-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--panel-border);
    color: var(--panel-muted);
    font-size: 1.35rem;
}

.sticky-notes-empty__title {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--panel-ink);
    margin-bottom: 0.35rem;
}

.sticky-notes-empty__text {
    font-size: 0.8125rem;
    color: var(--panel-muted);
    line-height: 1.5;
    max-width: 28ch;
    margin: 0 auto;
}

.sticky-note-card {
    border-radius: var(--panel-radius-sm);
    border: 1px solid var(--panel-border);
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.sticky-note-card:hover {
    border-color: rgba(37, 99, 235, 0.18);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.07);
    transform: translateY(-1px);
}

.sticky-note-card--pinned {
    border-color: rgba(245, 158, 11, 0.35);
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 55%);
}

.sticky-note-card--shared.sticky-note-card--pinned {
    background: linear-gradient(180deg, #eff6ff 0%, #fffbeb 35%, #ffffff 100%);
}

.sticky-note-card__inner {
    padding: 0.85rem 1rem 0.75rem;
}

.sticky-note-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.55rem;
}

.sticky-note-card__meta .sticky-note-card__time {
    margin-left: auto;
}

.sticky-note-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.sticky-note-card__badge {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    border: 1px solid transparent;
}

.sticky-note-card__badge--private {
    background: rgba(15, 23, 42, 0.06);
    border-color: rgba(15, 23, 42, 0.08);
    color: #475569;
}

.sticky-note-card__badge--shared {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.22);
    color: #1d4ed8;
}

.sticky-note-card__badge--pin {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(217, 119, 6, 0.25);
    color: #b45309;
}

.sticky-note-card__time {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    white-space: nowrap;
}

.sticky-note-card__body {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #334155;
}

.sticky-note-card__footer {
    margin-top: 0.65rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    display: flex;
    justify-content: flex-end;
}

.sticky-note-card__delete {
    font-weight: 600;
    border-radius: var(--panel-radius-xs);
}

.admin-topbar .btn.sticky-notes-toolbar-btn {
    border-color: rgba(15, 23, 42, 0.1);
    color: #334155;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.admin-topbar .btn.sticky-notes-toolbar-btn:hover {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    transform: translateY(-1px);
    color: #1d4ed8;
}

.navbar-coach .navbar-nav .sticky-notes-nav-trigger.nav-link,
.navbar-student .navbar-nav .sticky-notes-nav-trigger.nav-link {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    text-decoration: none;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: var(--panel-radius-xs);
    transition: background-color 0.15s ease, color 0.15s ease;
}

.navbar-coach .navbar-nav .sticky-notes-nav-trigger.nav-link:hover,
.navbar-coach .navbar-nav .sticky-notes-nav-trigger.nav-link:focus-visible,
.navbar-student .navbar-nav .sticky-notes-nav-trigger.nav-link:hover,
.navbar-student .navbar-nav .sticky-notes-nav-trigger.nav-link:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* ——— Admin: panel takvimi (premium / FullCalendar) ——— */
@keyframes panel-cal-hero-mesh {
    0%,
    100% {
        background-position: 0% 40%;
    }
    50% {
        background-position: 100% 60%;
    }
}

@keyframes panel-cal-orb-float {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(6px, -8px) scale(1.03);
    }
}

.admin-body .panel-calendar-page {
    max-width: 100%;
}

/* Takvim: cam CTA (üst blok artık admin-module-hero) */
.admin-body .panel-calendar-hero-glass {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(16px);
}

@supports not (backdrop-filter: blur(12px)) {
    .admin-body .panel-calendar-hero-glass {
        background: rgba(30, 27, 75, 0.75);
    }
}

.admin-body .admin-module-hero .panel-calendar-hero-glass {
    padding: 0.85rem 1rem !important;
}

@media (min-width: 1200px) {
    .admin-body .admin-module-hero .panel-calendar-hero-glass {
        padding: 1rem 1.15rem !important;
    }
}

.admin-body .panel-calendar-hero-cta {
    color: #1e1b4b !important;
    background: linear-gradient(135deg, #fff 0%, #e0e7ff 45%, #c7d2fe 100%) !important;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.5) inset,
        0 4px 16px rgba(99, 102, 241, 0.45),
        0 12px 32px rgba(15, 23, 42, 0.35);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.admin-body .panel-calendar-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.6) inset,
        0 8px 24px rgba(99, 102, 241, 0.55),
        0 20px 40px rgba(15, 23, 42, 0.35);
}

.admin-body .admin-module-hero .panel-calendar-hero-cta {
    font-size: 0.875rem;
    padding: 0.45rem 1rem;
}

.admin-body .panel-calendar-hero-hint {
    opacity: 0.85;
    font-size: 0.72rem;
}

/* Tip strip */
.admin-body .panel-calendar-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.09) 0%, rgba(14, 165, 233, 0.06) 100%);
    border: 1px solid rgba(99, 102, 241, 0.18);
    color: var(--panel-ink, #0f172a);
    font-size: 0.875rem;
    line-height: 1.5;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.admin-body .panel-calendar-tip i {
    flex-shrink: 0;
    font-size: 1.15rem;
    color: #6366f1;
    margin-top: 0.1rem;
}

/* Onay kuyrukları */
.admin-body .panel-calendar-queue {
    border-radius: 1.1rem;
    overflow: hidden;
    border: none !important;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

.admin-body .panel-calendar-queue--warning {
    box-shadow:
        0 0 0 1px rgba(245, 158, 11, 0.25),
        0 8px 28px rgba(180, 83, 9, 0.12);
}

.admin-body .panel-calendar-queue--primary {
    box-shadow:
        0 0 0 1px rgba(99, 102, 241, 0.2),
        0 8px 28px rgba(79, 70, 229, 0.1);
}

.admin-body .panel-calendar-queue-head {
    padding: 1rem 1.25rem;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.85) 100%);
}

.admin-body .panel-calendar-queue--warning .panel-calendar-queue-head {
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.9) 0%, rgba(253, 230, 138, 0.35) 100%);
}

.admin-body .panel-calendar-queue--primary .panel-calendar-queue-head {
    background: linear-gradient(135deg, rgba(224, 231, 255, 0.95) 0%, rgba(199, 210, 254, 0.4) 100%);
}

.admin-body .panel-calendar-queue-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.65rem;
    background: rgba(245, 158, 11, 0.2);
    color: #b45309;
    font-size: 1.1rem;
}

.admin-body .panel-calendar-queue-icon--primary {
    background: rgba(99, 102, 241, 0.2);
    color: #4338ca;
}

.admin-body .panel-calendar-queue-badge {
    font-weight: 700;
    padding: 0.4em 0.85em;
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #fff !important;
}

.admin-body .panel-calendar-queue .list-group-item {
    border-color: rgba(15, 23, 42, 0.06);
}

.admin-body .panel-calendar-queue-item {
    transition: background-color 0.15s ease;
}

.admin-body .panel-calendar-queue-item:hover {
    background: rgba(99, 102, 241, 0.04);
}

.admin-body .panel-calendar-queue-item--highlight {
    background: rgba(254, 243, 199, 0.55) !important;
    box-shadow: inset 3px 0 0 #f59e0b;
}

.admin-body .panel-calendar-table-wrap {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.admin-body .panel-calendar-table thead th {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: var(--panel-muted, #64748b);
    background: rgba(248, 250, 252, 0.9);
    border-bottom-width: 1px;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.admin-body .panel-calendar-table tbody tr:hover {
    background: rgba(99, 102, 241, 0.04);
}

/* Takvim kabuğu */
.admin-body .panel-calendar-shell {
    border-radius: 1.25rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.06),
        0 18px 48px -12px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.admin-body .panel-calendar-shell-toolbar {
    padding: 1.25rem 1.5rem 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 0.65) 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

@media (min-width: 768px) {
    .admin-body .panel-calendar-shell-toolbar {
        padding: 1.5rem 1.75rem 1.25rem;
    }
}

.admin-body .panel-calendar-shell-label {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--panel-ink, #0f172a);
}

.admin-body .panel-calendar-shell-kicker {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #6366f1;
    margin-bottom: 0;
}

.admin-body .panel-calendar-shell-sub {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--panel-muted, #64748b);
    max-width: 36rem;
}

.admin-body .panel-calendar-scope-toggle-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-body .panel-calendar-scope-toggle {
    padding: 0.2rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.08);
    gap: 0.15rem;
}

.admin-body .panel-calendar-scope-toggle .btn {
    border-radius: 999px !important;
    border: none !important;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.45rem 0.95rem;
    color: var(--panel-muted, #64748b);
    background: transparent;
    transition:
        background-color 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease;
}

.admin-body .panel-calendar-scope-toggle .btn:hover {
    background: rgba(255, 255, 255, 0.85);
    color: var(--panel-ink, #0f172a);
}

.admin-body .panel-calendar-scope-toggle .btn-check:checked + .btn {
    color: #fff !important;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #4338ca 100%) !important;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
}

.admin-body .panel-calendar-scope-toggle .btn-check:focus-visible + .btn {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

.admin-body .panel-calendar-shell-body {
    position: relative;
    padding: 0.5rem 0.75rem 1.15rem;
    background:
        radial-gradient(ellipse 120% 80% at 10% 0%, rgba(99, 102, 241, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse 90% 60% at 100% 30%, rgba(56, 189, 248, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.5) 100%);
}

@media (min-width: 768px) {
    .admin-body .panel-calendar-shell-body {
        padding: 0.75rem 1.25rem 1.5rem;
    }
}

.admin-body .panel-calendar-fc-frame {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.05),
        0 1px 2px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 20px 50px -24px rgba(49, 46, 129, 0.18);
    backdrop-filter: blur(10px);
}

@supports not (backdrop-filter: blur(10px)) {
    .admin-body .panel-calendar-fc-frame {
        background: #fff;
    }
}

.admin-body .panel-calendar-fc-frame-accent {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #312e81, #6366f1, #a78bfa, #38bdf8);
    opacity: 0.95;
}

.admin-body .panel-calendar-fc-frame-inner {
    padding: 0.65rem 0.5rem 0.85rem;
}

@media (min-width: 768px) {
    .admin-body .panel-calendar-fc-frame-inner {
        padding: 0.85rem 0.85rem 1rem;
    }
}

/* Modallar */
.admin-body .panel-calendar-modal {
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        0 24px 64px -12px rgba(15, 23, 42, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset !important;
}

.admin-body .panel-calendar-modal::before {
    content: "";
    display: block;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a78bfa, #38bdf8);
    flex-shrink: 0;
}

.admin-body .panel-calendar-modal-header {
    padding: 1.25rem 1.5rem 0.5rem !important;
}

/* — Yeni kayıt modalı (premium) — */
.admin-body .panel-cal-create-modal .modal-header {
    padding-bottom: 0.75rem !important;
    background: radial-gradient(ellipse 100% 120% at 0% 0%, rgba(99, 102, 241, 0.09) 0%, transparent 55%);
}

.admin-body .panel-cal-create-header-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(145deg, #6366f1 0%, #4f46e5 45%, #4338ca 100%);
    box-shadow:
        0 4px 14px rgba(79, 70, 229, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.admin-body .panel-cal-create-close {
    margin-top: 0.15rem;
}

.admin-body .panel-cal-create-body {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.5) 0%, rgba(255, 255, 255, 0.4) 40%, transparent 100%);
}

.admin-body .panel-cal-form-section {
    padding: 1.15rem 0 1.35rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.admin-body .panel-cal-form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0.5rem;
}

.admin-body .panel-cal-form-section-title {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-body .panel-cal-form-section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 0.4rem;
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
}

.admin-body .panel-cal-form-section-hint {
    margin-top: 0.35rem;
}

.admin-body .panel-cal-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.35rem;
}

.admin-body .panel-cal-input {
    border-radius: 0.7rem !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    padding: 0.55rem 0.85rem;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.admin-body .panel-cal-input:focus {
    border-color: #818cf8 !important;
    box-shadow:
        inset 0 1px 2px rgba(15, 23, 42, 0.04),
        0 0 0 0.2rem rgba(99, 102, 241, 0.18) !important;
}

.admin-body .panel-cal-scope-tile {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    margin: 0;
    padding: 1rem 1.15rem;
    min-height: 100%;
    border-radius: 1rem;
    border: 2px solid rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.admin-body .panel-cal-scope-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 8px 28px rgba(49, 46, 129, 0.12);
}

.admin-body .panel-cal-scope-tile-icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.admin-body .panel-cal-scope-tile-icon--team {
    color: #4338ca;
    background: linear-gradient(145deg, rgba(224, 231, 255, 1) 0%, rgba(199, 210, 254, 0.7) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.admin-body .panel-cal-scope-tile-icon--personal {
    color: #475569;
    background: linear-gradient(145deg, rgba(241, 245, 249, 1) 0%, rgba(226, 232, 240, 0.85) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.admin-body .panel-cal-scope-tile-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
}

.admin-body .panel-cal-scope-tile-title {
    font-weight: 800;
    font-size: 1rem;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.admin-body .panel-cal-scope-tile-desc {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #64748b;
    font-weight: 500;
}

.admin-body #createScopeTeam:checked + .panel-cal-scope-tile {
    border-color: #6366f1 !important;
    background: linear-gradient(145deg, rgba(238, 242, 255, 0.95) 0%, rgba(224, 231, 255, 0.55) 100%) !important;
    box-shadow:
        0 0 0 1px rgba(99, 102, 241, 0.25),
        0 12px 32px rgba(79, 70, 229, 0.15);
}

.admin-body #createScopePersonal:checked + .panel-cal-scope-tile {
    border-color: #64748b !important;
    background: linear-gradient(145deg, rgba(248, 250, 252, 1) 0%, rgba(241, 245, 249, 0.9) 100%) !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.admin-body .panel-cal-publish-card {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem 1.15rem;
    border-radius: 1rem;
    border: 1px solid rgba(245, 158, 11, 0.35);
    background: linear-gradient(135deg, rgba(254, 252, 232, 0.95) 0%, rgba(254, 243, 199, 0.35) 100%);
    box-shadow: 0 2px 12px rgba(180, 83, 9, 0.08);
}

.admin-body .panel-cal-publish-check {
    margin-top: 0.2rem;
    width: 1.15rem;
    height: 1.15rem;
    border-color: #d97706;
}

.admin-body .panel-cal-publish-check:checked {
    background-color: #d97706;
    border-color: #d97706;
}

.admin-body .panel-cal-publish-title {
    display: block;
    font-weight: 800;
    font-size: 0.9rem;
    color: #92400e;
    margin-bottom: 0.2rem;
}

.admin-body .panel-cal-publish-desc {
    display: block;
    font-size: 0.8rem;
    line-height: 1.45;
    color: #a16207;
    font-weight: 500;
}

.admin-body .panel-cal-create-footer {
    padding-top: 1.1rem !important;
    border-top: 1px solid rgba(15, 23, 42, 0.06) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(248, 250, 252, 0.95) 100%) !important;
}

.admin-body .panel-cal-btn-secondary {
    border-radius: 0.65rem;
    font-weight: 600;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #475569 !important;
}

.admin-body .panel-cal-btn-secondary:hover {
    background: #f8fafc !important;
    border-color: rgba(15, 23, 42, 0.18) !important;
    color: #0f172a !important;
}

.admin-body .panel-cal-btn-submit {
    border: none;
    border-radius: 0.65rem;
    color: #fff !important;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #4338ca 100%) !important;
    box-shadow:
        0 4px 16px rgba(79, 70, 229, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.admin-body .panel-cal-btn-submit:hover {
    filter: brightness(1.06);
    box-shadow: 0 6px 22px rgba(79, 70, 229, 0.45);
}

.admin-body .panel-calendar-modal-kicker {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6366f1;
    margin-bottom: 0;
}

.admin-body .panel-calendar-modal-close {
    opacity: 0.65;
}

.admin-body .panel-calendar-modal .modal-body {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.admin-body .panel-calendar-modal .form-control,
.admin-body .panel-calendar-modal .form-select {
    border-radius: 0.65rem;
    border-color: rgba(15, 23, 42, 0.12);
}

.admin-body .panel-calendar-modal .form-control:focus,
.admin-body .panel-calendar-modal .form-select:focus {
    border-color: #818cf8;
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.2);
}

.admin-body .panel-calendar-modal-footer {
    padding: 1rem 1.5rem 1.35rem !important;
    background: linear-gradient(180deg, transparent 0%, rgba(248, 250, 252, 0.85) 100%);
}

.admin-body .panel-calendar-modal-submit {
    border: none;
    color: #fff !important;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
}

.admin-body .panel-calendar-modal-submit:hover {
    filter: brightness(1.06);
}

.admin-body .panel-calendar-detail-body .badge {
    font-weight: 600;
    padding: 0.4em 0.65em;
}

/* FullCalendar — hero ile aynı aile: cam çerçeve, mesh, tipografi */
.admin-body .panel-calendar-fc {
    min-height: 38rem;
    --fc-border-color: rgba(15, 23, 42, 0.06);
    --fc-page-bg-color: transparent;
    --fc-neutral-bg-color: rgba(248, 250, 252, 0.75);
    --fc-today-bg-color: rgba(129, 140, 248, 0.11);
    --fc-now-indicator-color: #6366f1;
    --fc-list-event-hover-bg-color: rgba(99, 102, 241, 0.07);
    --fc-more-link-bg-color: rgba(99, 102, 241, 0.12);
    --fc-more-link-text-color: #4338ca;
    --fc-button-text-color: #0f172a;
    --fc-button-bg-color: rgba(255, 255, 255, 0.85);
    --fc-button-border-color: rgba(15, 23, 42, 0.08);
    --fc-button-hover-bg-color: rgba(241, 245, 249, 0.95);
    --fc-button-hover-border-color: rgba(99, 102, 241, 0.25);
    --fc-button-active-bg-color: rgba(224, 231, 255, 0.9);
    --fc-button-active-border-color: rgba(99, 102, 241, 0.35);
}

.admin-body .panel-calendar-fc .fc-scrollgrid,
.admin-body .panel-calendar-fc .fc-scrollgrid-sync-table {
    border: none !important;
}

.admin-body .panel-calendar-fc .fc-scrollgrid {
    border-radius: 0.85rem;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.admin-body .panel-calendar-fc .fc-scrollgrid-section-header > td {
    border-bottom: none;
}

.admin-body .panel-calendar-fc .fc-col-header {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.admin-body .panel-calendar-fc .fc-col-header-cell {
    font-weight: 800;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #475569;
    padding: 0.75rem 0.35rem;
    border-color: rgba(15, 23, 42, 0.06);
    vertical-align: middle;
}

.admin-body .panel-calendar-fc .fc-col-header-cell-cushion {
    padding: 0.2rem 0.35rem;
    border-radius: 0.4rem;
    transition: background-color 0.15s ease;
}

.admin-body .panel-calendar-fc .fc-col-header-cell-cushion:hover {
    background: rgba(99, 102, 241, 0.08);
    color: #312e81;
}

.admin-body .panel-calendar-fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 1.15rem;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.5rem 0.65rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(238, 242, 255, 0.5) 55%, rgba(241, 245, 249, 0.65) 100%);
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: 0.85rem;
    box-shadow: 0 2px 12px rgba(49, 46, 129, 0.06);
}

.admin-body .panel-calendar-fc .fc-toolbar-title {
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--panel-ink);
    font-size: clamp(1.2rem, 1.1vw + 1rem, 1.55rem);
    font-feature-settings: "tnum", "lnum";
}

.admin-body .panel-calendar-fc .fc-button-group {
    gap: 0.28rem;
}

.admin-body .panel-calendar-fc .fc-button {
    border-radius: 0.55rem !important;
    font-weight: 600;
    text-transform: none;
    padding: 0.45em 0.95em;
    font-size: 0.8125rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.admin-body .panel-calendar-fc .fc-button-primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 55%, #4338ca 100%) !important;
    border: none !important;
    color: #fff !important;
    box-shadow:
        0 2px 8px rgba(79, 70, 229, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.admin-body .panel-calendar-fc .fc-button-primary:not(:disabled):hover {
    filter: brightness(1.07);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
}

.admin-body .panel-calendar-fc .fc-button-primary:not(:disabled):active {
    filter: brightness(0.95);
}

.admin-body .panel-calendar-fc .fc-button:not(.fc-button-primary) {
    background: rgba(255, 255, 255, 0.92) !important;
}

.admin-body .panel-calendar-fc .fc-button:not(.fc-button-primary):hover {
    background: rgba(255, 255, 255, 1) !important;
}

.admin-body .panel-calendar-fc .fc-daygrid-day-frame {
    min-height: 6.15rem;
}

.admin-body .panel-calendar-fc .fc-view-harness {
    min-height: 28rem;
}

@media (min-width: 992px) {
    .admin-body .panel-calendar-fc .fc-view-harness {
        min-height: 32rem;
    }
}

.admin-body .panel-calendar-fc .fc-daygrid-day-top {
    flex-direction: row;
    justify-content: flex-end;
    padding: 0.2rem 0.25rem 0;
}

.admin-body .panel-calendar-fc .fc-day-other .fc-daygrid-day-number {
    opacity: 0.38;
    font-weight: 600;
}

.admin-body .panel-calendar-fc .fc-day-sat:not(.fc-day-today),
.admin-body .panel-calendar-fc .fc-day-sun:not(.fc-day-today) {
    background: rgba(99, 102, 241, 0.025);
}

.admin-body .panel-calendar-fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-frame {
    background: linear-gradient(160deg, rgba(129, 140, 248, 0.14) 0%, rgba(165, 180, 252, 0.08) 100%);
    border-radius: 0.55rem;
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.22);
}

.admin-body .panel-calendar-fc .fc-daygrid-day-number {
    font-weight: 700;
    padding: 0.32rem 0.48rem;
    border-radius: 0.4rem;
    font-size: 0.8rem;
    font-feature-settings: "tnum", "lnum";
}

.admin-body .panel-calendar-fc .fc-day-today .fc-daygrid-day-number {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
}

.admin-body .panel-calendar-fc .fc-highlight {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(56, 189, 248, 0.12)) !important;
    border-radius: 0.45rem;
}

.admin-body .panel-calendar-fc .fc-daygrid-day {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.admin-body .panel-calendar-fc .fc-daygrid-day:hover .fc-daygrid-day-frame {
    background: rgba(15, 23, 42, 0.02);
    border-radius: 0.45rem;
}

.admin-body .panel-calendar-fc .fc-day-today:hover .fc-daygrid-day-frame {
    background: linear-gradient(160deg, rgba(129, 140, 248, 0.18) 0%, rgba(165, 180, 252, 0.1) 100%);
}

.admin-body .panel-calendar-fc .fc-daygrid-more-link {
    font-weight: 700;
    font-size: 0.72rem;
    border-radius: 999px;
    padding: 0.15em 0.55em;
    margin-top: 0.15rem;
}

.admin-body .panel-calendar-fc .fc-popover {
    border: none;
    border-radius: 0.75rem;
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.06),
        0 16px 40px -12px rgba(15, 23, 42, 0.22);
    overflow: hidden;
}

.admin-body .panel-calendar-fc .fc-popover-header {
    background: linear-gradient(135deg, #312e81 0%, #4f46e5 100%);
    color: #fff;
    font-weight: 700;
    padding: 0.65rem 0.85rem;
}

.admin-body .panel-calendar-fc .fc-popover-close {
    color: #fff !important;
    opacity: 0.88;
}

.admin-body .panel-calendar-fc .fc-popover-close:hover {
    opacity: 1;
}

.admin-body .panel-calendar-fc .fc-timegrid {
    border-radius: 0.5rem;
}

.admin-body .panel-calendar-fc .fc-timegrid-slot {
    cursor: crosshair;
}

.admin-body .panel-calendar-fc .fc-timegrid-slot-minor {
    border-top-color: rgba(15, 23, 42, 0.04);
}

.admin-body .panel-calendar-fc .fc-timegrid-slot-label-cushion {
    font-weight: 600;
    font-size: 0.72rem;
    color: #64748b;
    font-feature-settings: "tnum", "lnum";
}

.admin-body .panel-calendar-fc .fc-timegrid-axis-cushion {
    font-weight: 600;
    font-size: 0.7rem;
    color: #94a3b8;
}

.admin-body .panel-calendar-fc .fc-timegrid-col.fc-day-today {
    background: rgba(129, 140, 248, 0.06);
}

.admin-body .panel-calendar-fc .fc-timegrid-now-indicator-line {
    border-color: #6366f1;
    border-width: 2px 0 0;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.45);
}

.admin-body .panel-calendar-fc .fc-timegrid-now-indicator-arrow {
    border-color: #6366f1;
    border-top-color: transparent;
    border-bottom-color: transparent;
}

.admin-body .panel-calendar-fc .fc-event {
    border-radius: 7px;
    font-weight: 600;
    font-size: 0.76rem;
    line-height: 1.3;
    padding: 3px 6px;
    border: none !important;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.1),
        0 4px 14px rgba(15, 23, 42, 0.08);
    transition:
        transform 0.14s ease,
        box-shadow 0.14s ease;
}

.admin-body .panel-calendar-fc .fc-event:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow:
        0 2px 6px rgba(15, 23, 42, 0.12),
        0 10px 28px rgba(49, 46, 129, 0.15);
    z-index: 2;
}

.admin-body .panel-calendar-fc .fc-list {
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
}

.admin-body .panel-calendar-fc .fc-list-day-cushion {
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, rgba(238, 242, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%) !important;
    border-bottom: 1px solid rgba(99, 102, 241, 0.12);
    padding: 0.65rem 0.85rem !important;
}

.admin-body .panel-calendar-fc .fc-list-event {
    cursor: pointer;
}

.admin-body .panel-calendar-fc .fc-list-event td {
    border: none;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

.admin-body .panel-calendar-fc .fc-list-event:hover td {
    background: rgba(99, 102, 241, 0.06);
}

.admin-body .panel-calendar-fc .fc-list-event-graphic {
    padding-left: 0.85rem;
}

.admin-body .panel-calendar-fc .fc-list-event-time {
    font-weight: 700;
    font-feature-settings: "tnum", "lnum";
    color: #475569;
}

.admin-body .panel-calendar-fc .fc-list-event-title {
    font-weight: 600;
}

/* Sürükleyerek seçim önizlemesi */
.admin-body .panel-calendar-fc .fc-event-mirror,
.admin-body .panel-calendar-fc .fc-highlight {
    transition: background-color 0.12s ease;
}

.admin-body .panel-calendar-fc .fc-event-mirror {
    border-radius: 8px !important;
    border: 2px dashed rgba(99, 102, 241, 0.65) !important;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(56, 189, 248, 0.1)) !important;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.2) !important;
    opacity: 0.92 !important;
}

.admin-body .panel-calendar-fc .fc-daygrid-event {
    margin-top: 2px;
    margin-bottom: 1px;
}

.admin-body .panel-calendar-fc .fc-daygrid-day-events {
    padding-bottom: 0.2rem;
}

.admin-body .panel-calendar-fc .fc-scrollgrid-sync-table th,
.admin-body .panel-calendar-fc .fc-scrollgrid-sync-table td {
    transition: background-color 0.12s ease;
}

/* ——— Çevrimiçi sınav düzenleme: bölüm kaydırma ——— */
.online-test-edit-flow [id^="otq-section-"] {
    scroll-margin-top: 5.75rem;
}

.panel-body .online-test-section-nav.sticky-top {
    top: 4.5rem;
    z-index: 1015;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(8px);
}

.online-test-stat-card {
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(165deg, #fff 0%, #f8fafc 100%);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.online-test-stat-card:hover {
    box-shadow: 0 0.35rem 1.25rem rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.online-test-step-pill {
    border-radius: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ——— Toplantı tutanakları ——— */
.team-meetings-hero-stats {
    min-width: 10rem;
}

.team-meetings-stat-pill {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0.65rem 1rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.team-meetings-stat-pill--draft {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.35);
}

.team-meetings-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
}

.team-meetings-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.team-meetings-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.team-meetings-card {
    transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.team-meetings-card:hover {
    box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
    border-color: rgba(13, 148, 136, 0.35);
}

.team-meetings-card__date {
    width: 3.25rem;
    padding: 0.35rem 0.5rem;
    border-radius: 0.65rem;
    background: linear-gradient(165deg, #0d9488 0%, #0f766e 100%);
    color: #fff;
}

.team-meetings-card__day {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
}

.team-meetings-card__month {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.9;
    letter-spacing: 0.03em;
}

.team-meetings-participant-chip {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    background: rgba(13, 148, 136, 0.1);
    color: #0f766e;
    border: 1px solid rgba(13, 148, 136, 0.2);
}

.team-meetings-participant-chip--lg {
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
}

.team-meetings-prose {
    line-height: 1.65;
    color: #334155;
    white-space: pre-wrap;
    word-break: break-word;
}

.team-meetings-section--notes .card-body {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-radius: 0 0 1rem 1rem;
}

.team-meetings-detail__header {
    border-left: 4px solid #0d9488;
}

.team-meetings-actions-list .list-group-item {
    border-color: rgba(15, 23, 42, 0.06);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ——— Çevrimiçi sınav: sınıf / ders (Tom Select) ——— */
.ot-framework-fields .ot-framework-select-wrap .ts-wrapper {
    width: 100%;
}

.ot-framework-fields .ot-framework-select-wrap .ts-control {
    border-radius: var(--panel-radius-sm);
    min-height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    border-color: var(--panel-border, #dee2e6);
    box-shadow: none;
}

.ot-framework-fields .ot-framework-select-wrap .ts-control.focus {
    border-color: var(--bs-primary, #0d6efd);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.ot-framework-fields .ot-framework-select-wrap .ts-dropdown {
    border-radius: var(--panel-radius-sm);
    box-shadow: var(--panel-shadow-lg);
    z-index: 1080;
}

.ot-framework-fields .ot-framework-select-wrap .ts-dropdown .optgroup-header {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bs-secondary, #6c757d);
    padding: 0.5rem 0.65rem 0.25rem;
}
