@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;
}

/* 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;
}

.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 {
    width: 280px;
    flex-shrink: 0;
    background:
        radial-gradient(ellipse 180% 120% at 0% 0%, rgba(59, 130, 246, 0.22), transparent 55%),
        radial-gradient(ellipse 100% 80% at 100% 100%, rgba(139, 92, 246, 0.18), transparent 50%),
        linear-gradient(180deg, #0f172a 0%, #1e293b 48%, #0f172a 100%);
    color: #e2e8f0;
    padding: 0;
    box-shadow: 4px 0 32px rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    align-self: flex-start;
    min-height: 100vh;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-sidebar .brand {
    padding: 1.5rem 1.35rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%);
}

.admin-sidebar .brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #a855f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}

.admin-sidebar .brand strong {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    display: block;
}

.admin-sidebar .brand small {
    color: #94a3b8;
    font-size: 0.8125rem;
    font-weight: 500;
}

.admin-sidebar nav {
    flex: 1;
    overflow-y: auto;
    padding: 0.65rem 0 1.25rem;
}

.admin-sidebar .nav-section {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #64748b;
    padding: 1.25rem 1.35rem 0.4rem;
    font-weight: 700;
}

.admin-sidebar .nav-link {
    color: #94a3b8;
    padding: 0.6rem 1rem 0.6rem 1.15rem;
    margin: 0.15rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-left: none;
    transition: background 0.18s ease, color 0.18s ease, transform 0.15s ease;
}

.admin-sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #f8fafc;
}

.admin-sidebar .nav-link.active {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.28), rgba(139, 92, 246, 0.12));
    color: #fff;
    box-shadow: inset 3px 0 0 #60a5fa, 0 4px 16px rgba(0, 0, 0, 0.12);
}

.admin-sidebar .nav-link i {
    font-size: 1.1rem;
    opacity: 0.95;
}

.admin-sidebar .sidebar-footer {
    padding: 1.15rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
    background: rgba(0, 0, 0, 0.15);
}

.admin-sidebar .sidebar-footer .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.25);
    font-weight: 600;
}

.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;
}

.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;
}

.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 (min-width: 1600px) {
    .admin-content {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

/* ——— 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 .container {
    max-width: 1140px;
}

.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;
}

.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);
}

/* ——— 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 .container {
    max-width: 1140px;
}

.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: 1080px;
}

.student-shell main.container {
    max-width: 1200px;
}

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

.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-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__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
}

.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;
}

.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;
}

.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, #3b82f6, #8b5cf6);
    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--commerce {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 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) ——— */
.marketing-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(248, 250, 252, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(248, 250, 252, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 70%);
    opacity: 0.9;
}

.marketing-hero-stat {
    border-radius: 14px;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.marketing-hero-stat .value {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.marketing-hero-stat .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(248, 250, 252, 0.55);
    font-weight: 700;
    margin-top: 0.2rem;
}

.marketing-glass-card {
    border-radius: var(--panel-radius);
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

.marketing-step-num {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
    flex-shrink: 0;
}

.marketing-feature-card {
    height: 100%;
    border-radius: var(--panel-radius);
    border: 1px solid var(--panel-border);
    background: linear-gradient(165deg, #fff 0%, #fafbfc 100%);
    box-shadow: var(--panel-shadow);
    padding: 1.5rem 1.4rem;
    transition: transform 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: 3px;
    background: linear-gradient(90deg, #2563eb, #7c3aed, #0ea5e9);
    opacity: 0.9;
}

.marketing-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--panel-shadow-lg);
}

.marketing-feature-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.marketing-feature-card__icon--student {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
    color: #059669;
}

.marketing-feature-card__icon--coach {
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.15), rgba(79, 70, 229, 0.1));
    color: #2563eb;
}

.marketing-feature-card__icon--admin {
    background: linear-gradient(145deg, rgba(124, 58, 237, 0.15), rgba(168, 85, 247, 0.08));
    color: #7c3aed;
}

.marketing-section-soft {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 45%, #f1f5f9 100%);
}

.marketing-cta-band {
    background: linear-gradient(125deg, #0f172a 0%, #1e3a5f 40%, #312e81 100%);
    color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.marketing-cta-band::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #6366f1;
    filter: blur(120px);
    opacity: 0.25;
    top: -180px;
    right: -80px;
    pointer-events: none;
}

.marketing-cta-band .container {
    position: relative;
    z-index: 1;
}
