/* ==================================================================
   BİLTEK-AES Veli Portalı
   Sade, okunaklı, telefonda rahat kullanılabilir olmak üzere tasarlandı.
   ================================================================== */
:root {
  --marka-mavi:      #0090f0;
  --marka-mavi-koyu: #0b72c4;
  --marka-yesil:     #22b765;
  --marka-koyu:      #0d1b2a;
  --kenar:           #e6edf4;
}

body.veli-govde {
  font-family: "Work Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #f4f7fa; color: #1f2d3d;
  display: flex; flex-direction: column; min-height: 100vh;
}

/* ---------- Üst bölüm ---------- */
.veli-ust { background: linear-gradient(135deg, var(--marka-koyu), #0b3c63); color: #fff; }
.veli-logo { border-radius: 50%; }
.lh-1 { line-height: 1.15; }
.veli-marka { font-size: 1.05rem; font-weight: 800; color: #fff; }
.veli-alt { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: #2bd97c; font-weight: 600; }
.veli-ogrenci { font-weight: 700; font-size: .95rem; color: #fff; line-height: 1.2; }
.veli-ogrno { font-size: .75rem; color: rgba(255,255,255,.6); }
.veli-hesap {
  background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px; font-size: .85rem; padding: .3rem .9rem;
}
.veli-hesap:hover { background: rgba(255,255,255,.2); color: #fff; }

/* ---------- Menü ---------- */
.veli-menu { display: flex; gap: .25rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.veli-menu a {
  color: rgba(255,255,255,.72); padding: .7rem 1rem; font-size: .92rem; font-weight: 600;
  white-space: nowrap; border-bottom: 3px solid transparent; text-decoration: none;
}
.veli-menu a:hover { color: #fff; text-decoration: none; }
.veli-menu a.aktif { color: #fff; border-bottom-color: #2bd97c; }

/* ---------- İçerik ---------- */
.veli-icerik { flex: 1 0 auto; padding: 1.75rem 0 2.5rem; }

.kart {
  background: #fff; border: 1px solid var(--kenar); border-radius: 14px;
  margin-bottom: 1.25rem; overflow: hidden;
}
.kart-bas {
  padding: .9rem 1.2rem; border-bottom: 1px solid var(--kenar);
  font-weight: 700; color: var(--marka-koyu); font-size: 1rem;
}
.kart-govde { padding: 1.2rem; }
.kart-govde-sifir { padding: 0; }

/* ---------- Özet kutuları ---------- */
.ozet {
  background: #fff; border: 1px solid var(--kenar); border-radius: 14px;
  padding: 1.1rem; height: 100%;
}
.ozet-sayi { font-size: 1.75rem; font-weight: 800; line-height: 1.1; }
.ozet-etiket { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: #7a8a9a; margin-top: .2rem; }

/* ---------- Tablolar ---------- */
.tablo-sar { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tablo-sar table { margin-bottom: 0; width: 100%; }
.tablo-sar th {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .04em;
  color: #7a8a9a; font-weight: 700; border-top: 0; padding: .75rem 1.2rem; background: #fafcfe;
}
.tablo-sar td { padding: .8rem 1.2rem; vertical-align: middle; border-top: 1px solid var(--kenar); font-size: .93rem; }
.tablo-sar tbody tr:hover { background: #fafcfe; }

/* ---------- Puan çubuğu ---------- */
.puan-cubuk { height: 6px; border-radius: 4px; background: #eef3f8; overflow: hidden; min-width: 60px; }
.puan-cubuk span { display: block; height: 100%; border-radius: 4px; }
.pc-success { background: #22b765; } .pc-info { background: #0090f0; }
.pc-warning { background: #f0a500; } .pc-danger { background: #e2553d; }

.rozet {
  display: inline-block; padding: .22rem .6rem; border-radius: 20px;
  font-size: .75rem; font-weight: 700;
}
.rz-success { background: #e3f7ec; color: #14804a; }
.rz-info    { background: #e2f2fd; color: #0b6ab0; }
.rz-warning { background: #fdf3e0; color: #9a6800; }
.rz-danger  { background: #fdeceb; color: #a83226; }
.rz-gri     { background: #eef2f6; color: #5a6b7c; }

/* ---------- Grafik ---------- */
.veli-grafik { width: 100%; height: 160px; display: block; }

/* ---------- Boş durum ---------- */
.bos { text-align: center; padding: 2.5rem 1rem; color: #8b9aa9; }
.bos .ikon { font-size: 2.2rem; opacity: .35; display: block; margin-bottom: .6rem; }

/* ---------- Giriş ekranı ---------- */
.giris-govde {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #0a1725 0%, #10293f 50%, #0a3355 100%);
}
.giris-kutu { width: 100%; max-width: 440px; }
.giris-logo { border-radius: 50%; }
.giris-marka { font-size: 1.6rem; font-weight: 800; color: #fff; letter-spacing: .02em; }
.giris-alt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #2bd97c; font-weight: 600; }
.giris-kart { background: #fff; border-radius: 16px; padding: 2rem 1.75rem; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.giris-kart h1 { font-size: 1.2rem; font-weight: 700; color: var(--marka-koyu); margin-bottom: .35rem; }
.giris-kart .aciklama { font-size: .88rem; color: #7a8a9a; margin-bottom: 1.4rem; }
.giris-kart label { font-size: .85rem; font-weight: 600; color: #3d4d5c; margin-bottom: .3rem; }
.giris-kart .form-control { border-radius: 8px; border-color: var(--kenar); padding: .7rem .9rem; height: auto; }
.giris-kart .form-control:focus { border-color: var(--marka-mavi); box-shadow: 0 0 0 .2rem rgba(0,144,240,.15); }
.btn-marka {
  background: var(--marka-mavi-koyu); border: 0; color: #fff; font-weight: 700;
  border-radius: 8px; padding: .75rem 1rem; width: 100%;
}
.btn-marka:hover { background: #095c9e; color: #fff; }
.giris-ayrac { border-top: 1px solid var(--kenar); margin: 1.4rem 0 1.1rem; }
.giris-alt-bag { font-size: .88rem; text-align: center; }
.giris-dip { color: rgba(255,255,255,.55); font-size: .78rem; text-align: center; margin-top: 1.2rem; }
.giris-dip a { color: #2bd97c; }

/* ---------- Alt bilgi ---------- */
.veli-alt-bilgi { background: #fff; border-top: 1px solid var(--kenar); color: #7a8a9a; flex-shrink: 0; }
.veli-alt-bilgi a { color: var(--marka-mavi-koyu); }

/* ---------- Telefon ---------- */
@media (max-width: 575.98px) {
  .veli-icerik { padding: 1.1rem 0 1.75rem; }
  .ozet { padding: .85rem; }
  .ozet-sayi { font-size: 1.35rem; }
  .ozet-etiket { font-size: .68rem; }
  .tablo-sar td, .tablo-sar th { padding: .65rem .8rem; font-size: .85rem; white-space: nowrap; }
  .giris-kart { padding: 1.5rem 1.25rem; }
}
