/* ============================================================
   Değerlendirme Sistemi
   Ana CSS - Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ─── CSS Değişkenleri ───────────────────────────────────── */
:root {
    /* Renkler */
    --primary:        #2563eb;
    --primary-dark:   #1d4ed8;
    --primary-light:  #dbeafe;
    --secondary:      #7c3aed;
    --accent:         #0ea5e9;
    --success:        #16a34a;
    --success-light:  #dcfce7;
    --warning:        #d97706;
    --warning-light:  #fef3c7;
    --danger:         #dc2626;
    --danger-light:   #fee2e2;
    --info:           #0284c7;
    --info-light:     #e0f2fe;

    /* Nötraller */
    --gray-50:    #f8fafc;
    --gray-100:   #f1f5f9;
    --gray-200:   #e2e8f0;
    --gray-300:   #cbd5e1;
    --gray-400:   #94a3b8;
    --gray-500:   #64748b;
    --gray-600:   #475569;
    --gray-700:   #334155;
    --gray-800:   #1e293b;
    --gray-900:   #0f172a;

    /* Sidebar */
    --sidebar-bg:    #0f172a;
    --sidebar-width: 260px;

    /* Tipografi */
    --font: 'Inter', sans-serif;

    /* Köşe yuvarlaklığı */
    --radius-sm:  6px;
    --radius:     10px;
    --radius-lg:  16px;
    --radius-xl:  24px;

    /* Gölgeler */
    --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow:     0 4px 16px rgba(0,0,0,.10);
    --shadow-lg:  0 10px 40px rgba(0,0,0,.15);
    --shadow-xl:  0 20px 60px rgba(0,0,0,.20);

    /* Geçişler */
    --transition: all .2s ease;
}

/* ─── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 15px; scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; }

/* ─── Login Sayfası ─────────────────────────────────────── */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #1d4ed8 100%);
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(37,99,235,.25) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(124,58,237,.20) 0%, transparent 50%);
}

.login-page::after {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,.03);
    top: -200px; right: -100px;
}

.login-card {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(255,255,255,.8);
}

.login-logo {
    text-align: center;
    margin-bottom: 1.75rem;
}

.login-logo .logo-icon {
    width: 68px; height: 68px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: .85rem;
    box-shadow: 0 8px 24px rgba(37,99,235,.4);
}

.login-logo h1 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.3;
}

.login-logo p {
    font-size: .825rem;
    color: var(--gray-500);
    margin-top: .2rem;
}

/* ─── Form Elemanları ────────────────────────────────────── */
.form-group { margin-bottom: 1.1rem; }

.form-group label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: .4rem;
}

.form-control {
    width: 100%;
    padding: .7rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: .9rem;
    color: var(--gray-800);
    background: var(--gray-50);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.form-control.is-invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(220,38,38,.10);
}

.form-control-icon {
    position: relative;
}

.form-control-icon .icon {
    position: absolute;
    left: .9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 1rem;
    pointer-events: none;
}

.form-control-icon .form-control {
    padding-left: 2.5rem;
}

.form-text {
    font-size: .78rem;
    color: var(--gray-500);
    margin-top: .3rem;
}

.invalid-feedback {
    font-size: .78rem;
    color: var(--danger);
    margin-top: .3rem;
}

/* ─── Butonlar ───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .65rem 1.25rem;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 14px rgba(37,99,235,.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37,99,235,.45);
    color: #fff;
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1.5px solid var(--gray-200);
}
.btn-secondary:hover { background: var(--gray-200); color: var(--gray-800); }

.btn-success {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    box-shadow: 0 4px 14px rgba(22,163,74,.3);
}
.btn-success:hover { transform:translateY(-1px); box-shadow:0 6px 20px rgba(22,163,74,.4); color:#fff; }

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #b91c1c);
    color: #fff;
    box-shadow: 0 4px 14px rgba(220,38,38,.3);
}
.btn-danger:hover { transform:translateY(-1px); color:#fff; }

.btn-warning {
    background: linear-gradient(135deg, var(--warning), #b45309);
    color: #fff;
}
.btn-warning:hover { transform:translateY(-1px); color:#fff; }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-sm  { padding: .4rem .85rem; font-size: .8rem; }
.btn-lg  { padding: .85rem 1.75rem; font-size: .95rem; }
.btn-full { width: 100%; }

.btn:disabled { opacity: .6; cursor: not-allowed; transform: none !important; }

/* ─── Alertler ───────────────────────────────────────────── */
.alert {
    padding: .85rem 1.1rem;
    border-radius: var(--radius);
    font-size: .88rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    border: 1px solid transparent;
}

.alert-success { background: var(--success-light); color: #166534; border-color: #bbf7d0; }
.alert-error   { background: var(--danger-light);  color: #991b1b; border-color: #fecaca; }
.alert-warning { background: var(--warning-light); color: #92400e; border-color: #fde68a; }
.alert-info    { background: var(--info-light);    color: #075985; border-color: #bae6fd; }

/* ─── Layout (Sidebar + Main) ────────────────────────────── */
.app-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 100;
    transition: transform .3s ease;
    overflow-y: auto;
}

.sidebar-header {
    padding: 1.5rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.sidebar-brand .brand-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.sidebar-brand .brand-text {
    font-size: .82rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.sidebar-brand .brand-sub {
    font-size: .7rem;
    color: var(--gray-400);
    font-weight: 400;
}

.sidebar-user {
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,.05);
    margin: .75rem;
    border-radius: var(--radius);
}

.sidebar-user .user-name {
    font-size: .85rem;
    font-weight: 600;
    color: #fff;
}

.sidebar-user .user-role {
    font-size: .72rem;
    color: var(--gray-400);
    margin-top: .15rem;
}

/* Sidebar Nav */
.sidebar-nav {
    flex: 1;
    padding: .5rem 0;
}

.nav-section {
    padding: .75rem 1.25rem .25rem;
    font-size: .68rem;
    font-weight: 700;
    color: var(--gray-500);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem 1.25rem;
    color: var(--gray-400);
    font-size: .865rem;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
    cursor: pointer;
}

.nav-item:hover {
    background: rgba(255,255,255,.06);
    color: #fff;
}

.nav-item.active {
    background: rgba(37,99,235,.15);
    color: var(--primary);
    border-left-color: var(--primary);
}

.nav-item .nav-icon { font-size: 1.05rem; width: 20px; text-align: center; flex-shrink: 0; }

.sidebar-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,.08);
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Topbar */
.topbar {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    padding: 0 1.75rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-sm);
}

.topbar-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Page Content */
.page-content {
    padding: 1.75rem;
    flex: 1;
}

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

.page-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
}

.page-header .subtitle {
    font-size: .85rem;
    color: var(--gray-500);
    margin-top: .2rem;
}

/* ─── Kartlar ────────────────────────────────────────────── */
.card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.card-header {
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.card-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
}

.card-body { padding: 5rem; }
.card-footer {
    padding: 1rem 1.4rem;
    border-top: 1px solid var(--gray-100);
    background: var(--gray-50);
}

/* ─── İstatistik Kartları ────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.4rem;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.stat-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-icon.blue   { background: var(--primary-light); }
.stat-icon.green  { background: var(--success-light); }
.stat-icon.purple { background: #ede9fe; }
.stat-icon.orange { background: var(--warning-light); }
.stat-icon.red    { background: var(--danger-light); }

.stat-info .value {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.stat-info .label {
    font-size: .78rem;
    color: var(--gray-500);
    margin-top: .2rem;
    font-weight: 500;
}

/* ─── Tablo ──────────────────────────────────────────────── */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

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

thead th {
    background: var(--gray-50);
    padding: .75rem 1rem;
    text-align: left;
    font-size: .75rem;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .05em;
    border-bottom: 1px solid var(--gray-200);
    white-space: nowrap;
}

tbody td {
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
    vertical-align: middle;
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--gray-50); }

/* ─── Badge ──────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: .2rem .6rem;
    border-radius: 99px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .03em;
}

.badge-admin    { background: #ede9fe; color: #6d28d9; }
.badge-educator { background: var(--info-light); color: #075985; }
.badge-student  { background: var(--success-light); color: #166534; }
.badge-success  { background: var(--success-light); color: #166534; }
.badge-danger   { background: var(--danger-light); color: #991b1b; }
.badge-warning  { background: var(--warning-light); color: #92400e; }
.badge-info     { background: var(--info-light); color: #0369a1; }
.badge-gray     { background: var(--gray-100); color: var(--gray-600); }

/* ─── Search & Filter Bar ────────────────────────────────── */
.filter-bar {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 220px;
}

.search-box .icon {
    position: absolute;
    left: .85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
}

.search-box input {
    width: 100%;
    padding: .6rem .9rem .6rem 2.3rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: .875rem;
    outline: none;
    transition: var(--transition);
    background: #fff;
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

/* ─── Modal ──────────────────────────────────────────────── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.5);
    z-index: 200;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    padding: 1rem;
}

.modal-overlay.open { display: flex; }

.modal {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn .25s ease;
}

@keyframes modalIn {
    from { opacity:0; transform:scale(.95) translateY(-10px); }
    to   { opacity:1; transform:scale(1)   translateY(0); }
}

.modal-header {
    padding: 1.3rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); }

.modal-close {
    width: 30px; height: 30px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: var(--transition);
}

.modal-close:hover { background: var(--gray-200); color: var(--gray-900); }

.modal-body   { padding: 1.5rem; }
.modal-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--gray-200); display:flex; justify-content:flex-end; gap:.75rem; }

/* ─── Autocomplete ───────────────────────────────────────── */
.autocomplete-wrap {
    position: relative;
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 300;
    max-height: 220px;
    overflow-y: auto;
    display: none;
}

.autocomplete-dropdown.open { display: block; }

.autocomplete-item {
    padding: .65rem 1rem;
    cursor: pointer;
    font-size: .875rem;
    color: var(--gray-700);
    transition: var(--transition);
    border-bottom: 1px solid var(--gray-100);
}

.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover, .autocomplete-item.selected { background: var(--primary-light); color: var(--primary-dark); }

.autocomplete-item .item-sub {
    font-size: .72rem;
    color: var(--gray-400);
    margin-top: .1rem;
}

/* Seçilen etiketler */
.tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .5rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 99px;
    padding: .2rem .65rem;
    font-size: .78rem;
    font-weight: 600;
}

.tag-remove {
    cursor: pointer;
    font-size: .9rem;
    line-height: 1;
    opacity: .7;
    border: none;
    background: none;
    color: inherit;
    padding: 0;
}

.tag-remove:hover { opacity: 1; }

/* ─── Pagination ─────────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.page-btn {
    width: 36px; height: 36px;
    border: 1.5px solid var(--gray-200);
    background: #fff;
    border-radius: var(--radius-sm);
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: var(--transition);
    text-decoration: none;
}

.page-btn:hover     { border-color: var(--primary); color: var(--primary); }
.page-btn.active    { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-btn:disabled  { opacity: .4; cursor: not-allowed; }

/* ─── Form Grid ──────────────────────────────────────────── */
.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* ─── Boş Durum ──────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--gray-400);
}

.empty-state .icon  { font-size: 3rem; margin-bottom: .75rem; opacity: .5; }
.empty-state h4     { font-size: 1rem; color: var(--gray-600); margin-bottom: .5rem; }
.empty-state p      { font-size: .875rem; }

/* ─── Yükleniyor ─────────────────────────────────────────── */
.spinner {
    display: inline-block;
    width: 18px; height: 18px;
    border: 2.5px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

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

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
    :root { --sidebar-width: 0px; }
    .sidebar { transform: translateX(-260px); width: 260px; z-index: 1000; }
    .sidebar.mobile-open { transform: translateX(0); box-shadow: 4px 0 24px rgba(0,0,0,0.5); }
    .sidebar-overlay { 
        display: none; position: fixed; inset: 0; 
        background: rgba(15,23,42,.6); z-index: 999; 
        backdrop-filter: blur(2px); cursor: pointer;
    }
    .sidebar-overlay.open { display: block; }
    
    .sidebar-header {
        display: flex; align-items: center; justify-content: space-between;
    }
    
    .main-content { margin-left: 0; }
    .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }
    .page-content { padding: 1rem; }
    .topbar { padding: 0 1rem; gap: .75rem; }
    
    .mobile-toggle {
        display: inline-flex; align-items: center; justify-content: center;
        background: none; border: none; font-size: 2rem; color: var(--gray-800);
        cursor: pointer; margin-right: .5rem;
    }
    
    .mobile-close-btn {
        background: transparent; border: none; color: var(--gray-400); 
        font-size: 1.25rem; cursor: pointer;
    }
}
@media (min-width: 769px) {
    .mobile-toggle, .mobile-close-btn { display: none !important; }
}

@media (max-width: 480px) {
    .login-card { padding: 1.75rem 1.25rem; }
}

/* ─── Select ─────────────────────────────────────────────── */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .85rem center;
    padding-right: 2.2rem;
}

/* ─── Textarea ───────────────────────────────────────────── */
textarea.form-control {
    resize: vertical;
    min-height: 90px;
}

/* ─── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* ─── Tooltip ────────────────────────────────────────────── */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-900);
    color: #fff;
    font-size: .72rem;
    padding: .3rem .65rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s;
    z-index: 500;
}

[data-tooltip]:hover::after { opacity: 1; }

/* ─── Divider ────────────────────────────────────────────── */
.divider {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 1.25rem 0;
}

.divider-text {
    text-align: center;
    position: relative;
    margin: 1.25rem 0;
    color: var(--gray-400);
    font-size: .8rem;
}

.divider-text::before, .divider-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 2rem);
    height: 1px;
    background: var(--gray-200);
}

.divider-text::before { left: 0; }
.divider-text::after  { right: 0; }
