/* Genel Stil Reset */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a2e; /* Koyu arka plan */
    color: #e0e0e0; /* Açık metin rengi */
    overflow: hidden; 
}

.pano-container {
    display: flex;
    height: 100vh; /* Ekran yüksekliğini kapla */
    overflow: hidden;
}

/* Sol Sütun (GENİŞLETİLDİ: %17) */
.left-sidebar {

    width: 20%; /* Genişlik ayarı: %17 */
    background-color: #2b2b40; 
    padding: 5px 5px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center; /* Yatayda ortalar */
    border-right: 2px solid #3e4a61;
    overflow-y: auto; 
    height: auto;
}

/* Okul Logo ve Başlık Alanı */
.school-logo img {

    height: 100px; /* LOGO YÜKSEKLİĞİ: Bu değeri deneyerek istediğiniz boyuta ulaşabilirsiniz */
    width: auto;
    
    /* Dikey ortalamanın bozulmaması için bu stilin sabit kalması önemli: */
    margin: 0; 
    flex-shrink: 0;
}

/* Dikkat: Logo büyüdüğü için, kapsayıcı olan .school-logo'nun yüksekliğini ayarlamak GEREKEBİLİR. */
/* Eğer ortalama bozulursa aşağıdaki ayarı kontrol edin: */
.school-logo {
    display: flex;
    align-items: center; /* Dikey olarak ortalamayı korur */
    /* height: 140px; Eğer önceki dikey ortalama bozulursa bu değeri ayarlayabilirsiniz */
    /* ... diğer stiller ... */
}

/* OKUL BAŞLIĞINI DA DİKKATE ALMALIYIZ */
.school-logo h1 {
    font-size: 1.5em; 
    
    /* KRİTİK DEĞİŞİKLİK 1: Tüm marjinleri sıfırla (varsayılanı engelle) */
    margin: 0 !important; 
    
    /* KRİTİK DEĞİŞİKLİK 2: Logodan sonraki boşluğu kaldır (Sola kaymayı engeller) */
    /* margin-left: 10px; <<< BU SATIRI KALDIRIN! */
    
    /* KRİTİK DEĞİŞİKLİK 3: Metni ortala */
    text-align: center; 
    
    line-height: 1.2; 
    
    /* Başlığın logodan sonra bir satır aşağı kayması için */
    display: block; 
    width: 100%;
    margin-top: 5px; /* Logodan sonra biraz boşluk bırak */
}
/* Sol Sütun Widget'ları */
.left-widget {
    background-color: #3e4a61; 
    padding: 1px; 
    margin-bottom: 5px; 
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    height: auto;
}
.left-widget h3 {
    margin-top: 0;
    color: #60a5fa; /* Mavi renkle başlıkları ayırdık */
    border-bottom: 1px solid #60a5fa;
    padding-bottom: 5px;
    margin-bottom: 10px;
    font-size: 1.5em; /* Başlık boyutunu biraz artırdık */
}


/* SAAT VE TARİH STİLİ (BÜYÜK) */
.left-widget .date {
    
    font-size: 2em; /* Tarihi büyüttük */
    font-weight: bold; 
    color: #fca311; /* Turuncu renkle dikkat çekici yaptık */
    margin: 1px 0;
}
.left-widget .time {
    font-size: 2em; /* Saati çok büyük yaptık */
    font-weight: bold;
    color: #e0e0e0; 
    margin: 1px 0;
}

.time-widget {
    /* Üst marjini artırarak okul adından uzaklaştırıyoruz. */
    margin-top: 4px; 
    
    /* Gerekirse diğer widget'larla olan alt marjini kontrol edin */
    margin-bottom: 8px;
}
/* Hava Durumu Metinleri */
.weather-info p {
    margin: 5px 0;
    font-size: 0.9em;
}
.weather-info .temp {
    font-size: 1.5em;
    font-weight: bold;
    color: #60a5fa;
}

/* Orta Bölüm (KÜÇÜLTÜLDÜ: %58) */
.main-content-area {
    width: 58%; /* Genişlik ayarı: %58 */
    display: flex;
    flex-direction: column;
    padding: 10px;
    box-sizing: border-box;
}
.main-announcement {
    background-color: #2b2b40;
    padding: 30px; 
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    flex: 4; 
    display: flex; 
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    text-align: center;
}
.main-announcement h2 {
    color: #fca311;
    font-size: 3em; 
    margin-bottom: 20px;
}
.main-announcement h3 {
    font-size: 2em;
}
.main-announcement p {
    font-size: 1.8em; 
    line-height: 1.6;
}
/* ================================================================= */
/* RESİMLİ DUYURU MANŞETİ STİLLERİ (TEMİZ VE KRİTİK CSS) */
/* ================================================================= */

.duyuru-manset-ana-card {
    position: relative;
    width: 100%;
    height: 65vh; /* Dilersen 500px yapabilirsin */
    overflow: hidden;
    border: 3px solid #3e4a61;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    background: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Manşet alanı */
#manset-gosterim-ana-alani {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    line-height: 0; /* <img> alt boşluğunu kesin kaldırır */
}

/* Görseller */
#manset-gosterim-ana-alani img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    margin: 0;
    padding: 0;
    display: block;
}

/* Geçiş efekti (slayt için) */
#manset-gosterim-ana-alani img {
    transition: opacity 1s ease;
    opacity: 0;
}
#manset-gosterim-ana-alani img.active {
    opacity: 1;
}

/* Placeholder varsa görünmez olsun */
.manset-placeholder-ana {
    display: none !important;
}

.video-area {
    background-color: #1a1a2e;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 2; 
    overflow: hidden;
}
.video-area iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Sağ Sütun (%25 - AYNI KALDI) */
.right-sidebar {
    width: 25%; /* Genişlik ayarı: %25 */
    background-color: #2b2b40;
   padding: 5px 5px;
    box-sizing: border-box;
    border-left: 2px solid #3e4a61;
    display: flex;
    flex-direction: column;
    overflow-y: auto; 
}
.right-widget {
    background-color: #3e4a61;
    padding: 15px;
    margin-bottom: 5px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.right-widget {
    background-color: #3e4a61;
    
    /* KRİTİK DÜZELTME: Padding-Top'ı azaltıyoruz. */
    /* İlk değer dikey padding'dir (Üstten/Alttan). Örneğin 15px 15px yerine: */
    padding: 2px 10px 10px 10px; /* Üstten 8px, Diğerleri 15px */
    
    margin-bottom: 5px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 0 !important;
}
.right-widget h3 {
margin-top: 0;
    color: #60a5fa; 
    border-bottom: 1px solid #60a5fa;
    padding-bottom: 5px;
    
    /* KRİTİK DEĞİŞİKLİK: Başlık altındaki boşluğu azaltıyoruz (10px'ten 5px'e) */
    margin-bottom: 1px;
    font-size: 1.5em;
}
.left-widget p, .left-widget .card {
    margin-top: 0 !important;
}

/* Nöbetçi Öğretmenler Tablosu */
.nobetci-table {
    width: 100%;
    border-collapse: collapse;
    
    /* KRİTİK DEĞİŞİKLİK: Üst marjini 10px'ten 3px'e düşürdük. */
    margin-top: -5px; 
    
    font-size: 2em;
}
.nobetci-table th, .nobetci-table td {
    
    border: 1px solid #4a5d7c;
    padding: 3px;
    text-align: left;
}
.nobetci-table th {
    
    background-color: #1a1a2e;
    color: #fca311;
    font-weight: normal;
}
.nobetci-table td {
    
    color: #e0e0e0;
    font-size: 0.7em;
}

.nobetci-widget h3 {
    /* 1. Üst Marjin ve Padding'i tamamen sıfırla */
    margin-top: 0 !important; 
    padding-top: 0 !important; /* KRİTİK: Üstteki dolguyu sıfırla */
     font-size: 1.8em;
    /* 2. Renk ve Çizgi Stilleri */
    color: #fca311; 
    border-bottom: 1px solid #fca311;
    
    /* 3. Başlık ile Tablo Arasındaki Boşluğu Artır (Estetik için 5px'ten 10px'e) */
    padding-bottom: 5px; /* Başlık metni altındaki dolgu */
    margin-bottom: 10px; /* Başlık altındaki dış boşluk */
    
    text-align: center;
}
/* Doğum Günü ve YKS Sayacı */
.birthday-alert {
    background-color: #ffcc00; /* Sarı renk */
    color: #8b6b00;
    border-radius: 8px;
    
    /* YAZILARI KARTIN ORTASINDA TUTMAK İÇİN */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Öğeleri dikeyde ortalar */
    align-items: center; /* Öğeleri yatayda ortalar */
    
    /* KRİTİK AYAR: İç boşluğu küçült */
    /* Önceki hali: padding: 20px; gibi bir değer olabilir. */
    /* Yeni hali (Küçültülmüş): */
    padding: 1px; /* Dikey boşluğu (üst ve alt) azalt */
    
    margin-bottom: 5px; /* Kartın altındaki dış boşluk (değiştirmenize gerek yok) */
    text-align: center;
    font-size: 0.8em;
    
}
.birthday-alert h3 {
    font-size: 1.6em; 
margin: 0 !important; 
    padding: 0 !important;
    margin-bottom: 5px !important;
}

/* Ayrıca H3 ve P etiketlerindeki varsayılan boşlukları da kontrol edelim: */

.birthday-alert p {
    margin: 1px 0; /* H3 ve P etiketlerinin üst ve altındaki gereksiz boşlukları azaltın */
    font-size: 2em; /* Öğrenci adını en büyük yap */
    font-weight: bold;
    color: #8b6b00;
    
    
}
.yks-countdown {
    background-color: #0056b3; /* Koyu mavi */
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    font-size: 0.8em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.countdown-numbers {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}
.countdown-numbers div {
    background-color: #003366; /* Daha koyu mavi */
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.8em; /* Rakamları biraz küçült */
    min-width: 50px;
}

/* TRT Haber Çubuğu */
/* TRT Haber Alanı - Düzeltildi */
.trt-haber {
    background-color: #00adb5 !important;
    color: white !important;
    padding: 5px; /* Çok dar, dikey hizalama için sorun çıkarabilir */
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden; 
    padding-bottom: 8px !important;
}

/* Başlık - Düzeltildi */
.trt-haber h3 {
   color: white !important; /* Metin rengi */
    border-bottom: 1px solid #00adb5;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    padding-top: 0;
    margin-top: 0;
    text-align: center;
    margin-bottom: 0px; /* Başlık ile kayan metin arasındaki boşluk */
    font-size: 1.5em;
    /* margin-top: 0 !important; zaten 0, gerek yok */
}

.duyuru-scroll-container {
    white-space: nowrap; 

    overflow: hidden;
    width: 100%;
    height: 2em;
    position: relative; 
}

.duyuru-scroll-content {
    display: inline-block;
    /* Metnin animasyonsuz hali: */
    animation: none;
    /* Metni başlangıçta sağa yaslayacağız (JS ile) */
    transform: translateX(0); 
    padding-right: 0; /* Boşluklara artık ihtiyacımız yok */
     font-size: 1.5em;
}
/* ================================================================= */
/* ================================================================= */
/* ================================================================= */
/* ================================================================= */
/* ORTAOKUL & LİSE PROGRAMI (NİHAİ ŞIK GÖRÜNÜM VE BELİRGİNLİK) */
/* ================================================================= */

/* Genel Kart Görünümü */
.live-program-card-small {
    /* Yüksekliği panonun genel tasarımına göre ayarlayın. 
       Bu değeri denemeniz gerekebilir (Örn: 380px yerine 400px deneyin). */
    height: auto;
    overflow: hidden; 
    border: none; /* Karttaki kenar çizgilerini kaldırarak beyazlığı sadeleştir */
    box-shadow: none; /* Gölgeyi kaldırarak daha bütünleşik bir görünüm sağla */
}

/* Başlıklar (Ortaokul/Lise) */
.program-header-small {
    /* Ortaokul için turuncu/sarı rengi zorla uygula */
     background-color: #27ae60 !important; 
    color: white !important; 
    font-weight: 800;
    padding: 5px;
}




.program-list-small {
    padding: 1px; /* Liste iç padding'ini koru */
}

/* Her Bir Ders Satırı */
.program-item-small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    /* Satırı daha belirgin yap */
    padding: 3px 1px; 
    border-bottom: 1px solid #ecf0f1;
    font-size: 1.2em; /* Fontu artır */
    line-height: 1.2;
    
    /* Her satırın arka planını değiştirerek daha belirgin yap */
    background-color: #ffffff;
}

/* OPTİMİZASYON: Her çift satıra hafif bir arka plan rengi */
.program-item-small:nth-child(even) {
    background-color: #f9f9f9; 
}


/* Sınıf Adı Stili (En Güçlü Vurgu) */
.program-item-small .sinif-adi-small {
    font-weight: 900; /* Daha kalın */
    color: #34495e; /* Koyu Mavi/Gri */
    flex-basis: 25%; 
    min-width: 25%;
    text-align: left;
    padding-right: 5px;
}

/* Ders Adı Stili (Belirgin) */
.program-item-small .ders-ogretmen-small {
    font-weight: 600;
    color: #2c3e50;
    flex-basis: 75%; /* Daha geniş alan */
    text-align: right; /* Öğretmen/Ders tek bir alanda sağa hizalı */
}
/* Lise Programı Başlığı İçin Renk (Sağ Sütun) */
.program-header-small.lise-header {
    background-color: #27ae60; /* Lise için Yeşil Vurgu */
}
/* ================================================================= */
/* DERS/TENEFFÜS SAYACI STİLLERİ (NİHAİ BOYUT) */
/* ================================================================= */

/* Kartın kendisi (Koyu ton ve uyumlu kenarlık) */
.countdown-card {
   
    color: #ecf0f1; 
    border: none;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 1px;
  
}
.countdown-card h3 { /* "6. DERS BÄ°TÄ°ÅÄ°NE" baÅŸlÄ±ÄŸÄ± */
    margin-bottom: 5px;
     font-size: 2em;/* BaÅŸlÄ±k ile sayaÃ§ arasÄ±ndaki boÅŸluÄŸu azalt */
    /* margin-top: 0; */
}

#ders-tenefus-display {
    /* Ä°Ã§erik dÃ¼zeni */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px;
   
}

.countdown-label {
    /* BaÅŸlÄ±k stili: Daha da bÃ¼yÃ¼k ve kalÄ±n */
    font-size: 2em; /* Ã–nemli bir baÅŸlÄ±k boyutuna yÃ¼kselttik */
    font-weight: 700; 
    color: #bdc3c7; 
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 1px;
    
}

.countdown-time {
    /* Geri sayÄ±m sÃ¼resi stili (HH:MM:SS) - EN BÃœYÃœK VE CANLI RAKAMLAR */
    font-family: 'Consolas', 'Courier New', monospace; 
    font-size: 2em; /* NÄ°HAÄ° BÃœYÃœKLÃœK */
    font-weight: 900; 
    color: #f1c40f; /* CANLI SARI */
    letter-spacing: 4px; /* Rakamlar arasÄ± boÅŸluk */
    line-height: 1;
  
}

/* OKUL Ã‡IKIÅI / TATÄ°L YazÄ±larÄ± iÃ§in dÃ¼zenleme (Saat yerine metin geldiÄŸinde) */
#ders-tenefus-display > .countdown-time:last-child:not(:first-child) {
    font-size: 2em; /* Metinler iÃ§in bÃ¼yÃ¼k boyut */
    font-weight: 700;
    color: #2ecc71; 
    
}


/* Admin Stilleri (Kısaca) */
.admin-nav ul { list-style: none; padding: 0; margin: 0; background-color: #343a40; overflow: hidden; }
.admin-nav li { float: left; }
.admin-nav li a { display: block; color: white; text-align: center; padding: 14px 16px; text-decoration: none; }
.admin-nav li a:hover { background-color: #007bff; }
.admin-content { padding: 20px; }
.form-group { margin-bottom: 15px; }
.btn-primary { background-color: #007bff; color: white; padding: 10px 15px; border: none; border-radius: 4px; cursor: pointer; }
.btn-danger { background-color: #dc3545; color: white; padding: 5px 10px; border: none; border-radius: 4px; cursor: pointer; text-decoration: none; display: inline-block; }
table { width: 100%; border-collapse: collapse; margin-top: 20px; }
th, td { border: 1px solid #ddd; padding: 8px; text-align: left; }
th { background-color: #f2f2f2; }
/*
 * *******************************************************
 * ADMIN PANELİ STİLLERİ (admin/dashboard.php, admin/duyurular.php vb. için)
 * *******************************************************
 */

/* Admin Navigasyonu (Menü) */
.admin-nav {
    background-color: #343a40; /* Koyu gri arka plan */
    margin-bottom: 20px;
}
.admin-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden; /* float:left kullanan öğeleri sarmalamak için */
}
.admin-nav li {
    float: left; /* Menü öğelerini yan yana dizer */
}
.admin-nav li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}
.admin-nav li a:hover {
    background-color: #007bff; /* Mavi vurgu */
}

/* Admin İçerik Alanı */
.admin-content {
    padding: 20px;
    color: #e0e0e0; /* Metin rengi */
    /* Gerekirse max-width ekleyebilirsiniz */
}

/* Admin Form ve Buton Stilleri */
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #555;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #444; /* Koyu arka planla uyumlu form */
    color: white;
}
.btn-primary {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.btn-danger {
    background-color: #dc3545;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

/* Admin Tablo Stilleri */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #3e4a61;
}
th, td {
    border: 1px solid #4a5d7c;
    padding: 10px;
    text-align: left;
    color: #e0e0e0;
}
th {
    background-color: #2b2b40;
    color: #fca311;
}
/* ================================================================= */
.card.live-program-card-small.mb-3 {
    width: 100%; /* Sütunun genişliğini tam kapla */
    border-radius: 0; /* Eğer köşeleri kesiyorsa, köşeleri sıfırla */
}

/* Ortaokul Başlığını Tam Genişliğe Çekme */
.program-header-small {
    /* Başlıkta yuvarlak köşeleri sadece üstte tut */
    border-radius: 0; 
    /* Eğer kartın kenarları yuvarlaksa, CSS'e göre bu başlığı kartın içine tam oturtmak gerekir */
    border-radius: 8px 8px 0 0 !important;
}
/* GÜNÜN HADİSİ KARTI STİLLERİ */
.gunun-hadisi-card {
    margin-top:-5px;
    background-color: #fff3e0; /* Çok açık turuncu/krem (Nazik vurgu) */
    border: 1px solid #ffcc80;
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 5px; /* Altındaki Namaz Vakitleri kartıyla boşluk bırakır */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 4px 4px;
}

.hadis-label {
    font-size: 1.5em;
    font-weight: 700;
    color: #e67e22; /* Koyu Turuncu (Vurgu) */
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px dashed #ffb74d;
    
}

.hadis-metni {
    font-size: 1.5em;
    font-style: italic; /* Alıntı/Hadis vurgusu için italik yap */
    font-weight: 500;
    color: #34495e; /* Koyu gri, okumayı kolaylaştırır */
    padding-top: 1px;
}
/* ================================================================= */
/* SOL SÜTUN ÖZEL GÜNLER KARTI STİLLERİ */
/* ================================================================= */

.ozel-gunler-card {
    background-color: #f0f8ff; /* Çok açık mavi */
    border: 1px solid #d0e8ff;
    border-radius: 8px;
    padding: 0px 5px 5px 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-top: 0 !important;
}
.ozel-gunler-card.mb-3 {
    margin-bottom: 0px !important; /* veya istediğiniz boşluk */
}

.ozel-gunler-card h3 {
    /* KRİTİK: Tüm marjin ve padding'i sıfırlıyoruz */
    margin: 0 !important; 
    padding: 0 !important;
    
    /* Başlık ve liste arasındaki boşluğu ayarlama */
    margin-bottom: 3px !important; 
    padding-bottom: 3px; /* Çizginin altına olan dolguyu koru */
    
    font-size: 1.5em;
    font-weight: 800;
    color: #1e88e5; 
    border-bottom: 2px solid #bbdefb;
    text-align: center;
}
.gunler-list p {
    /* Yazının tamamı sola yaslansın */
    text-align: left; /* Bu kural, varsayılanı garantiler */
    
    /* Zaten mevcut olan sol çizgi ve boşluk kurallarınız: */
    border-left: 4px solid #f39c12; 
    padding-left: 8px; 
    
    /* ... diğer stil ve renk ayarları ... */
    color: #2980b9; 
    font-weight: 700;
    font-size: 1.5em;
    margin: 2px 0; 
}

/* "Yok" mesajı ortada kalabilir */
.no-gun-message {
    text-align: center;
    /* ... diğer stiller ... */
}
.namaz-vakitleri-main-card {
    background-color: #e8f5e9; /* Açık yeşil arka plan */
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    padding: 5px 5px; /* Yatay boşluğu artır */
    margin-bottom: 5px;
    text-align: center;
}

.namaz-vakitleri-main-card h3 {
    /* Başlığı canlı geri sayıma uygun hale getir */
    color: #000; /* Yazıyı siyah yap (Daha okunur) */
    background-color: #dcedc8; /* Başlığa hafif bir arka plan ver */
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 1.5em;
    /* Geri sayım için Flex kullan */
    display: flex; 
    flex-direction: column;
    text-align: center;
    line-height: 1.2;
}

.vakitler-list-main {
    display: flex; /* Yatay düzenleme için */
    justify-content: space-around; /* Vakitler arasında eşit boşluk bırak */
    align-items: center;
    padding: 0 5px;
}

.vakit-item-main {
    display: flex;
    flex-direction: column; /* Vakit Adı ve Saat alt alta gelsin */
    align-items: center;
    padding: 0 10px;
}

.vakit-adi {
    font-size: 1.5em;
    font-weight: 500;
    color: #455a64;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.vakit-saat {
    font-size: 1.5em; /* Saati büyük ve dikkat çekici yap */
    font-weight: 800;
    color: #000;
}
.namaz-countdown-area {
    /* Arka planı kaldır, kartın arka planını kullan */
    background-color: transparent; 
    
    color: #388e3c; /* Yeşil tonunu koru */
    text-align: center;
    padding: 10px 0 0 0; /* Üstten az boşluk ver */
    margin-top: 5px; 
    border-top: 1px dashed #dcedc8; /* Listeden ayırmak için ince çizgi */
    border-radius: 0;
    box-shadow: none; /* Gölgeyi kaldır */
}

.countdown-vakit-label {
    /* Vakit adını küçük yap */
    font-size: 1.5em;
    font-weight: 500;
    opacity: 1;
    margin-bottom: 2px;
}

.countdown-time-display {
    /* Saati okunaklı, ama çok büyük değil yap */
    font-size: 1.4em; 
    font-weight: 800;
    letter-spacing: 1px;
    color: #27ae60; /* Canlı yeşil */
}
#right-rotation-wrapper {
    flex-grow: 1; /* Sağ Sütundaki kalan tüm dikey alanı kapla */
    position: relative; /* Slaytlar için relative konumlandırma */
    overflow: hidden; 
}

/* Tüm sağ slaytlar */
.slide-right {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Kapsayıcının tamamını doldurur */
    
    opacity: 0; /* Başlangıçta görünmez */
    transition: opacity 1s ease-in-out; /* Yumuşak geçiş */
    
    /* İçindeki kartları dikey dizme (Lise ve Doğum Günü kartlarını düzenlemek için) */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.slide-right.active {
    opacity: 1; /* Görünür yap */
    z-index: 10; 
}

/* Rotasyonlu alandaki kartların dikeyde eşit yayılmasını sağla */
/* Bu, Lise Programı ve Doğum Günü/Özel Gün kartlarının alana sığmasını sağlar */
.slide-right > .full-width-card {
    flex-grow: 1; 
    min-height: 48%; /* 2 kart için dikeyde eşit alan */
}
.alt-icerik {
    transition: opacity 0.8s ease-in-out;
    
    
}