
/* ==== apps/modules/web/0100/00_ana_sayfa_ogretmen.php dosyasindan tasindi ==== */
'
        . '@keyframes pwqFadeUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}'
        . '@keyframes pwqSpin{to{transform:rotate(360deg)}}'
        . '.pwq-card{animation:pwqFadeUp .45s ease both;}'
        . '.pwq-input{width:100%;box-sizing:border-box;padding:13px 42px 13px 40px;border:1.5px solid #dbe7f3;border-radius:10px;font-size:14px;outline:none;background:#f8fafc;transition:border-color .15s,box-shadow .15s,background .15s;}'
        . '.pwq-input:focus{border-color:#1a3a6e;background:#fff;box-shadow:0 0 0 4px rgba(26,58,110,.09);}'
        . '.pwq-eye{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;padding:6px;color:#94a3b8;display:flex;}'
        . '.pwq-eye:hover{color:#1a3a6e;}'
        . '.pwq-match{font-size:12.5px;min-height:18px;text-align:left;padding-left:2px;margin:-6px 0 14px;transition:color .15s;color:transparent;}'
        . '.pwq-match.ok{color:#16a34a;}'
        . '.pwq-match.err{color:#dc2626;}'
        . '.pwq-btn{width:100%;padding:13px;background:linear-gradient(135deg,#0f2a52,#1a3a6e);color:#fff;border:none;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:opacity .15s,transform .15s,box-shadow .15s;}'
        . '.pwq-btn:disabled{opacity:.45;cursor:not-allowed;}'
        . '.pwq-btn:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(15,42,82,.28);}'
        . '.pwq-spinner{width:15px;height:15px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:pwqSpin .7s linear infinite;display:none;}'
        . '

/* ===== MODERN HEADER ===== */
#quesro-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 50px;
    background: linear-gradient(135deg, #0f2a52 0%, #1a3a6e 50%, #0f2a52 100%);
    border-bottom: 1px solid rgba(56,189,248,0.22);
    box-shadow: 0 2px 20px rgba(0,0,0,0.4), 0 0 0 1px rgba(56,189,248,0.09);
    z-index: 1000;
}
.main_bar {
    position: relative;
    height: 50px;
    display: flex;
    align-items: center;
}
#btn_sidemenu:hover { background: rgba(56,189,248,0.12) !important; }
#qdr-btn:hover { background: rgba(56,189,248,0.12) !important; color: #e2e8f0; }
#menu_logo { position:absolute; left:45px ;height:38px }
/* DÜZELTME: 0100_00_ana_sayfa_ogrenci.css'deki "#quesro-header #menu_logo
   {position:static !important; left:auto !important}" kuralı rol fark
   etmeksizin HER sayfada yükleniyor (index.php'de üç rol CSS'i de koşulsuz
   link'li) ve daha yüksek özgüllüğe (2 ID) + !important'a sahip olduğu için
   yukarıdaki düz "#menu_logo" kuralını eziyordu — position:static olunca
   left zaten hiç işlemiyordu. Aynı özgüllük + !important + bu dosyanın
   index.php'de ogrenci.css'ten SONRA yüklenmesi sayesinde bu kural kazanır. */
#quesro-header #menu_logo { position:absolute !important; left:45px !important; height:38px !important; top:5px !important; }

/* ===== İÇ BAŞLIK ÇUBUĞU (#main_baslik) =====
   Eskiden header'daki #menu_baslik tıklanan sol menü maddesinin adını tam
   genişlikte ortalayıp #btn_sidemenu ve #qdr-wrap düğmelerinin ÜSTÜNE
   biniyordu. #main_baslik #main_container'ın DIŞINDA (kardeşi), hemen
   üstünde duran ayrı bir çubuk — düğmelerle çakışmadan içerik alanının
   solunda ikonlu başlık gösteriyor. Varsayılan gizli (Ana Sayfa'da hiç
   doldurulmuyor); Tik_Sonrasi() ilk kez içerik koyunca .main-baslik-acik
   ile görünür olur — bkz. 00_ana_sayfa_ogretmen.php. */
#main_baslik {
    position: fixed;
    top: 50px;
    left: 250px;
    right: 0;
    height: 46px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    display: none;
    align-items: center;
    gap: 10px;
    padding: 0 22px;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    z-index: 900;
    box-sizing: border-box;
}
#main_baslik.main-baslik-acik { display: flex; }
#main_baslik .sb-icon-svg { display: flex; color: #4f46e5; flex-shrink: 0; }
#main_baslik .sb-icon-svg svg { width: 19px; height: 19px; }

/* Başlık çubuğu görününce içerik alanı onun altından başlasın. */
#main_container.main-container-baslikli { top: 96px; }

@media (max-width: 768px) {
    #main_baslik { left: 0; }
}

/* Dropdown items */
.qdr-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #bdd8f5;
    font-size: 13px;
    cursor: pointer;
    transition: background .15s, color .15s;
    white-space: nowrap;
    text-align: left;
}
.qdr-item:hover {
    background: rgba(255,255,255,0.92);
    color: #0f2a52;
}
.qdr-item:hover svg { filter: brightness(0) saturate(100%) invert(14%) sepia(50%) saturate(800%) hue-rotate(195deg); }
.qdr-item svg { flex-shrink:0; transition: filter .15s; }
.qdr-danger { color: #f87171 !important; }
.qdr-danger:hover { background: rgba(248,113,113,0.12) !important; color: #f87171 !important; }
.qdr-danger:hover svg { filter: none !important; }
.qdr-sep { height:1px; background: rgba(56,189,248,0.1); margin: 4px 12px; }
/* app-bar-btn — saf CSS (dinamik butonlar için) */
.app-bar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    top: 5px;
    border-radius: 8px;
    background: transparent;
    color: #94a3b8;
    font-size: 16px;
    cursor: pointer;
    transition: background .18s, color .18s;
    pointer-events: all !important;
    position: absolute;
    z-index: 9999;
}
.app-bar-btn:hover {
    background: rgba(56,189,248,0.14);
    color: #e2e8f0;
}

/* ===== MODERN SIDEBAR ===== */
.sidebar2 {
    position: fixed;
    top: 50px;
    left: -2px;
    width: 248px;
    height: calc(100vh - 50px);
    background: linear-gradient(180deg, #0d1b2a 0%, #112240 40%, #0d1b2a 100%);
    border-right: 1px solid rgba(56,189,248,0.13);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 999;
    list-style: none;
    margin: 0;
    padding: 0 0 12px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(56,189,248,0.25) transparent;
    box-shadow: 4px 0 28px rgba(0,0,0,0.5), inset -1px 0 0 rgba(56,189,248,0.05);
}
.sidebar2::-webkit-scrollbar { width: 3px; }
.sidebar2::-webkit-scrollbar-track { background: transparent; }
.sidebar2::-webkit-scrollbar-thumb { background: rgba(56,189,248,0.25); border-radius: 4px; }

/* Profil kartı */
.sb-profile {
    padding: 12px 14px 10px;
    background: linear-gradient(135deg, rgba(56,189,248,0.09), rgba(59,130,246,0.06));
    border-bottom: 1px solid rgba(56,189,248,0.1);
    margin-bottom: 4px;
}
.sb-avatar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.sb-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}
.sb-avatar-wrap img.avatar {
    width: 45px;
    height: 60px;
    border-radius: 5px;
    border: 2px solid rgba(56,189,248,0.45);
    object-fit: cover;
    display: block;
    box-shadow: 0 0 12px rgba(56,189,248,0.2);
}
.sb-avatar-wrap::after {
    content: '';
    position: absolute;
    bottom: 1px; right: 1px;
    width: 10px; height: 10px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid #0d1b2a;
    box-shadow: 0 0 6px rgba(34,197,94,0.5);
}
.sb-user-info { flex: 1; min-width: 0; }
.sb-user-name {
    color: #f1f5f9;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
	text-align:left;
}
.sb-user-branch {
    color: #7fb3d3;
    font-size: 11px;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Soru dağılım kartları */
.sb-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.sb-stat-card {
    background: rgba(56,189,248,0.05);
    border: 1px solid rgba(56,189,248,0.12);
    border-radius: 9px;
    padding: 8px 4px 6px;
    text-align: center;
    transition: background .2s, border-color .2s;
}
.sb-stat-card:hover {
    background: rgba(56,189,248,0.1);
    border-color: rgba(56,189,248,0.25);
}
.sb-stat-icon {
    font-size: 13px;
    line-height: 1;
    margin-bottom: 3px;
    display: block;
}
.sb-stat-num {
    display: block;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.1;
}
.sb-stat-lbl {
    display: block;
    font-size: 9px;
    letter-spacing: .4px;
    text-transform: uppercase;
    margin-top: 2px;
    opacity: .65;
}

/* ===== PUAN KAZANIM ANİMASYONU (+1 uçan rozet) ===== */
.puan-float-badge {
    position: fixed;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%) scale(.3);
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    line-height: 1;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(34,197,94,.45);
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    white-space: nowrap;
}
.puan-float-ucan {
    animation:
        puanPopBuyu .38s cubic-bezier(.34,1.56,.64,1) forwards,
        puanUc .55s ease-in .38s forwards;
}
.puan-float-sabit {
    animation:
        puanPopBuyu .38s cubic-bezier(.34,1.56,.64,1) forwards,
        puanSabitKaybol .5s ease-in .5s forwards;
}
@keyframes puanPopBuyu {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(.3); }
    60%  { opacity: 1; transform: translate(-50%, -50%) scale(1.35); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes puanUc {
    0%   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(calc(-50% + var(--uc-dx, 0px)), calc(-50% + var(--uc-dy, -40px))) scale(.4); }
}
@keyframes puanSabitKaybol {
    0%   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -85%) scale(.8); }
}
/* ── Faz 1: düğmeden başlar, büyüyerek EKRANIN ORTASINA doğru gider ── */
.puan-float-faz1 {
    animation: puanBuyuMerkeze .45s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes puanBuyuMerkeze {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(.3); }
    55%  { opacity: 1; transform: translate(calc(-50% + var(--dx1, 0px)), calc(-50% + var(--dy1, 0px))) scale(1.45); }
    100% { opacity: 1; transform: translate(calc(-50% + var(--dx1, 0px)), calc(-50% + var(--dy1, 0px))) scale(1.15); }
}
/* ── Faz 2: ekranın ortasından, küçülerek sb-stat-card'a (Puan kartı) doğru gidip kaybolur ── */
.puan-float-faz2 {
    animation: puanKucultKarta .45s cubic-bezier(.55,0,.85,.35) forwards;
}
@keyframes puanKucultKarta {
    0%   { opacity: 1; transform: translate(calc(-50% + var(--dx1, 0px)), calc(-50% + var(--dy1, 0px))) scale(1.15); }
    100% { opacity: 0; transform: translate(calc(-50% + var(--dx2, 0px)), calc(-50% + var(--dy2, 0px))) scale(.2); }
}
/* Puan bakiyesi kartı, uçan rozet varışında "zıplar" */
.sb-stat-card-bump {
    animation: sbStatBump .5s ease;
}
@keyframes sbStatBump {
    0%   { transform: scale(1); }
    35%  { transform: scale(1.18); background: rgba(192,132,252,.25); border-color: rgba(192,132,252,.5); }
    100% { transform: scale(1); }
}
/* Rozet kart'a ulaşıp puan güncellenince, ikon + sayı BİRLİKTE pulse olur */
.sb-puan-pulse {
    animation: sbPuanPulse .5s ease;
}
@keyframes sbPuanPulse {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* Menü bölüm başlığı */
.sb-section-title {
    padding: 8px 16px 3px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(56,189,248,0.6);
    display: flex;
    align-items: center;
    gap: 6px;
}
.sb-section-title::before {
    content: '';
    width: 3px; height: 3px;
    background: #38d9f5;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Menü öğeleri */
.sidebar2 > li {
    list-style: none;
    margin: 0 8px;
    border-radius: 8px;
    overflow: hidden;
    border: none !important;
    border-top: none !important;
}
.sidebar2 > li > a {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 5px 12px !important;
    color: #e2eaf4 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    transition: background .18s, color .18s !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    background: transparent !important;
    border: none !important;
    position: relative !important;
}
/* İkon — SVG ikonları için temel reset */
.sidebar2 > li > a .sb-menu-icon {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    font-size: 16px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    color: #fff !important;
    opacity: .85;
    margin: 0 !important;
    padding: 0 !important;
    left: auto !important;
    top: auto !important;
    transition: color .18s, opacity .18s !important;
}
/* SVG ikon container */
.sidebar2 > li > a .sb-icon-svg {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    opacity: .85;
    color: #38d9f5;
    transition: opacity .18s, color .18s !important;
}
.sidebar2 > li > a .sb-menu-icon::before {
    position: static !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
}
.sidebar2 > li > a .sb-menu-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
	text-align:left;
}
.sidebar2 > li > a:hover {
    background: rgba(56,189,248,0.12) !important;
    color: #0f2a52 !important;
}
.sidebar2 > li > a:hover * {
    color: #0f2a52 !important;
}
.sidebar2 > li > a:hover .sb-menu-icon {
    color: #0f2a52 !important;
}
.sidebar2 > li > a:hover .sb-icon-svg svg,
.sidebar2 > li > a:hover .sb-icon-svg svg * {
    stroke: #0f2a52 !important;
}
.sidebar2 > li > a:hover .sb-menu-label {
    color: #0f2a52 !important;
}

/* Menü bölüm başlığı — aqua */
.sb-section-title {
    padding: 0px 16px 3px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #38d9f5;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Aktif — sol aqua border + sabit arka plan */
.sidebar2 > li.active > a,
.sidebar2 > li.sb-active > a {
    background: #194363 !important;
    color: #e8f7fd !important;
    box-shadow: inset 3px 0 0 #38d9f5 !important;
    padding-left: 11px !important;
    font-weight: 700 !important;
}
.sidebar2 > li.active > a .sb-menu-icon,
.sidebar2 > li.sb-active > a .sb-menu-icon {
    opacity: 1 !important;
    color: #38d9f5 !important;
}
.sidebar2 > li.active > a .sb-icon-svg,
.sidebar2 > li.sb-active > a .sb-icon-svg {
    opacity: 1 !important;
    filter: none !important;
    color: #38d9f5 !important;
}
.sidebar2 > li.active > a .sb-icon-svg svg,
.sidebar2 > li.sb-active > a .sb-icon-svg svg {
    stroke: #38d9f5 !important;
    filter: none !important;
}
.sidebar2 > li.active > a .sb-menu-label,
.sidebar2 > li.sb-active > a .sb-menu-label {
    color: #e8f7fd !important;
}
.sidebar2 > li.active > a:hover,
.sidebar2 > li.sb-active > a:hover {
    background: #1c4b70 !important;
}

/* Ana Sayfa öğesi hep class="active" ile gelir (bu sayfa zaten ana sayfa) —
   ama hover'da diğer menü öğeleriyle (ör. btn_planlar) AYNI normal hover
   görünümünü versin, "aktif" öğenin daha koyu hover'ı yerine. */
#btn_anasayfa.active > a:hover {
    background: rgba(56,189,248,0.12) !important;
    color: #0f2a52 !important;
}
#btn_anasayfa.active > a:hover .sb-menu-icon {
    color: #0f2a52 !important;
}
#btn_anasayfa.active > a:hover .sb-icon-svg,
#btn_anasayfa.active > a:hover .sb-icon-svg svg {
    color: #0f2a52 !important;
    stroke: #0f2a52 !important;
    filter: none !important;
}
#btn_anasayfa.active > a:hover .sb-menu-label {
    color: #0f2a52 !important;
}

/* Divider */
.sb-divider {
    height: 1px;
    background: rgba(56,189,248,0.08);
    margin: 4px 12px;
}

/* Grup başlığı — tıklanamaz, sadece etiket */
.sb-group-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 12px 2px 22px;
    color: #7ecfea;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .4px;
    pointer-events: none;
    user-select: none;
    opacity: .9;
}
.sb-group-label .sb-icon-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    min-width: 18px;
    color: #38d9f5;
    opacity: .85;
}

/* Alt öğe — girintili, biraz küçük */
.sidebar2 > li.sb-sub-item {
    margin: 0 8px 0 40px;
}
.sidebar2 > li.sb-sub-item > a {
    font-size: 13px !important;
    padding: 6px 10px !important;
}
.sb-sub-indent {
    display: inline-block;
    width: 6px;
    min-width: 6px;
    height: 1px;
    border-left: 2px solid rgba(56,217,245,0.25);
    border-bottom: 2px solid rgba(56,217,245,0.25);
    border-radius: 0 0 0 4px;
    margin-right: 4px;
    align-self: center;
    flex-shrink: 0;
}
.sb-sub-hint {
    font-size: 10.5px;
    font-weight: 400;
    opacity: .65;
    margin-left: 3px;
}


