/* ══════════════════════════════════════════════════════════════════
   12-B ÖDEV ÇİZELGESİ — COSMIC FROSTED GLASS & NEUMORPHISM UI
   Inspired strictly by Reference Images (Frosted Glass, Neumorphic Depth, Thin Urbanist)
   ══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100;0,200;0,300;0,400;0,500;1,200;1,300&display=swap');

:root {
    /* ─── Koyu Gece & Uzay Zeminleri ─── */
    --bg-cosmic: #070814;
    --bg-glass-card: rgba(255, 255, 255, 0.038);
    --bg-glass-elevated: rgba(255, 255, 255, 0.065);
    --bg-glass-dock: rgba(255, 255, 255, 0.045);
    
    /* ─── Kristal Kenarlıklar ─── */
    --border-glass: 1px solid rgba(255, 255, 255, 0.14);
    --border-glass-subtle: 1px solid rgba(255, 255, 255, 0.07);
    --border-glass-bright: 1px solid rgba(255, 255, 255, 0.25);
    
    /* ─── Vurgu Renkleri (Referans Görsel: Canlı Mor, Kraliyet Mavisi, Buz Nanesi) ─── */
    --accent-royal: #3b82f6;
    --accent-royal-hover: #2563eb;
    --accent-nebula: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-mint: #c7ede6;
    
    /* ─── Metin Renkleri ─── */
    --text-white: #ffffff;
    --text-light: #f1f5f9;
    --text-muted: rgba(255, 255, 255, 0.60);
    --text-dim: rgba(255, 255, 255, 0.40);
    
    /* ─── SADECE URBANIST İNCE TİPOGRAFİ ─── */
    --font-urbanist: 'Urbanist', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* ─── Gölgeler & Derinlik ─── */
    --shadow-glass-board: 0 35px 70px -15px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.22);
    --shadow-glass-card: 0 18px 36px -8px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.14);
    --shadow-glass-hover: 0 24px 48px -10px rgba(0, 0, 0, 0.75), 0 0 20px rgba(139, 92, 246, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.25);
    --shadow-neuro-inset: inset 2px 2px 6px rgba(0, 0, 0, 0.5), inset -2px -2px 6px rgba(255, 255, 255, 0.05);
    --shadow-royal-btn: 0 8px 24px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ═════════ GENEL SIFIRLAMA VE URBANIST TİPOGRAFİ ═════════ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* İkon font ailelerini kesinlikle koru (RemixIcon & Font Awesome) */
[class^="ri-"], [class*=" ri-"],
[class^="ri-"]::before, [class*=" ri-"]::before,
i[class*="ri-"], i[class*="ri-"]::before {
    font-family: 'remixicon' !important;
    font-style: normal !important;
    font-weight: normal !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

[class^="fa-"], [class*=" fa-"],
[class^="fa-"]::before, [class*=" fa-"]::before,
.fa, .fas, .far, .fab,
.fa::before, .fas::before, .far::before, .fab::before {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', 'FontAwesome' !important;
    font-style: normal !important;
    font-weight: 900 !important;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-urbanist) !important;
    font-weight: 300 !important;
    background-color: var(--bg-cosmic);
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.55;
    letter-spacing: 0.02em;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-urbanist) !important;
    font-weight: 200 !important;
    letter-spacing: -0.015em;
    color: var(--text-white);
}

p, div, a, button, input, textarea, select {
    font-family: var(--font-urbanist);
}

span:not([class^="ri-"]):not([class*=" ri-"]):not([class^="fa-"]):not([class*=" fa-"]) {
    font-family: var(--font-urbanist);
}

/* ═════════ ARKA PLAN KOZMİK NEBULA AĞI (REFERANS GÖRSEL 2) ═════════ */
.cosmic-ambient-mesh {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(circle at 85% 15%, rgba(139, 92, 246, 0.28) 0%, rgba(99, 102, 241, 0.12) 35%, transparent 65%),
        radial-gradient(circle at 12% 80%, rgba(37, 99, 235, 0.24) 0%, rgba(6, 182, 212, 0.10) 40%, transparent 65%),
        radial-gradient(circle at 50% 100%, rgba(168, 85, 247, 0.14) 0%, transparent 55%),
        #070814;
}

/* ═════════ YÜZEN FROSTED GLASS HEADER ═════════ */
.glass-floating-header {
    position: sticky;
    top: 16px;
    z-index: 100;
    width: calc(100% - 32px);
    max-width: 1280px;
    margin: 16px auto 32px auto;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: var(--border-glass);
    border-radius: 9999px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.18);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-glass-orb {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(59, 130, 246, 0.3) 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ffffff;
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.4);
}

.brand-title {
    font-size: 19px;
    font-weight: 300 !important;
    letter-spacing: 0.03em;
    color: #ffffff;
    display: block;
    line-height: 1.15;
}

.brand-subtitle {
    font-size: 11px;
    font-weight: 300 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-chip-glass {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 14px 5px 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
}

.user-avatar-glass {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 400 !important;
}

.user-name-text {
    font-size: 13px;
    font-weight: 300 !important;
    color: #ffffff;
    display: block;
}

.user-role-pill {
    font-size: 10px;
    color: var(--accent-mint);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}

/* ═════════ KRALİYET MAVİSİ & FROSTED GLASS BUTONLAR (REFERANS GÖRSEL 1 & 2) ═════════ */
.btn-royal-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 9999px;
    font-size: 13.5px;
    font-weight: 300 !important;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: var(--shadow-royal-btn);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-royal-pill:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: none !important;
}

.btn-glass-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 300 !important;
    letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff !important;
    border: var(--border-glass);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-glass-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.08);
}

.btn-glass-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: var(--border-glass);
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-glass-icon:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.3);
}

/* ═════════ ANA DÜZEN VE ÇİFT PANELLİ SHOWCASE (REFERANS GÖRSEL 2) ═════════ */
.app-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px 80px 16px;
    position: relative;
    z-index: 10;
}

/* DOCK + SHOWCASE İKİLİ IZGARA */
.dashboard-glass-layout {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 900px) {
    .dashboard-glass-layout {
        grid-template-columns: 1fr;
    }
}

/* DİKEY SOL DOCK (REFERANS GÖRSEL 2'DEKİ DOCK BİREBİR) */
.glass-dock {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px 10px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: var(--border-glass);
    border-radius: 36px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    position: sticky;
    top: 96px;
}

@media (max-width: 900px) {
    .glass-dock {
        position: static;
        flex-direction: row;
        justify-content: center;
        border-radius: 9999px;
        padding: 10px 20px;
        margin-bottom: 20px;
    }
}

.dock-avatar-bubble {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.5) 0%, rgba(59, 130, 246, 0.5) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 8px;
}

.dock-item {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 20px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.dock-item.active {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.12);
}

.dock-item:hover:not(.active) {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/* BÜYÜK FROSTED GLASS ANA PANO (REFERANS GÖRSEL 2'DEKİ Monthly Growth Panosu) */
.glass-showcase-board {
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(36px) saturate(180%);
    -webkit-backdrop-filter: blur(36px) saturate(180%);
    border: var(--border-glass);
    border-radius: 28px;
    padding: 36px 36px 42px 36px;
    box-shadow: var(--shadow-glass-board);
    position: relative;
}

@media (max-width: 640px) {
    .glass-showcase-board {
        padding: 24px 18px;
    }
}

/* KÖŞE PARILTI YILDIZI (REFERANS GÖRSELDEKİ ✦) */
.star-sparkle {
    position: absolute;
    bottom: 24px;
    right: 24px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(139, 92, 246, 0.6);
    pointer-events: none;
    animation: pulseStar 3s ease-in-out infinite alternate;
}

@keyframes pulseStar {
    0% { opacity: 0.4; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.15); }
}

/* BAŞLIK VE TİPOGRAFİ (REFERANS GÖRSEL 2: Monthly Growth / 24% Increase) */
.board-title-thin {
    font-size: 42px;
    font-weight: 200 !important;
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 4px;
}

@media (max-width: 640px) {
    .board-title-thin {
        font-size: 30px;
    }
}

.board-subtitle-thin {
    font-size: 15px;
    font-weight: 300 !important;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* ═════════ 3 ADET FROSTED STAT KARTI (REFERANS GÖRSEL 2'DEKİ KARTLAR BİREBİR) ═════════ */
.frosted-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

@media (max-width: 860px) {
    .frosted-stats-grid {
        grid-template-columns: 1fr;
    }
}

.glass-subcard {
    background: rgba(255, 255, 255, 0.038);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: var(--border-glass);
    border-radius: 20px;
    padding: 22px 24px;
    box-shadow: var(--shadow-glass-card);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 160px;
}

.glass-subcard:hover {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: var(--shadow-glass-hover);
}

.stat-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.stat-label-thin {
    font-size: 13.5px;
    font-weight: 300 !important;
    letter-spacing: 0.03em;
    color: var(--text-muted);
}

.stat-icon-thin {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.stat-value-thin {
    font-size: 36px;
    font-weight: 200 !important;
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 14px;
}

/* KART 1: SVG SPARKLINE DALGASI (REFERANS GÖRSEL 2'DEKİ WAVE) */
.sparkline-svg {
    width: 100%;
    height: 44px;
    overflow: visible;
}

/* KART 2: DİKEY EQUALIZER ÇUBUKLARI (REFERANS GÖRSEL 2'DEKİ BAR CHART) */
.equalizer-bar-group {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 42px;
    padding-top: 6px;
}

.eq-bar {
    flex: 1;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.18);
    transition: height 0.3s ease;
}

.eq-bar.active {
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.eq-bar.highlight {
    background: var(--accent-royal);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* KART 3: DİLİMLİ PİE / DONUT GRAFİĞİ (REFERANS GÖRSEL 2'DEKİ PİE CHART) */
.pie-chart-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.pie-svg {
    width: 48px;
    height: 48px;
    transform: rotate(-90deg);
}

/* ═════════ HAFTALIK TESLİM AKIŞ ÇİZELGESİ ═════════ */
.weekly-timeline-board {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-neuro-inset);
}

.weekly-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

@media (max-width: 1024px) {
    .weekly-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 12px;
    }
    .weekly-day-card {
        min-width: 140px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
}

.weekly-day-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    min-height: 125px;
    transition: all 0.2s ease;
}

.weekly-day-card.today {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.12);
}

.weekly-day-card.past {
    opacity: 0.65;
}

.weekly-day-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.weekly-day-card.today:hover {
    border-color: rgba(59, 130, 246, 0.6);
}

.weekly-chip {
    display: block;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.weekly-chip:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.02);
}

.weekly-chip-subj {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 2px;
}

.weekly-chip-title {
    font-size: 11.5px;
    color: #ffffff;
    font-weight: 300;
    margin-top: 2px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

/* ═════════ NEUMORPHIC DOKUNSAL KONTROLLER (REFERANS GÖRSEL 1) ═════════ */
/* NEUMORPHIC SEKME DEĞİŞTİRİCİSİ */
.neuro-switch-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    box-shadow: var(--shadow-neuro-inset);
    margin-bottom: 28px;
}

.neuro-tab-btn {
    padding: 8px 22px;
    border-radius: 9999px;
    font-size: 13.5px;
    font-weight: 300 !important;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.neuro-tab-btn.active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* DERS FİLTRE HAPLARI */
.filter-pills-scroll {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 32px;
    scrollbar-width: none;
}
.filter-pills-scroll::-webkit-scrollbar { display: none; }

.glass-filter-pill {
    padding: 7px 18px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 300 !important;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.glass-filter-pill:hover, .glass-filter-pill.active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ═════════ ÖDEV KARTLARI (FROSTED GLASS + TACTILE DETAILS) ═════════ */
.homework-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 22px;
}

@media (max-width: 480px) {
    .homework-grid {
        grid-template-columns: 1fr;
    }
}

.glass-hw-card {
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--border-glass);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-glass-card);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.glass-hw-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: var(--shadow-glass-hover);
    transform: none !important;
}

/* Kart Üst Başlık */
.hw-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.hw-badge-subject {
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 300 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.hw-card.theme-matematik .hw-badge-subject {
    background: rgba(199, 237, 230, 0.12);
    border-color: rgba(199, 237, 230, 0.3);
    color: var(--accent-mint);
}

.hw-card.theme-fizik .hw-badge-subject {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.3);
    color: #38bdf8;
}

.hw-card.theme-edebiyat .hw-badge-subject {
    background: rgba(192, 132, 252, 0.12);
    border-color: rgba(192, 132, 252, 0.3);
    color: #c084fc;
}

.hw-card.theme-kimya .hw-badge-subject {
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.3);
    color: #34d399;
}

.hw-badge-deadline {
    font-size: 12px;
    font-weight: 300 !important;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hw-title-thin {
    font-size: 20px;
    font-weight: 200 !important;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.hw-desc-thin {
    font-size: 13.5px;
    font-weight: 300 !important;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Kart Alt Çubuğu */
.hw-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hw-teacher-attribution {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 300 !important;
    color: var(--text-light);
}

.hw-teacher-avatar-xs {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--accent-mint);
}

/* ═════════ FROSTED GLASS DETAY MODAL (TÜM BİLGİLER BURADA AÇILIR) ═════════ */
.glass-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(3, 4, 10, 0.85);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.glass-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.glass-modal-card {
    width: 100%;
    max-width: 620px;
    background: rgba(20, 24, 38, 0.92);
    border: var(--border-glass-bright);
    border-radius: 28px;
    padding: 36px;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: scale(0.96);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.glass-modal-overlay.active .glass-modal-card {
    transform: scale(1);
}

.modal-close-glass {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: var(--border-glass);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close-glass:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.4);
}

/* ═════════ GİRİŞ / KAYIT / FORM STİLLERİ (REFERANS GÖRSEL 1: LOGIN CARD) ═════════ */
.stealth-card {
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(32px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(180%) !important;
    border: var(--border-glass) !important;
    border-radius: 28px !important;
    box-shadow: var(--shadow-glass-board) !important;
}

.form-group-stealth {
    margin-bottom: 20px;
}

.form-label-stealth, .label-stealth {
    display: block;
    font-size: 13px;
    font-weight: 300 !important;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-input-stealth, .stealth-input, .input-stealth {
    width: 100%;
    padding: 12px 18px;
    background: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 300 !important;
    box-shadow: var(--shadow-neuro-inset) !important;
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.form-input-stealth:focus, .stealth-input:focus, .input-stealth:focus {
    border-color: var(--accent-royal) !important;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.25), var(--shadow-neuro-inset) !important;
}

.select-stealth {
    width: 100%;
    padding: 12px 18px;
    background: #11141e !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 300 !important;
    outline: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.select-stealth:focus {
    border-color: var(--accent-royal) !important;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.25) !important;
}

.select-stealth option {
    background: #151821 !important;
    color: #ffffff !important;
    padding: 10px;
}

.textarea-stealth {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 16px !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 300 !important;
    outline: none;
    resize: vertical;
    line-height: 1.55;
    box-shadow: var(--shadow-neuro-inset) !important;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.textarea-stealth:focus {
    border-color: var(--accent-royal) !important;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.25), var(--shadow-neuro-inset) !important;
}

/* BİLDİRİM TOAST */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.stealth-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    background: rgba(15, 20, 32, 0.95);
    border: var(--border-glass-bright);
    border-radius: 9999px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 300 !important;
}

/* ═════════ UYUMLULUK VE YARDIMCI SINIFLAR (ADMIN & FORM ALANLARI) ═════════ */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 32px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.038);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: var(--border-glass);
    border-radius: 20px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: var(--shadow-glass-card);
    transition: all 0.25s ease;
}

.stat-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent-royal);
    flex-shrink: 0;
}

.stat-val {
    font-size: 28px;
    font-weight: 300;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.stat-lbl {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 4px;
}

.glass-table-wrapper {
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: var(--border-glass);
    border-radius: 24px;
    overflow-x: auto;
    box-shadow: var(--shadow-glass-board);
}

.glass-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 600px;
}

.glass-table thead th {
    padding: 16px 20px;
    font-size: 12px;
    font-weight: 300 !important;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.glass-table tbody td {
    padding: 16px 20px;
    font-size: 13.5px;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.glass-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

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

.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 300 !important;
    letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff !important;
    border: var(--border-glass);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: none !important;
}

.btn-pill-mint, .btn-beam {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: var(--shadow-royal-btn) !important;
    color: #ffffff !important;
}

.btn-pill-danger {
    background: rgba(239, 68, 68, 0.12) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    color: #f87171 !important;
}

.btn-pill-danger:hover {
    background: rgba(239, 68, 68, 0.25) !important;
    border-color: rgba(239, 68, 68, 0.5) !important;
}

.btn-pill-sm {
    padding: 6px 14px;
    font-size: 12px;
}

.btn-pill-icon {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
}

.badge-status {
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 300 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-completed {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pill-badge {
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 300;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pill-badge-mint {
    background: rgba(199, 237, 230, 0.12);
    border: 1px solid rgba(199, 237, 230, 0.25);
    color: var(--accent-mint);
}

.user-avatar {
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(139, 92, 246, 0.35));
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 400;
    flex-shrink: 0;
}

.tabs-wrapper {
    background: rgba(255, 255, 255, 0.035);
    border: var(--border-glass);
    border-radius: 18px;
    padding: 14px 18px;
}

.stealth-alert {
    padding: 14px 18px;
    border-radius: 16px;
    margin-bottom: 20px;
    font-size: 13.5px;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stealth-alert-danger {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.stealth-alert-success {
    background: rgba(199, 237, 230, 0.12);
    border: 1px solid rgba(199, 237, 230, 0.3);
    color: #c7ede6;
}

.stealth-title {
    font-size: 26px;
    font-weight: 200 !important;
    letter-spacing: -0.015em;
    color: #ffffff;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    font-weight: 300 !important;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

td {
    font-weight: 300 !important;
    font-size: 13.5px;
    color: var(--text-light);
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ═════════ MOBİL DUYARLILIK VE RESPONSIVE DÜZENLER (MOBILE RESPONSIVE ENGINE) ═════════ */
.admin-two-col-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.9fr;
    gap: 28px;
    align-items: start;
}

.admin-form-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.admin-action-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 36px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Tablet & Küçük Ekranlar (<= 960px) */
@media (max-width: 960px) {
    .dashboard-glass-layout {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .glass-dock {
        position: static !important;
        flex-direction: row !important;
        justify-content: center !important;
        border-radius: 9999px !important;
        padding: 8px 16px !important;
        margin-bottom: 16px !important;
        max-width: 100% !important;
        overflow-x: auto !important;
    }

    .admin-two-col-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* Mobil Ekranlar (<= 768px) */
@media (max-width: 768px) {
    .glass-floating-header {
        width: calc(100% - 16px) !important;
        margin: 8px auto 14px auto !important;
        padding: 10px 14px !important;
        border-radius: 20px !important;
    }

    .brand-glass-orb {
        width: 34px !important;
        height: 34px !important;
        font-size: 16px !important;
    }

    .brand-title {
        font-size: 15px !important;
    }

    .brand-subtitle {
        display: none !important;
    }

    .header-actions {
        gap: 8px !important;
    }

    .user-name-text {
        font-size: 12px !important;
    }

    .btn-royal-pill.btn-pill-sm,
    .btn-glass-pill.btn-pill-sm {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
}

/* Mobil Telefonlar (<= 640px) */
@media (max-width: 640px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    .app-container {
        padding: 0 8px 40px 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .glass-floating-header {
        width: calc(100% - 12px) !important;
        margin: 6px auto 12px auto !important;
        padding: 8px 10px !important;
        border-radius: 16px !important;
    }

    .header-inner {
        flex-wrap: wrap !important;
        gap: 8px !important;
        justify-content: space-between !important;
    }

    .header-brand {
        gap: 8px !important;
    }

    .brand-glass-orb {
        width: 30px !important;
        height: 30px !important;
        font-size: 14px !important;
    }

    .brand-title {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-actions {
        gap: 6px !important;
        flex-wrap: wrap !important;
    }

    .header-actions .btn-royal-pill,
    .header-actions .btn-glass-pill {
        padding: 5px 9px !important;
        font-size: 11px !important;
        gap: 4px !important;
    }

    .user-chip-glass {
        padding: 3px 6px !important;
        gap: 6px !important;
    }

    .user-name-text {
        font-size: 11px !important;
        max-width: 85px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .glass-showcase-board {
        padding: 16px 12px !important;
        border-radius: 18px !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .board-title-thin {
        font-size: 24px !important;
        line-height: 1.2 !important;
    }

    .board-subtitle-thin {
        font-size: 12.5px !important;
        margin-bottom: 16px !important;
    }

    .frosted-stats-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .glass-subcard {
        padding: 14px 12px !important;
        border-radius: 16px !important;
        min-height: auto !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .weekly-timeline-board {
        padding: 14px 10px !important;
        border-radius: 16px !important;
        margin-bottom: 20px !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .weekly-grid {
        display: flex !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        padding-bottom: 8px !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .weekly-day-card {
        min-width: 120px !important;
        padding: 10px 8px !important;
        border-radius: 12px !important;
        flex-shrink: 0 !important;
        scroll-snap-align: start !important;
    }

    .neuro-switch-container {
        display: flex !important;
        width: 100% !important;
        padding: 3px !important;
        border-radius: 12px !important;
        margin-bottom: 16px !important;
    }

    .neuro-tab-btn {
        flex: 1 !important;
        justify-content: center !important;
        padding: 7px 6px !important;
        font-size: 11.5px !important;
        white-space: nowrap !important;
        gap: 4px !important;
    }

    .filter-pills-scroll {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 6px !important;
        margin-bottom: 20px !important;
    }

    .homework-grid {
        grid-template-columns: 100% !important;
        gap: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .glass-hw-card {
        padding: 16px 14px !important;
        border-radius: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .hw-title-thin {
        font-size: 17px !important;
    }

    .glass-modal-overlay {
        padding: 8px !important;
        align-items: flex-end !important;
    }

    .glass-modal-card {
        padding: 20px 14px !important;
        border-radius: 20px 20px 12px 12px !important;
        max-height: 85vh !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .modal-close-glass {
        top: 12px !important;
        right: 12px !important;
        width: 30px !important;
        height: 30px !important;
        font-size: 16px !important;
    }

    .admin-form-two-col {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .admin-action-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .stealth-card {
        padding: 18px 14px !important;
        border-radius: 18px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .table-responsive {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .stat-card {
        padding: 14px 16px !important;
        border-radius: 14px !important;
    }

    .stat-val {
        font-size: 22px !important;
    }
}

/* Küçük Telefonlar (<= 480px) */
@media (max-width: 480px) {
    .glass-floating-header {
        padding: 6px 8px !important;
    }

    .user-chip-glass div[style*="line-height"] {
        display: none !important;
    }

    .user-chip-glass {
        padding: 3px !important;
    }

    .neuro-tab-btn {
        font-size: 10.5px !important;
        padding: 6px 4px !important;
    }

    .board-title-thin {
        font-size: 21px !important;
    }
}

