/* =========================================================
   GENEL
========================================================= */

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #0b1120;
  color: #ffffff;
}

.page {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}


/* =========================================================
   HEADER
========================================================= */

.header {
  height: 13vh;
  min-height: 90px;
  display: grid;
  grid-template-columns: 12% 1fr 18%;
  align-items: center;
  padding: 1vh 1.5vw;
  background: #111827;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}


/* LOGO */

.logo {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

  .logo img {
    width: auto;
    height: 90%;
    max-width: 100%;
    object-fit: contain;
    display: block;
  }


/* OKUL */

.okul {
  text-align: center;
  padding: 0 1vw;
}

  .okul h1 {
    margin: 0;
    font-size: clamp(18px, 1.7vw, 34px);
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.2;
  }

  .okul span {
    display: block;
    margin-top: 0.5vh;
    font-size: clamp(11px, 0.9vw, 18px);
    color: #9ca3af;
  }


/* SAAT */

.clock {
  text-align: right;
  padding-right: 1vw;
}

#clock {
  font-size: clamp(24px, 2.3vw, 48px);
  font-weight: 600;
  line-height: 1;
}

#date {
  margin-top: 0.7vh;
  font-size: clamp(10px, 0.85vw, 17px);
  color: #9ca3af;
  text-transform: capitalize;
}


/* =========================================================
   ANA CONTENT
========================================================= */

.content {
  width: 100%;
  height: 79vh;
  display: grid;
  grid-template-columns: 22% 53% 25%;
  gap: 1vw;
  padding: 1vw;
  min-height: 0;
  overflow: hidden;
}


/* =========================================================
   SOL / ORTA / SAĞ PANEL
========================================================= */

.leftPanel,
.centerPanel,
.rightPanel {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 1vw;
  overflow: hidden;
}


/* =========================================================
   CARD
========================================================= */

.card {
  width: 100%;
  background: #111827;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: clamp(12px, 1vw, 24px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}


/* =========================================================
   CARD HEADER
========================================================= */

.cardHeader {
  position: relative;
  min-height: 6vh;
  padding: 0.8vh 1vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65vw;
  background: linear-gradient( 135deg, #182235, #111827 );
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: clamp(12px, 0.9vw, 20px);
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #f8fafc;
  flex-shrink: 0;
  overflow: hidden;
}


  /* Başlığın üstündeki modern renk çizgisi */

  .cardHeader::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient( 90deg, #38bdf8, #6366f1, #a855f7 );
  }


  /* İkon */

  .cardHeader i {
    width: clamp(26px, 2vw, 40px);
    height: clamp(26px, 2vw, 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(56,189,248,0.12);
    color: #38bdf8;
    font-size: clamp(13px, 1vw, 21px);
    flex-shrink: 0;
  }


/* Başlık hover efekti */

.card:hover .cardHeader i {
  transform: scale(1.08);
}

.cardHeader i {
  transition: transform 0.25s ease;
}


/* =========================================================
   SOL PANEL
========================================================= */

/* Nöbetçi müdür yardımcısı */

.leftPanel > .card:first-child {
  height: 56%;
  min-height: 0;
  flex-shrink: 0;
}


/* Bugün doğanlar */

.leftPanel > .card:last-child {
  height: 44%;
  min-height: 0;
  flex-shrink: 0;
}


/* =========================================================
   MÜDÜR FOTOĞRAFI
========================================================= */

.personPhoto {
  flex: 1;
  min-height: 0;
  padding: 1vw;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

  .personPhoto .photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 15px;
  }


/* İsim */

.personName {
  display: block;
  padding: 1vh 0.5vw;
  text-align: center;
  font-size: clamp(14px, 1.2vw, 25px);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}


/* =========================================================
   BUGÜN DOĞANLAR
========================================================= */

#ltrDoganlar {
  flex: 1;
  min-height: 0;
  padding: 0.8vw;
  overflow: hidden;
}


/* Literal'ın oluşturduğu içeriklerde kullanılacak */

.doganItem {
  width: 100%;
  padding: 0.7vh 0.5vw;
  font-size: clamp(12px, 0.9vw, 19px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}


/* =========================================================
   ORTA PANEL
========================================================= */

.centerPanel {
  height: 100%;
}


/* =========================================================
   SLIDER
========================================================= */

.slider {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  background: #000000;
  border-radius: clamp(12px, 1vw, 24px);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}


#slider {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}


  #slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: opacity 0.5s ease;
  }


/* =========================================================
   DUYURU
========================================================= */

.duyuru {
  height: 22%;
  min-height: 0;
  flex-shrink: 0;
}


  /* Duyuru metni */

  .duyuru > div:not(.cardHeader) {
    flex: 1;
    min-height: 0;
    padding: 1vw;
    overflow: hidden;
    font-size: clamp(13px, 1vw, 21px);
    line-height: 1.5;
  }


/* =========================================================
   SAĞ PANEL
========================================================= */

/* Raporlu */

.rightPanel > .card:first-child {
  height: 50%;
  min-height: 0;
  flex-shrink: 0;
}


/* Yemek */

.rightPanel > .card:last-child {
  height: 50%;
  min-height: 0;
  flex-shrink: 0;
}


/* =========================================================
   SAĞ PANEL İÇERİKLERİ
========================================================= */

.rightPanel .card > div:not(.cardHeader) {
  flex: 1;
  min-height: 0;
  padding: 0.8vw;
  overflow: hidden;
  font-size: clamp(12px, 0.9vw, 19px);
  line-height: 1.5;
}


/* Raporlu öğretmen satırı */

.raporItem {
  padding: 0.6vh 0.4vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}


/* Yemek satırı */

.yemekItem {
  display: flex;
  align-items: center;
  padding: 0.7vh 0.4vw;
  font-size: clamp(12px, 0.9vw, 19px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
  height: 8vh;
  min-height: 50px;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 2fr;
  align-items: center;
  gap: 1vw;
  padding: 0 1.5vw;
  background: #111827;
  border-top: 1px solid rgba(255,255,255,0.08);
}


.footerItem {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5vw;
  color: #9ca3af;
  font-size: clamp(10px, 0.8vw, 17px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


  .footerItem i {
    font-size: clamp(12px, 1vw, 20px);
  }

.footerItem {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  font-size: clamp(11px, 0.8vw, 16px) !important;
}

  .footerItem i {
    font-size: 15px !important;
    color: #38bdf8 !important;
  }

  .footerItem:hover i {
    color: #818cf8 !important;
    transition: .25s ease;
  }


/* =========================================================
   KÜÇÜK EKRANLAR
========================================================= */

@media (max-width: 1100px) {

  .content {
    grid-template-columns: 24% 52% 24%;
    gap: 0.7vw;
    padding: 0.7vw;
  }

  .header {
    grid-template-columns: 14% 1fr 20%;
  }

  .cardHeader {
    font-size: clamp(11px, 1vw, 17px);
  }
}


/* =========================================================
   DİKEY / DAR EKRAN
========================================================= */

@media (max-width: 800px) {

  html,
  body {
    overflow: auto;
  }

  .page {
    height: auto;
    min-height: 100vh;
  }

  .header {
    height: auto;
    min-height: 100px;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 15px;
  }

  .logo {
    height: 70px;
  }

  .clock {
    text-align: center;
    padding: 0;
  }

  .content {
    height: auto;
    grid-template-columns: 1fr;
    overflow: visible;
    padding: 15px;
  }

  .leftPanel,
  .centerPanel,
  .rightPanel {
    height: auto;
    overflow: visible;
  }

    .leftPanel > .card:first-child,
    .leftPanel > .card:last-child,
    .rightPanel > .card:first-child,
    .rightPanel > .card:last-child {
      height: 350px;
    }

  .slider {
    height: 400px;
    flex: none;
  }

  .duyuru {
    height: 250px;
  }

  .footer {
    height: auto;
    grid-template-columns: 1fr 1fr;
    padding: 15px;
  }
}


.duyuruText {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(10px, 1vw, 22px);
  font-size: clamp(13px, 1vw, 21px);
  line-height: 1.5;
  color: #f1f5f9;
  overflow: hidden;
  word-break: break-word;
}

.bosDuyuru {
  color: #64748b;
  font-size: clamp(12px, 0.85vw, 17px);
}










/* =========================================================
   SON DÜZENLEMELER
   Mevcut CSS'in üzerine uygulanır
========================================================= */


/* =========================
   LOGO
========================= */

.logo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5vh 0.5vw;
  overflow: hidden;
}

  .logo img {
    width: auto;
    height: clamp(55px, 8vh, 105px);
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    display: block;
  }


/* =========================
   KART BAŞLIKLARI
========================= */

.cardHeader {
  position: relative;
  min-height: clamp(42px, 5.5vh, 70px);
  padding: clamp(6px, 0.7vh, 12px) clamp(10px, 0.9vw, 18px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(8px, 0.6vw, 14px);
  background: linear-gradient( 135deg, #1e293b 0%, #172033 55%, #111827 100% );
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #f8fafc;
  font-size: clamp(12px, 0.9vw, 20px);
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  flex-shrink: 0;
  overflow: hidden;
}


  /* Üst renk çizgisi */

  .cardHeader::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient( 90deg, #38bdf8, #6366f1, #a855f7 );
  }


  /* Sol taraftaki ikon kutusu */

  .cardHeader i {
    width: clamp(30px, 2.3vw, 44px);
    height: clamp(30px, 2.3vw, 44px);
    min-width: clamp(30px, 2.3vw, 44px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: clamp(8px, 0.7vw, 14px);
    background: linear-gradient( 135deg, rgba(56,189,248,0.18), rgba(99,102,241,0.18) );
    border: 1px solid rgba(56,189,248,0.20);
    color: #38bdf8;
    font-size: clamp(13px, 1vw, 21px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform .25s ease, background .25s ease;
  }

.card:hover .cardHeader i {
  transform: scale(1.08);
  background: linear-gradient( 135deg, rgba(56,189,248,0.28), rgba(99,102,241,0.28) );
}


/* =========================
   DUYURU KARTI
========================= */

.duyuru {
  height: 22% !important;
  min-height: 0 !important;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}


/* Literal'ın oluşturduğu duyuru */

.duyuruText {
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(8px, 1vw, 20px);
  color: #f8fafc;
  font-size: clamp(13px, 1vw, 21px);
  font-weight: 400;
  line-height: 1.5;
  overflow: hidden;
  word-break: break-word;
}


/* =========================
   DUYURU BOŞSA
========================= */

.bosDuyuru {
  color: #64748b;
  font-size: clamp(12px, 0.85vw, 17px);
}


/* =========================
   SLIDER
========================= */

.centerPanel {
  min-width: 0;
  min-height: 0;
}

.slider {
  width: 100%;
  height: auto;
  flex: 1 1 0;
  min-height: 0;
  background: #000;
  border-radius: clamp(12px, 1vw, 24px);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#slider {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

  #slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }


/* =========================
   SOL KARTLAR
========================= */

.leftPanel > .card:first-child {
  height: 56% !important;
  min-height: 0 !important;
  flex-shrink: 0;
}

.leftPanel > .card:last-child {
  height: 44% !important;
  min-height: 0 !important;
  flex-shrink: 0;
}


/* =========================
   SAĞ KARTLAR
========================= */

.rightPanel > .card:first-child {
  height: 50% !important;
  min-height: 0 !important;
  flex-shrink: 0;
}

.rightPanel > .card:last-child {
  height: 50% !important;
  min-height: 0 !important;
  flex-shrink: 0;
}


/* =========================
   MÜDÜR FOTOĞRAFI
========================= */

.personPhoto {
  flex: 1;
  min-height: 0;
  padding: clamp(6px, 0.7vw, 14px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

  .personPhoto .photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: clamp(8px, 0.8vw, 16px);
  }


/* =========================
   PERSONEL ADI
========================= */

.personName {
  width: 100%;
  padding: clamp(6px, 0.7vh, 12px) 0.5vw;
  text-align: center;
  font-size: clamp(13px, 1.1vw, 24px);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}


/* =========================
   BUGÜN DOĞANLAR
========================= */

#ltrDoganlar {
  width: 100%;
  flex: 1;
  min-height: 0;
  padding: clamp(5px, 0.6vw, 12px);
  overflow: hidden;
}


/* =========================
   SAĞ İÇERİKLER
========================= */

.rightPanel .card > div:not(.cardHeader) {
  flex: 1;
  min-height: 0;
  padding: clamp(6px, 0.7vw, 14px);
  overflow: hidden;
  font-size: clamp(12px, 0.9vw, 19px);
  line-height: 1.45;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1400px) {

  .header {
    grid-template-columns: 14% 1fr 19%;
  }

  .cardHeader {
    font-size: clamp(11px, 0.95vw, 17px);
  }

  .logo img {
    height: clamp(50px, 7vh, 85px);
  }
}


/* 1920x1080 ve üzeri */

@media (min-width: 1800px) {

  .cardHeader {
    min-height: 65px;
    font-size: 18px;
  }

  .logo img {
    height: 90px;
  }

  .personName {
    font-size: 22px;
  }
}


/* =========================================
   KAYAN LİSTELER
========================================= */

.scrollArea {
  flex: 1;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 0.5vw 0;
}

.scrollContent {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  will-change: transform;
}


  /* Liste satırları */

  .scrollContent .doganItem,
  .scrollContent .raporItem {
    flex-shrink: 0;
    width: 100%;
    padding: clamp(6px, 0.6vh, 11px) clamp(8px, 0.7vw, 14px);
    font-size: clamp(12px, 0.9vw, 19px);
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }



/* =========================================
   KAYAN LİSTE
========================================= */

.scrollArea {
  flex: 1;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.scrollContent {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  will-change: transform;
}


/* RAPORLU */

.raporItem {
  width: 100%;
  min-height: clamp(32px, 4vh, 52px);
  padding: clamp(5px, 0.6vh, 10px) clamp(8px, 0.7vw, 14px);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(12px, 0.9vw, 19px);
  line-height: 1.3;
  white-space: nowrap;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.raporIcon {
  flex-shrink: 0;
  font-size: clamp(14px, 1vw, 20px);
}


/* DOĞUM GÜNÜ */

.doganItem {
  width: 100%;
  min-height: clamp(32px, 4vh, 52px);
  padding: clamp(5px, 0.6vh, 10px) clamp(8px, 0.7vw, 14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: clamp(12px, 0.9vw, 19px);
  line-height: 1.3;
  white-space: nowrap;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.doganAd {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doganMeslek {
  color: #94a3b8;
  font-size: 0.9em;
  flex-shrink: 0;
}


/* BOŞ MESAJ */

.bosItem {
  justify-content: center;
  color: #94a3b8;
  border: none;
}


/* ========================================================
   HAVA DURUMU
======================================================== */

.weatherBox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(5px, 0.45vw, 10px);
  white-space: nowrap;
  overflow: hidden;
}

  .weatherBox i {
    font-size: clamp(14px, 1vw, 22px);
    color: #38bdf8;
  }

#weatherTemp {
  font-weight: 600;
  font-size: clamp(13px, 0.95vw, 20px);
}

#weatherText {
  color: #94a3b8;
  font-size: clamp(10px, 0.72vw, 16px);
  overflow: hidden;
  text-overflow: ellipsis;
}


/* Küçük ekran */

@media (max-width: 1100px) {

  #weatherText {
    display: none;
  }
}



/* ========================================================
   DUYURU SLIDER
======================================================== */

.duyuruSlider {
  flex: 1;
  min-height: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}


.duyuruItem {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: clamp(8px, 1vw, 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 0.8vw, 16px);
  text-align: center;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .6s ease, transform .6s ease;
  box-sizing: border-box;
}


  .duyuruItem.aktif {
    opacity: 1;
    transform: translateX(0);
  }


  .duyuruItem > i {
    flex-shrink: 0;
    width: clamp(30px, 2.2vw, 45px);
    height: clamp(30px, 2.2vw, 45px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(56,189,248,0.12);
    color: #38bdf8;
    font-size: clamp(14px, 1vw, 21px);
  }


.duyuruMetin {
  max-width: 90%;
  color: #f8fafc;
  font-size: clamp(12px, 0.95vw, 20px);
  line-height: 1.5;
  font-weight: 500;
  overflow: hidden;
}


.bosDuyuru {
  opacity: 1;
  transform: translateX(0);
}


/* Küçük ekranlarda ikon küçülsün */

@media (max-width: 1100px) {

  .duyuruItem > i {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .duyuruMetin {
    font-size: 13px;
  }
}



/* =====================================================
   MODERN DUYURU TASARIMI
===================================================== */

.duyuruSlider {
  position: relative;
  overflow: hidden;
}


/* ANA DUYURU */

.duyuruItem {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: clamp(12px, 1.2vw, 25px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 1vw, 22px);
  border-radius: 18px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .6s ease, transform .6s ease;
}


  /* AKTİF */

  .duyuruItem.aktif {
    opacity: 1;
    transform: translateX(0);
  }


/* =====================================================
   İKON
===================================================== */

.duyuruIcon {
  width: clamp(42px, 3vw, 65px);
  height: clamp(42px, 3vw, 65px);
  min-width: clamp(42px, 3vw, 65px);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(18px, 1.3vw, 28px);
  box-shadow: 0 8px 25px rgba(0,0,0,.25);
}


/* =====================================================
   METİN
===================================================== */

.duyuruMetin {
  flex: 1;
  color: #f8fafc;
  font-size: clamp(13px, 0.95vw, 21px);
  line-height: 1.5;
  font-weight: 500;
  overflow: hidden;
}


/* =====================================================
   MAVİ
===================================================== */

.duyuruMavi {
  border-left: 4px solid #38bdf8;
}

  .duyuruMavi .duyuruIcon {
    background: rgba(56,189,248,.15);
    color: #38bdf8;
  }


/* =====================================================
   MOR
===================================================== */

.duyuruMor {
  border-left: 4px solid #a78bfa;
}

  .duyuruMor .duyuruIcon {
    background: rgba(167,139,250,.15);
    color: #a78bfa;
  }


/* =====================================================
   TURUNCU
===================================================== */

.duyuruTuruncu {
  border-left: 4px solid #fb923c;
}

  .duyuruTuruncu .duyuruIcon {
    background: rgba(251,146,60,.15);
    color: #fb923c;
  }


/* =====================================================
   YEŞİL
===================================================== */

.duyuruYesil {
  border-left: 4px solid #4ade80;
}

  .duyuruYesil .duyuruIcon {
    background: rgba(74,222,128,.15);
    color: #4ade80;
  }


/* =====================================================
   PEMBE
===================================================== */

.duyuruPembe {
  border-left: 4px solid #f472b6;
}

  .duyuruPembe .duyuruIcon {
    background: rgba(244,114,182,.15);
    color: #f472b6;
  }


/* =====================================================
   BOŞ DUYURU
===================================================== */

.bosDuyuru {
  opacity: 1;
  transform: translateX(0);
  border-left: 4px solid #64748b;
}

  .bosDuyuru .duyuruIcon {
    background: rgba(100,116,139,.15);
    color: #94a3b8;
  }


/* =====================================================
   KÜÇÜK EKRAN
===================================================== */

@media (max-width: 1100px) {

  .duyuruItem {
    gap: 10px;
    padding: 10px;
  }

  .duyuruIcon {
    width: 38px;
    min-width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 16px;
  }

  .duyuruMetin {
    font-size: 13px;
  }
}


/* =====================================================
   YEMEK MENÜSÜ
===================================================== */

.yemekHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}


.yemekBaslik {
  display: flex;
  align-items: center;
  gap: 10px;
}


  .yemekBaslik i {
    font-size: clamp(15px, 1.1vw, 24px);
  }


.yemekTarih {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: #94a3b8;
  font-size: clamp(9px, .65vw, 14px);
  font-weight: 500;
  white-space: nowrap;
}


  .yemekTarih i {
    color: #38bdf8;
  }


@media (max-width: 1100px) {

  .yemekHeader {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .yemekTarih {
    font-size: 10px;
    padding: 3px 7px;
  }
}


/* =========================================================
   MODERN NÖBETÇİ MÜDÜR YARDIMCISI
   ========================================================= */

.leftPanel .card:first-child {
  position: relative;
  overflow: hidden;
}

  .leftPanel .card:first-child::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #06b6d4);
  }

.leftPanel .personPhoto {
  width: 145px !important;
  height: 175px !important;
  margin: 22px auto 14px !important;
  padding: 4px !important;
  border-radius: 22px !important;
  background: linear-gradient( 135deg, #ffffff, #e8edf7 ) !important;
  box-shadow: 0 12px 30px rgba(30, 41, 59, .18) !important;
  overflow: hidden !important;
}

  .leftPanel .personPhoto .photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 18px !important;
    display: block !important;
  }

.leftPanel .personName {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  margin: 4px 0 20px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #172033 !important;
}


/* BUGÜN NÖBETÇİ etiketi */

.leftPanel .personPhoto::after {
  content: "BUGÜN NÖBETÇİ";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 8px;
  background: #172033;
  color: white;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 10px;
  border-radius: 20px;
  white-space: nowrap;
}


/* =========================================================
   DUYURU ALANI
   ========================================================= */

.duyuru {
  overflow: hidden !important;
  position: relative !important;
}

  .duyuru .cardHeader {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 13px 18px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: .7px !important;
  }


  /* Duyuru listesinin tamamı */

  .duyuru #duyurularArea,
  .duyuru .scrollArea {
    height: 110px !important;
    margin: 5px 12px 12px !important;
    overflow: hidden !important;
    border-radius: 15px !important;
  }


  /* Kayan içerik */

  .duyuru .scrollContent {
    width: 100% !important;
    will-change: transform;
    padding: 2px 0;
  }


  /* DUYURU KARTI */

  .duyuru .item {
    display: flex !important;
    align-items: center !important;
    min-height: 46px !important;
    margin: 6px 4px !important;
    padding: 9px 13px !important;
    box-sizing: border-box !important;
    border-radius: 13px !important;
    background: #ffffff !important;
    border: 1px solid #e8edf5 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .06) !important;
    color: #1e293b !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
  }


    /* Megafon ikonu */

    .duyuru .item::before {
      content: "\f0a1";
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      flex-shrink: 0;
      width: 30px;
      height: 30px;
      margin-right: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 9px;
      background: #eef2ff;
      color: #4f46e5;
      font-size: 12px;
    }


  /* =========================================================
   DUYURU ÜST / ALT YUMUŞAK GEÇİŞ
   ========================================================= */

  .duyuru .scrollArea,
  .duyuru #duyurularArea {
    position: relative;
  }

    .duyuru .scrollArea::before,
    .duyuru .scrollArea::after,
    .duyuru #duyurularArea::before,
    .duyuru #duyurularArea::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      height: 20px;
      z-index: 10;
      pointer-events: none;
    }

    .duyuru .scrollArea::before,
    .duyuru #duyurularArea::before {
      top: 0;
      background: linear-gradient( to bottom, rgba(255,255,255,.95), rgba(255,255,255,0) );
    }

    .duyuru .scrollArea::after,
    .duyuru #duyurularArea::after {
      bottom: 0;
      background: linear-gradient( to top, rgba(255,255,255,.95), rgba(255,255,255,0) );
    }


/* =========================================
   MODERN DUYURULAR
   ========================================= */

.duyuru {
  position: relative;
  overflow: hidden;
  padding-bottom: 0 !important;
}


  /* Duyuru başlığı */

  .duyuru .cardHeader {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .8px;
  }


  /* Duyuru kayan alan */

  #duyurularArea,
  .duyuru .scrollArea {
    position: relative;
    overflow: hidden;
    height: 115px;
    margin: 0 12px 12px;
    border-radius: 16px;
    background: rgba(255,255,255,.65);
  }


    /* Kayan içerik */

    #duyurularArea .scrollContent,
    .duyuru .scrollContent {
      width: 100%;
      will-change: transform;
    }


  /* Tek duyuru */

  .duyuru .item {
    display: flex;
    align-items: center;
    min-height: 48px;
    margin: 6px 8px;
    padding: 10px 15px;
    border-radius: 13px;
    background: linear-gradient( 135deg, rgba(255,255,255,.95), rgba(245,248,252,.95) );
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 5px 15px rgba(0,0,0,.06);
    color: #202b3c;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    transition: all .25s ease;
  }


    /* Duyuru ikonu */

    .duyuru .item::before {
      content: "\f0a1";
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      width: 32px;
      height: 32px;
      min-width: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 11px;
      border-radius: 10px;
      background: #eef3ff;
      color: #4169e1;
      font-size: 13px;
    }


    /* Hover */

    .duyuru .item:hover {
      transform: translateX(4px);
      box-shadow: 0 8px 20px rgba(0,0,0,.10);
    }


  /* Yukarı-aşağı fade efekti */

  .duyuru .scrollArea::before,
  .duyuru .scrollArea::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 18px;
    z-index: 3;
    pointer-events: none;
  }

  .duyuru .scrollArea::before {
    top: 0;
    background: linear-gradient( to bottom, rgba(255,255,255,.95), rgba(255,255,255,0) );
  }

  .duyuru .scrollArea::after {
    bottom: 0;
    background: linear-gradient( to top, rgba(255,255,255,.95), rgba(255,255,255,0) );
  }

/* =========================================
   NÖBETÇİ MÜDÜR YARDIMCISI - SON TASARIM
   ========================================= */

.leftPanel .card:first-child .personPhoto {
  width: 205px !important;
  height: 260px !important;
  margin: 22px auto 12px !important;
  padding: 5px !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18) !important;
  overflow: hidden !important;
}

  .leftPanel .card:first-child .personPhoto .photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 19px !important;
    display: block !important;
  }


/* İSİM ALANI */

.leftPanel .card:first-child .personName {
  display: block !important;
  width: auto !important;
  margin: 8px 15px 18px !important;
  padding: 0 !important;
  text-align: center !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  color: #172033 !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: .2px !important;
}


  /* Alt açıklama */

  .leftPanel .card:first-child .personName::after {
    content: "NÖBETÇİ MÜDÜR YARDIMCISI";
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
  }
/* =========================================
   NÖBETÇİ KARTI - ÇAKIŞMA DÜZELTME
   ========================================= */

/* Fotoğraf üzerindeki BUGÜN NÖBETÇİ yazısını kaldır */
.leftPanel .card:first-child .personPhoto::after {
  display: none !important;
}


/* İsim alanını sadeleştir */
.leftPanel .card:first-child .personName {
  display: block !important;
  width: 100% !important;
  margin: 12px auto 20px !important;
  padding: 0 !important;
  text-align: center !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  color: #172033 !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}


  /* Alt görev yazısı */
  .leftPanel .card:first-child .personName::after {
    content: "BUGÜN NÖBETÇİ";
    display: block !important;
    margin-top: 5px !important;
    color: #64748b !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 1.2px !important;
  }
/* =========================================
   İSİM - DAHA BELİRGİN
   ========================================= */

.leftPanel .card:first-child .personName {
  color: #0f172a !important;
  font-size: 23px !important;
  font-weight: 800 !important;
  text-align: center !important;
  margin: 12px auto 18px !important;
  padding: 7px 12px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border-radius: 10px !important;
  text-shadow: none !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08) !important;
}


  /* BUGÜN NÖBETÇİ */

  .leftPanel .card:first-child .personName::after {
    content: "BUGÜN NÖBETÇİ";
    display: block !important;
    margin-top: 5px !important;
    color: #2563eb !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 1.3px !important;
  }
/* =========================================
   NÖBETÇİ İSMİ - SADE TASARIM
   ========================================= */

.leftPanel .card:first-child .personName {
  display: block !important;
  width: 100% !important;
  margin: 12px auto 20px !important;
  padding: 0 !important;
  text-align: center !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #2563eb !important;
  font-size: 23px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  letter-spacing: .2px !important;
}


  /* Altındaki yazıyı tamamen kaldır */

  .leftPanel .card:first-child .personName::after {
    content: none !important;
    display: none !important;
  }


/* =========================================
   YEMEK MENÜSÜ - SADE / KURUMSAL
   ========================================= */

.rightPanel .card:last-child .item {
  display: flex !important;
  align-items: center !important;
  margin: 2px 0 !important;
  padding: 5px 4px !important;
  min-height: 38px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #05aafb !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}


  /* Tek ve modern yemek ikonu */

  .rightPanel .card:last-child .item::before {
    content: "\f2e7";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    margin-right: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    color: #475569 !important;
    font-size: 17px !important;
    box-shadow: none !important;
  }


  /* Hover efekti yok - pano için daha temiz */

  .rightPanel .card:last-child .item:hover {
    transform: none !important;
    background: transparent !important;
    box-shadow: none !important;
  }


/* =========================================================
   DUYURU - ANA PANO TEMASINA UYUMLU
   ========================================================= */

.centerPanel .duyuru {
  background: #111827 !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
}


/* Duyuru içerik alanı */

.centerPanel .duyuruText {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
  padding: 12px 20px !important;
  font-size: clamp(14px, 1vw, 20px) !important;
  line-height: 1.5 !important;
  color: #e2e8f0 !important;
  background: linear-gradient( 90deg, rgba(30, 41, 59, 0.45), rgba(17, 24, 39, 0.2) ) !important;
  border-top: 1px solid rgba(255,255,255,0.025) !important;
  overflow: hidden !important;
  position: relative;
}


  /* Sol taraftaki modern vurgu çizgisi */

  .centerPanel .duyuruText::before {
    content: "";
    width: 4px;
    height: 55%;
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 10px;
    background: linear-gradient( 180deg, #38bdf8, #6366f1 );
  }


/* Duyuru yazısı */

.centerPanel .duyuruText {
  font-weight: 500;
  letter-spacing: 0.1px;
}


/* Boş duyuru */

.centerPanel .bosDuyuru {
  color: #64748b !important;
  background: transparent !important;
  font-size: clamp(12px, 0.85vw, 17px) !important;
}


/* Başlık biraz daha güçlü */

.centerPanel .duyuru .cardHeader {
  background: linear-gradient( 135deg, #182235, #111827 ) !important;
  color: #f8fafc !important;
}


  /* Başlıktaki ikon */

  .centerPanel .duyuru .cardHeader i {
    background: rgba(56,189,248,0.12) !important;
    color: #38bdf8 !important;
  }


/* =====================================================
   DUYURU - BAŞLIKSIZ KOMPAKT ALAN
   ===================================================== */

.duyuruSade {
    width: 100%;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: hidden;
}

    .duyuruSade .duyuruSlider {
        width: 100%;
        min-height: 52px;
        display: flex;
        align-items: center;
        overflow: hidden;
    }


/* =====================================================
   ORTA PANEL - SLAYTA KALAN ALANI VER
   ===================================================== */

.centerPanel {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

    .centerPanel .slider {
        flex: 1;
        min-height: 0;
    }

.duyuruSade {
    flex: 0 0 auto;
}