@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    /*background-color: white;
    color: black;*/
}


/* |  <- Bu imlecin çıkmasını engelleyen kodlarımız. */
/* Tüm sitede metin seçimini engelle */
* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: default;
}

/* Form elementlerinde metin seçimini tekrar aktif et */
input, textarea, select, 
input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="search"], input[type="url"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  cursor: text;
}

/* Düzenlenebilir içerik için */
[contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  cursor: text;
}
/* |  <- Bu imlecin çıkmasını engelleyen kodlarımız. */



/* Animasyon */
@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Slider için css kodları  */
/* -----------------------------------------------------------
   Slider temel stil
----------------------------------------------------------- */
.slider-container{
  position:relative; overflow:hidden; width:100%; height:65vh;
  --accent:#ff9a1f;                  /* buton iç rengi */
}

.slider{display:flex; height:100%; transition:transform .8s ease-in-out;}
.slide{position:relative; flex:0 0 100%; height:100%;}
.slide img{width:100%; height:100%; object-fit:cover;}

/* -----------------------------------------------------------
   İçerik kutusu
----------------------------------------------------------- */
.slide-content{
  position:absolute; inset:0;
  display:flex; flex-direction:column; justify-content:center; align-items:center;
  background:linear-gradient(0deg,rgba(0,0,0,.55),rgba(0,0,0,.2));
  text-align:center; padding:2rem; color:#fff;
}

.slide-content h2{
  font-size:clamp(2.4rem,5vw,4rem);        /* biraz daha büyük başlık  */
  margin-bottom:.6rem;
}

.slide-content p{
  max-width:60ch;
  font-size:clamp(1.2rem,1.7vw,1.6rem);    /* açıklama daha büyük      */
}

/* -----------------------------------------------------------
   Buton
----------------------------------------------------------- */
.slide-btn{
  margin-top:1rem; padding:.8rem 2.2rem; border-radius:9999px;
  background:var(--accent); color:#000; font-weight:600;
  border:none; text-decoration:none; transition:.2s;
}
.slide-btn:hover{filter:brightness(1.15);}

/* -----------------------------------------------------------
   Ok navigasyonu – sade simge */
.nav{
  position:absolute; top:50%; transform:translateY(-50%);
  background:transparent; border:none;
  font-size:2.2rem; color:#fff; cursor:pointer;
  user-select:none; transition:.25s;
}
.nav.prev{left:1rem;} .nav.next{right:1rem;}
.nav:hover{color:var(--accent);}          /* isteğe bağlı vurgu       }

/* -----------------------------------------------------------
   Dot’lar (değişmedi)
----------------------------------------------------------- */
.dots{position:absolute; bottom:1rem; left:50%; transform:translateX(-50%);}
.dot{
  display:inline-block; width:.75rem; height:.75rem; margin:.2rem;
  border-radius:50%; background:#ffffff55; cursor:pointer; transition:.3s;
}
.dot.active{background:var(--accent);}



/* -----------------------------------------------------------
    Çıkmış Sorular Sayfası
----------------------------------------------------------- */

.cikmis-sorular-secimi {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.cikmis-sorular-secimi h1 {
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 700;
    color: #222;
}

.kategori-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.kategori-kart {
    background: linear-gradient(135deg, #ffffff, #f5f5f5);
    border-radius: 16px;
    padding: 30px 20px;
    color: #111;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.kategori-kart:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 14px 25px rgba(0, 0, 0, 0.1);
    border-color: #f9a825;
}

.kategori-kart .emoji {
    font-size: 42px;
    margin-bottom: 15px;
}

.kategori-kart .baslik {
    font-size: 18px;
    line-height: 1.4;
}

/* Aktif kategori özel stilleri */
.kategori-kart.aktif {
    background: linear-gradient(135deg, #f9a825, #cddc39);
    color: black;
}

/* Pasif kategori (çok yakında) */
.kategori-kart.pasif {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Soru çöz yazısı (çok yakındanın kopyası) */
.soru-cozuyoruz {
    color: #66cc99; /* canlı turuncumsu */
    font-weight: bold;
    font-style: italic;
    display: inline-block;
    margin-top: 4px;
    animation: yakindaParla 1.5s infinite alternate;
}
/* Çok yakında */

.cok-yakinda {
    color: #ff5722; /* canlı turuncumsu */
    font-weight: bold;
    font-style: italic;
    display: inline-block;
    margin-top: 4px;
    animation: yakindaParla 1.5s infinite alternate;
}

@keyframes yakindaParla {
    0% { opacity: 0.6; }
    100% { opacity: 1; transform: scale(1.02); }
}










/* -----------------------------------------------------------
    Ana sayfa içerikleri 
----------------------------------------------------------- */
.anasayfa-icerik {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.anasayfa-kutu {
    background: #ffffff;
    border-left: 6px solid #f9a825;
    padding: 25px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    animation: fadeSlideIn 0.6s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.anasayfa-kutu:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.anasayfa-kutu h2 {
    margin-bottom: 12px;
    font-size: 20px;
    color: #333;
    font-weight: 600;
}

.anasayfa-kutu p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.kutu-ikon {
    font-size: 30px;
    position: absolute;
    top: 15px;
    right: 20px;
    opacity: 0.2;
}


/* -----------------------------------------------------------
     Footer için 
----------------------------------------------------------- */

.site-footer {
    background-color: #f5f5f5;
    color: #333;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
    border-top: 1px solid #ddd;
    margin-top: 80px;
}


.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* -----------------------------------------------------------
     Sınav Takvimi
----------------------------------------------------------- */
.sinav-takvimi {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.sinav-takvimi h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.takvim-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.takvim-kutu {
    background: #e3f2fd;
    border-left: 5px solid #2196f3;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.takvim-kutu strong {
    font-size: 16px;
    display: block;
    color: #0d47a1;
    margin-bottom: 8px;
}

.takvim-kutu p {
    font-size: 16px;
    margin: 0;
}

.takvim-kutu small {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #555;
}


/* -----------------------------------------------------------
     Koyu / Açık Modu
----------------------------------------------------------- */

#darkToggle {
    background-color: #fff;
    border: none;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
    font-size: 18px;
    cursor: pointer;
}

body.dark-mode #darkToggle {
    background-color: #333;
    color: #f9a825;
}


body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

/*body.dark-mode section,
body.dark-mode .slider-container,
body.dark-mode .anasayfa-icerik,
body.dark-mode .one-cikanlar,*/
body.dark-mode .sinav-takvimi {
    background-color: #1c1c1c;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode p,
body.dark-mode small {
    color: #e0e0e0;
}

.dark-mode .takvim-kutu,
.dark-mode .sinav-kart,
.dark-mode .anasayfa-kutu {
    background-color: #242424;
    border-left-color: #f9a825;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.05);
}

.dark-mode .slide-content {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.dark-mode .slide-btn {
    background-color: #fbc02d;
    color: #121212;
}

* {
    transition: background-color 0.4s ease, color 0.3s ease;
}


/* -----------------------------------------------------------
     Header için koyu tema
----------------------------------------------------------- 
body.dark-mode header {
    /* background-color: #1c1c1c;
    border-bottom: 1px solid #333;
}

body.dark-mode header a {
    color: #f9a825;
}

body.dark-mode header a:hover {
    color: #ffeb3b;
}


/* -----------------------------------------------------------
     Footer için koyu tema
----------------------------------------------------------- 

body.dark-mode .site-footer {
    background-color: #1c1c1c;
    color: #bbb;
    border-top: 1px solid #333;
} 

body.dark-mode .site-footer a {
    color: #f9a825;
    text-decoration: none;
}

body.dark-mode .site-footer a:hover {
    color: #ffeb3b;
}*/

/* Açık tema için footer */
body:not(.dark-mode) .site-footer {
  background-color: #f5f5f5 !important;
  color: #333 !important;
  border-top: 1px solid #ddd;
}

/* Koyu tema için footer */
body.dark-mode .site-footer {
  background-color: #1c1c1c !important;
  color: #f5f5f5 !important;
  border-top: 1px solid #444;
}

/* -----------------------------------------------------------
     Ders notları sayfası için
----------------------------------------------------------- */

.ders-kategorileri {
    text-align: center;
    padding: 50px 20px;
    background: #f9f9f9;
}


.ders-kategorileri h1 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
    font-weight: bold;
    animation: fadeInDown 0.8s ease-in-out;
}

.kategori-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.kategori-kart {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px 25px;
    width: 240px;
    text-decoration: none;
    color: #222;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.kategori-kart:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to bottom right, #ffe259, #ffa751);
    color: white;
}

.kategori-kart .emoji {
    font-size: 48px;
    margin-bottom: 15px;
    animation: pop 1s ease infinite alternate;
}

.kategori-kart .baslik {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pop {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* -----------------------------------------------------------
     Motivasyon sözleri
----------------------------------------------------------- */
.motivasyon {
    max-width: 800px;
    margin: 100px auto 50px auto;
    padding: 20px;
    text-align: center;
    background: linear-gradient(270deg, #e0f7fa, #e8f5e9, #f9fbe7, #f1f8e9);
    background-size: 800% 800%;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    animation: backgroundFlow 12s ease infinite;
    position: relative;
}


.motivasyon blockquote {
    font-size: 22px;
    font-weight: 500;
    font-style: italic;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    position: relative;
}

.motivasyon blockquote::before,
.motivasyon blockquote::after {
    content: "❝";
    font-size: 50px;
    color: #a5d6a7;
    position: absolute;
    opacity: 0.2;
}

.motivasyon blockquote::before {
    top: -20px;
    left: 10px;
}

.motivasyon blockquote::after {
    bottom: -20px;
    right: 10px;
    transform: rotate(180deg);
}

@keyframes backgroundFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


/* -----------------------------------------------------------
     Ders notu kategorileri koyu mod
----------------------------------------------------------- */
body.dark-mode .ders-kategorileri {
    background-color: #1a1a1a;
}

body.dark-mode .kategori-kart {
    background-color: #2a2a2a;
    color: #f0f0f0;
}

body.dark-mode .kategori-kart:hover {
    background-color: #3a3a3a;
}

body.dark-mode .kategori-kart .baslik {
    color: #f0f0f0;
}

/* -----------------------------------------------------------
     Mesajlar için
----------------------------------------------------------- */

.messages {
    max-width: 500px;
    margin: 20px auto;
    text-align: center;
}

.alert {
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-weight: bold;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
}

.alert.warning {
    background-color: #fff3cd;
    color: #856404;
}

.alert.info {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* -----------------------------------------------------------
     Giriş / Çıkış
----------------------------------------------------------- */

/* -----------------------------------------------------------
     Kayıt ve Giriş kartları
----------------------------------------------------------- */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: linear-gradient(135deg, #f0f4f8, #d9e4f5);
    padding: 20px;
}

.auth-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 400px;
    animation: fadeIn 0.7s ease;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.auth-card form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-card input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.btn-primary {
    background-color: #f9a825;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #fbc02d;
}

.auth-card p {
    text-align: center;
    margin-top: 20px;
}




/* -----------------------------------------------------------
     Header profil yazısı kısmı
----------------------------------------------------------- */
.user-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 20px;
}

.user-dropdown-toggle {
    background: linear-gradient(to right, #f9a825, #fbc02d);
    color: #FFFF; /* burayı değiştirdik: siyah-gri ton */
    padding: 10px 16px;
    border-radius: 30px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    transition: background 0.3s ease;
}


.user-dropdown-toggle:hover {
    background: linear-gradient(to right, #ffca28, #fbc02d);
}


.arrow.down {
    border: solid #555;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 5px;
    transform: rotate(45deg);
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.user-dropdown-menu {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.1);
    z-index: 1;
    top: 50px;
    right: 0;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
}

.user-dropdown-menu a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: 500;
}

.user-dropdown-menu a:hover {
    background-color: #f9f9f9;
}

/* Dropdown aktif olunca göster */
.show-dropdown {
    display: block;
}


/* Açıldığında görünmesi için */
.show-dropdown {
    display: block;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 0;
    display: inline-block;
    line-height: 1.2;
    vertical-align: middle;
}

.nav-links ul {
    align-items: center;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

/* Giriş Yap ve Kaydol Kısmı için */

/* -----------------------------------------------------------
     Giriş / Kayıt ortak alan
----------------------------------------------------------- */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: linear-gradient(135deg, #f0f4f8, #d9e4f5);
    padding: 20px;
}

.auth-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 400px;
    animation: fadeIn 0.7s ease;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

/* Form Alanı */
.auth-card form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-card input {
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.auth-card input:focus {
    border-color: #f9a825;
    outline: none;
    box-shadow: 0 0 5px rgba(249, 168, 37, 0.4);
}

/* Buton */
.btn-primary {
    background-color: #f9a825;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #fbc02d;
}

/* Linkler */
.auth-card p {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.auth-card a {
    color: #f9a825;
    font-weight: 500;
    text-decoration: none;
}

.auth-card a:hover {
    text-decoration: underline;
}

body.dark-mode .auth-card {
    background-color: #1e1e1e;
    color: #e0e0e0;
}

body.dark-mode .auth-card input {
    background-color: #2c2c2c;
    color: #fff;
    border-color: #444;
}

body.dark-mode .auth-card input:focus {
    border-color: #f9a825;
    box-shadow: 0 0 5px rgba(249, 168, 37, 0.3);
}

/* Gösterilen uyarı mesajları */


.messages {
    max-width: 400px;
    margin: 20px auto;
    padding: 0;
    list-style: none;
}
.alert {
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 14px;
}
.alert.error {
    background-color: #ffcdd2;
    color: #b71c1c;
}
.alert.success {
    background-color: #c8e6c9;
    color: #1b5e20;
}

/* Çalışmıyor olabilir, bakılacak. */
.form-uyari {
    background: #ffe0e0;
    color: #b71c1c;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    animation: shake 0.5s;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}


/* Sınav geçmişi sayfasındaki tablo şekli */

/* -----------------------------------------------------------
     Sınav geçmişi sayfası stilleri
----------------------------------------------------------- */
.exam-history-container {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
}

.exam-history-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.exam-history-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.exam-history-icon {
    font-size: 32px;
    margin-right: 15px;
}

.exam-history-title {
    margin: 0;
    font-size: 26px;
    color: #343a40;
    font-weight: 600;
}

.exam-table-wrapper {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.exam-history-table {
    width: 100%;
    border-collapse: collapse;
}

.exam-history-table thead {
    background-color: #f1f3f5;
}

.exam-history-table th {
    border-bottom: 2px solid #e9ecef;
    padding: 15px;
    text-align: left;
    color: #495057;
    font-weight: 600;
}

.exam-history-table th.text-right {
    text-align: right;
}

.exam-history-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
}

.exam-history-table .row-alternate {
    background-color: #f8f9fa;
}

.exam-period {
    font-weight: 500;
}

.exam-mode {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
}

.mode-armed {
    background-color: #e7f5ff;
    color: #1971c2;
}

.mode-unarmed {
    background-color: #fff3bf;
    color: #e67700;
}

.exam-score {
    font-weight: 600;
    color: #212529;
}

.text-right {
    text-align: right;
}

.correct-answers {
    font-weight: 600;
}

.correct-answers.success {
    color: #2b8a3e;
}

.correct-answers.warning {
    color: #e03131;
}

.total-questions {
    color: #868e96;
}

.exam-results-count {
    margin-top: 20px;
    text-align: right;
    color: #6c757d;
    font-size: 14px;
}

.no-exams-message {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.no-exams-icon {
    font-size: 60px;
    margin-bottom: 20px;
    color: #adb5bd;
}

.no-exams-primary {
    margin: 0;
    font-size: 18px;
    color: #495057;
}

.no-exams-secondary {
    margin-top: 10px;
    color: #868e96;
}

/* Eğer projenizde zaten btn ve btn-primary sınıfları tanımlı değilse Burası deactivate yapıldı sorun çıkarsa açılacak 
(                                   Kaydol giriş yap'ın ortalanmasını engelliyordu                                 )*/                                    
 .btn {
   /* 
    margin-top: 20px;
    padding: 10px 20px;
    font-weight: 500;
    */
    display: inline-block;
    border-radius: 5px;
    transition: background-color 0.2s;
    text-decoration: none;
}

.btn-primary {
    background-color: #228be6;
    color: white;
}

.btn-primary:hover {
    background-color: #1c7ed6;
}

/* Dark Mode Sınıf Tabanlı Yaklaşım */
body.dark-mode .exam-history-card {
    background-color: #212529;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

body.dark-mode .exam-history-title {
    color: #e9ecef;
}

body.dark-mode .exam-table-wrapper {
    background-color: #2b3035;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

body.dark-mode .exam-history-table thead {
    background-color: #343a40;
}

body.dark-mode .exam-history-table th {
    border-bottom-color: #495057;
    color: #ced4da;
}

body.dark-mode .exam-history-table td {
    border-bottom-color: #343a40;
    color: #ced4da;
}

body.dark-mode .exam-history-table .row-alternate {
    background-color: #2c3034;
}

body.dark-mode .exam-score {
    color: #e9ecef;
}

body.dark-mode .mode-armed {
    background-color: #1864ab;
    color: #d0ebff;
}

body.dark-mode .mode-unarmed {
    background-color: #e67700;
    color: #fff9db;
}

body.dark-mode .correct-answers.success {
    color: #51cf66;
}

body.dark-mode .correct-answers.warning {
    color: #ff6b6b;
}

body.dark-mode .total-questions {
    color: #adb5bd;
}

body.dark-mode .exam-results-count {
    color: #adb5bd;
}

body.dark-mode .no-exams-message {
    background-color: #2b3035;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

body.dark-mode .no-exams-icon {
    color: #6c757d;
}

body.dark-mode .no-exams-primary {
    color: #ced4da;
}

body.dark-mode .no-exams-secondary {
    color: #adb5bd;
}

body.dark-mode .btn-primary {
    background-color: #339af0;
}

body.dark-mode .btn-primary:hover {
    background-color: #4dabf7;
}
/* ================================================================
   KAYIT & GİRİŞ SAYFASI — Karanlık Tema Desteği
   (auth-wrapper + auth-card bileşenleri)
   ------------------------------------------------
   body.dark-mode …  seçicileri zaten varsa → bu blok
   en sonda durduğu için önceki renkleri override eder.
================================================================ */

/* Kart arka planı + gölge */
body.dark-mode .auth-card{
  background:#1e1e1e !important;
  box-shadow:0 8px 24px rgba(0,0,0,.35) !important;
  color:#e0e0e0 !important;
}

/* Başlık rengi */
body.dark-mode .auth-card h2{
  color:#fff !important;
}

/* Form giriş alanları */
body.dark-mode .auth-card input{
  background:#2c2c2c !important;
  color:#fff !important;
  border:1px solid #444 !important;
}
body.dark-mode .auth-card input::placeholder{
  color:#9e9e9e;               /* gri placeholder */
}
body.dark-mode .auth-card input:focus{
  border-color:#f9a825 !important;
  box-shadow:0 0 5px rgba(249,168,37,.4) !important;
}

/* Birincil buton */
body.dark-mode .auth-card .btn-primary{
  background:#339af0 !important;   /* canlı mavi-sarı yerine uyumlu mavi */
  color:#fff !important;
}
body.dark-mode .auth-card .btn-primary:hover{
  background:#4dabf7 !important;
}

/* Metin bağlantıları */
body.dark-mode .auth-card a{
  color:#f9a825 !important;
}
body.dark-mode .auth-card a:hover{
  color:#ffeb3b !important;
  text-decoration:underline;
}

/* Başarılı / hata mesaj kutuları (django messages) */
body.dark-mode .alert.success{
  background:#1e4620 !important;
  color:#8bc34a !important;
}
body.dark-mode .alert.error{
  background:#5d1c1c !important;
  color:#ff6b6b !important;
}
body.dark-mode .alert.warning{
  background:#4d3b0c !important;
  color:#ffb74d !important;
}
body.dark-mode .alert.info{
  background:#0c3c48 !important;
  color:#4dd0e1 !important;
}
body.dark-mode .auth-wrapper{
  /* Işık sızdırmayan, yumuşak koyu gradient */
  background:linear-gradient(135deg,#1b1b1b 0%, #2a2a2a 50%, #1c1c1c 100%) !important;
}

/* ==========================================================
   Sınav Ekranı – Karanlık Tema Katmanı
   (sinav-alani, soru-karti, secenek-kutu, gönder-btn)
========================================================== */
body.dark-mode .sinav-alani{
  background:#1e1e1e;                    /* kart dışı zemin            */
  box-shadow:0 10px 30px rgba(0,0,0,.45);
  border-radius:16px;
}

body.dark-mode .sinav-alani h1{
  color:#fff;
}

/* Soru kartı */
body.dark-mode .soru-karti{
  background:#2a2a2a;
  box-shadow:0 6px 12px rgba(0,0,0,.4);
  border:1px solid #444;
}

body.dark-mode .soru-metin{
  color:#e0e0e0;
}

/* Seçenek kutusu */
body.dark-mode .secenek-kutu{
  background:#1f1f1f;
  border:1px solid #444;
  color:#ddd;
}
body.dark-mode .secenek-kutu:hover{
  background:#333;                      /* sarı highlight yerine nötr */
  border-color:#777;
}

/* Radio input rengini biraz açmak (varsayılan griyi aşmak için) */
body.dark-mode .secenek-kutu input{
  accent-color:#f9a825;                  /* destekleyen tarayıcılarda  */
}

/* Gönder butonu */
body.dark-mode .gonder-btn{
  background:#F08832;
  color:#fff;
  box-shadow:0 2px 6px rgba(0,0,0,.5);
}
body.dark-mode .gonder-btn:hover{
  background:#0fc762;
}











/* Ders notları kısmı */

/* Alt Kategoriler Sayfası Stili */
.alt-kategoriler-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.kategori-baslik {
    margin-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1rem;
}

.kategori-baslik h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.alt-kategori-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.alt-kategori-kart {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: #333;
    position: relative;
    overflow: hidden;
}

.alt-kategori-kart:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.alt-kategori-kart:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, #4e54c8, #8f94fb);
}

.alt-kategori-kart .emoji {
    font-size: 2rem;
    margin-right: 1rem;
}

.alt-kategori-kart .baslik {
    flex-grow: 1;
    font-weight: 500;
    font-size: 1.1rem;
}

.alt-kategori-kart .arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.alt-kategori-kart:hover .arrow {
    opacity: 1;
    transform: translateX(0);
}

.no-content {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    color: #666;
}

/* Dark mode uyumlu stil */
body.dark-mode .alt-kategori-kart {
    background-color: #2d2d2d;
    color: #e0e0e0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

body.dark-mode .kategori-baslik {
    border-bottom-color: #444;
}

body.dark-mode .kategori-baslik h1 {
    color: #e0e0e0;
}

body.dark-mode .breadcrumb {
    color: #bbb;
}

body.dark-mode .breadcrumb a {
    color: #5e9eff;
}

body.dark-mode .no-content {
    background-color: #333;
    color: #bbb;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .alt-kategori-wrapper {
        grid-template-columns: 1fr;
    }
    
    .kategori-baslik h1 {
        font-size: 1.5rem;
    }
}

/* Ders Notları Sayfası Stili */
.ders-notlari-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.ders-notlari-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ders-notu-kart {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: #333;
    position: relative;
    overflow: hidden;
}

.ders-notu-kart:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, #4ab2ff, #7ee8fa);
}

.ders-notu-kart:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ders-notu-icerik {
    flex-grow: 1;
}

.ders-notu-icerik h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: #333;
}

.ders-notu-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.ders-notu-icon {
    font-size: 1.8rem;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.ders-notu-kart:hover .ders-notu-icon {
    transform: scale(1.1);
    opacity: 1;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin: 2rem 0;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.empty-state h3 {
    margin: 0.5rem 0;
    color: #444;
}

.empty-state p {
    color: #666;
    margin: 0.5rem 0 0;
}

/* Dark mode uyumlu stil */
body.dark-mode .ders-notu-kart {
    background-color: #2d2d2d;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

body.dark-mode .ders-notu-icerik h3 {
    color: #e0e0e0;
}

body.dark-mode .ders-notu-meta {
    color: #aaa;
}

body.dark-mode .empty-state {
    background-color: #333;
}

body.dark-mode .empty-state h3 {
    color: #ddd;
}

body.dark-mode .empty-state p {
    color: #aaa;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .ders-notu-icerik h3 {
        font-size: 1rem;
    }
    
    .ders-notu-meta {
        font-size: 0.75rem;
    }
    
    .ders-notu-icon {
        font-size: 1.5rem;
    }
}

/* Ders Notu Detay Sayfası Stili */
.ders-notu-detay-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ders-notu-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.ders-notu-header h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.3;
}

.ders-notu-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.ders-notu-meta .emoji {
    margin-right: 0.5rem;
}

.ders-notu-resim {
    margin: 1.5rem 0;
    text-align: center;
}

.ders-notu-resim img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.ders-notu-icerik {
    line-height: 1.7;
    color: #333;
    font-size: 1.05rem;
}

.ders-notu-icerik h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.ders-notu-icerik p {
    margin-bottom: 1rem;
}

.ders-notu-icerik ul, .ders-notu-icerik ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.ders-notu-icerik li {
    margin-bottom: 0.5rem;
}

.ders-notu-icerik blockquote {
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid #4e54c8;
    background-color: #f8f9fa;
    font-style: italic;
}

.ders-notu-icerik table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.ders-notu-icerik th, .ders-notu-icerik td {
    padding: 0.75rem;
    border: 1px solid #ddd;
}

.ders-notu-icerik th {
    background-color: #f2f2f2;
}

.ders-notu-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.btn-geri {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-geri:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

/* Dark mode uyumlu stil */
body.dark-mode .ders-notu-detay-container {
    background-color: #2d2d2d;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .ders-notu-header {
    border-bottom-color: #444;
}

body.dark-mode .ders-notu-header h1 {
    color: #e0e0e0;
}

body.dark-mode .ders-notu-meta {
    color: #aaa;
}

body.dark-mode .ders-notu-icerik {
    color: #d0d0d0;
}

body.dark-mode .ders-notu-icerik h2 {
    color: #a0c4ff;
}

body.dark-mode .ders-notu-icerik blockquote {
    background-color: #333;
    border-left-color: #7e84fb;
}

body.dark-mode .ders-notu-icerik th {
    background-color: #333;
}

body.dark-mode .ders-notu-icerik th, 
body.dark-mode .ders-notu-icerik td {
    border-color: #444;
}

body.dark-mode .ders-notu-footer {
    border-top-color: #444;
}

body.dark-mode .btn-geri {
    background-color: #333;
    color: #ddd;
}

body.dark-mode .btn-geri:hover {
    background-color: #444;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .ders-notu-detay-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .ders-notu-header h1 {
        font-size: 1.5rem;
    }
    
    .ders-notu-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .ders-notu-icerik {
        font-size: 1rem;
    }
}

/* Portfolio kısmı */
.portfolio {
  max-width: 800px;
  margin: 60px auto;
  padding: 20px;
}
.portfolio-header {
  text-align: center;
  margin-bottom: 30px;
}
.portfolio-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

/* Notification (Bildirim) Özelliği için Yeni CSS */
.notif-dropdown {
  position: relative;
  display: inline-block;
}
.bell-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  position: relative;
  cursor: pointer;
}
#bell-badge {
  position: absolute;
  top: -0.25em; right: -0.4em;
  background: #dc3545;
  color: white;
  font-size: 0.75rem;
  padding: 0.1em 0.3em;
  border-radius: 50%;
  line-height: 1;
  min-width: 1.2em;
  text-align: center;
}
.notif-menu {
  display: none;
  position: absolute;
  right: 0;
  margin-top: 0.5em;
  width: 20rem;
  max-height: 25rem;
  overflow-y: auto;
  background: white;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
  border-radius: 0.25rem;
  z-index: 1000;
}
.notif-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.notif-menu li {
  border-bottom: 1px solid #eee;
}
.notif-menu li.unread {
  background-color: #f8f9fa;
}
.notif-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #212529;
}
.notif-item:hover { background: #f1f1f1; }
.view-all {
  text-align: center;
  padding: 0.5rem;
  background: #f7f7f7;
}

/* Bildirim silme butonu */
.notif-delete {
  background: none;
  border: none;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  color: #888;
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
}
.notif-delete:hover {
  color: #e00;
}
.notif-menu li {
  position: relative;  /* delete butonu için */
}

/* Bildirimler için */

.notifications-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.1);
}
.page-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  text-align: center;
}
.notif-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.notif-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
  position: relative;
}
.notif-item.unread {
  background-color: #f9f9ff;
}
.notif-body {
  flex: 1;
}
.notif-link {
  font-weight: 500;
  text-decoration: none;
  color: #333;
}
.notif-link:hover {
  text-decoration: underline;
}
.notif-time {
  display: block;
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.25rem;
}
.notif-delete-btn {
  background: none;
  border: none;
  color: #999;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  margin-left: 1rem;
}
.notif-delete-btn:hover {
  color: #e00;
}
.notif-empty {
  text-align: center;
  padding: 2rem;
  color: #777;
}

/* Açılır menü ve Bildirimler paneli dark mode */
/* ==========================
   1) Varsayılan (Light Mode)
   ========================== */
/* (hiçbir ekstra kural koymaya gerek yok, mevcut ışık stili bozulmaz) */

/* =============================
   2) Sadece dark-mode aktifken
   ============================= */
.notif-dropdown .bell-btn {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  /* Opsiyonel: padding’i korumak isterseniz aşağıyı yorumdan kaldırın */
  /* padding: 0.5rem; */
}

body.dark-mode .notif-dropdown .bell-btn:hover {
  background: #333333;
}

body.dark-mode .notif-dropdown .notif-menu {
  background: #1e1e1e;
  border: 1px solid #444444;
  box-shadow: 0 4px 8px rgba(0,0,0,0.6);
}
body.dark-mode .notif-dropdown .notif-menu li {
  border-bottom: 1px solid #333333;
}
body.dark-mode .notif-dropdown .notif-menu li.unread {
  background: #2a2a2a;
}
body.dark-mode .notif-dropdown .notif-item {
  color: #dddddd;
}
body.dark-mode .notif-dropdown .notif-item:hover {
  background: #333333;
}
body.dark-mode #bell-badge {
  background: #e74c3c;
  color: #ffffff;
}

/* Kullanıcı Menüsü */
body.dark-mode .user-dropdown-toggle {
  background: #2b2b2b;
  color: #f1f1f1;
}
body.dark-mode .user-dropdown-toggle:hover {
  background: #333333;
}

body.dark-mode .user-dropdown-menu {
  background: #1e1e1e;
  border: 1px solid #444444;
  box-shadow: 0 4px 8px rgba(0,0,0,0.6);
}
body.dark-mode .user-dropdown-menu a {
  color: #dddddd;
}
body.dark-mode .user-dropdown-menu a:hover {
  background: #333333;
  color: #ffffff;
}

/* Silme Butonları */
body.dark-mode .notif-delete,
body.dark-mode .notif-delete-btn {
  color: #bbbbbb;
}
body.dark-mode .notif-delete:hover,
body.dark-mode .notif-delete-btn:hover {
  color: #e74c3c;
}

/* Bildirim dropdown altındaki “Tümünü Gör” linkini butona çevir */
.notif-dropdown .notif-menu .view-all a {
  display: block;                   /* tam genişlik */
  width: calc(100% - 2rem);         /* yan boşlukları hesaba kat */
  margin: 0.75rem auto;             /* üst-alt boşluk + ortala */
  padding: 0.5rem 0;                /* dikey padding */
  background-color: #F08832;        /* turuncu buton rengi */
  color: #fff;                      /* beyaz metin */
  text-decoration: none;            /* alt çizgiyi kaldır */
  border-radius: 0.375rem;          /* hafif yuvarlak köşe */
  text-align: center;               /* metni ortala */
  font-weight: 500;                 /* biraz kalın metin */
  transition: background-color .2s; /* hover geçişi */
}
.notif-dropdown .notif-menu .view-all a:hover {
  background-color: #e07b29;        /* hover rengi */
}

/* Eğer body.dark-mode kullanıyorsan, aynı butonu karanlık halde böyle stilize edebilirsin: */
body.dark-mode .notif-dropdown .notif-menu .view-all a {
  background-color: #333;           /* koyu buton */
  color: #f1f1f1;                   /* açık metin */
}
body.dark-mode .notif-dropdown .notif-menu .view-all a:hover {
  background-color: #444;
}

/* ----------------------------
   Bildirim Paneli Dark Mode
   ---------------------------- */
body.dark-mode .notif-dropdown .notif-menu {
  background-color: #1f1f1f !important;    /* panelin tamamı */
  border: 1px solid #444 !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.6) !important;
}

/* Listelenen li’ler de arkaplana uyum sağlasın */
body.dark-mode .notif-dropdown .notif-menu li {
  background-color: transparent !important;
}
body.dark-mode .notif-dropdown .notif-menu li.unread {
  background-color: #2a2a2a !important;
}

/* “Hiç bildiriminiz yok.” alanı */
body.dark-mode .notif-dropdown .notif-menu ul > li em {
  color: #aaa;
  background-color: transparent !important;
}

/* View-all container’ı (butonun etrafındaki beyaz alan) */
body.dark-mode .notif-dropdown .notif-menu .view-all {
  background-color: #1f1f1f !important;
}

/* “Tümünü Gör” butonunun çevresi */
body.dark-mode .notif-dropdown .notif-menu .view-all a {
  /* zaten turuncu buton, etraf beyaz kalmasın */
  display: block;
  margin: 0.75rem auto;
  padding: 0.5rem 0;
  background-color: #F08832;
  color: #fff;
  border-radius: 0.375rem;
  width: calc(100% - 2rem);
  text-align: center;
  text-decoration: none;
}

/* =============================
   All Notifications Dark Mode
   ============================= */
body.dark-mode .notifications-container {
  background-color: #1e1e1e;            /* panel arkaplanı */
  border: 1px solid #444444;           /* panel kenarı */
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  color: #ddd;                         /* genel metin rengi */
}

body.dark-mode .notifications-container .page-title {
  color: #f1f1f1;                      /* başlık rengi */
}

body.dark-mode .notif-list {
  background: transparent;             /* arkaplan yok */
}

body.dark-mode .notif-item {
  background-color: #2b2b2b;           /* her bildirim satırı */
  border-bottom: 1px solid #333333;    /* alt çizgi */
}

body.dark-mode .notif-item.unread {
  background-color: #323232;           /* okunmamış satırlar biraz daha koyu */
}

body.dark-mode .notif-link {
  color: #e0e0e0;                      /* link rengi */
}

body.dark-mode .notif-link:hover {
  color: #ffffff;                      /* hover’da daha parlak */
}

body.dark-mode .notif-time {
  color: #aaa;                         /* zaman stili */
}

body.dark-mode .notif-delete-btn {
  color: #888888;                      /* silme butonu rengi */
}

body.dark-mode .notif-delete-btn:hover {
  color: #e74c3c;                      /* hover’da kırmızı */
}

/* “Henüz bildirim yok.” stili */
body.dark-mode .notif-empty em {
  color: #bbb;
}

/* Sayfa yüklenirken, flash'ı engelleme */
body, html {
  transition: none;  /* yükleme anında flash’ı engeller */
}

/* Arkaplan için */

/* ─────────────────────────────────────────────────────────────
   Varsayılan (Light Mode) Arkaplan
───────────────────────────────────────────────────────────── */
body {
  background-color: #f9f9f9;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.7' fill='%23d1d5db'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 60px 60px;
  color: #222;
}




/* ─────────────────────────────────────────────────────────────
   Dark Mode Arkaplan (body.dark-mode sınıfıyla)
───────────────────────────────────────────────────────────── */
body.dark-mode {
  background-color: #0f0f0f;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40 L40 0' stroke='%23222222' stroke-width='0.5'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 40px 40px;
  color: #eee;
}


/* GİRİŞ YAP | KAYDOL kısmı giriş yapmadan önceki header üstündeki kısım */

/* =============================================
   NAV (sağ üst)   – özel gradient + genişlik
   yalnızca header içindeki auth-links hedeflenir
============================================= */
header .auth-links a{
  --radius: 9999px;
  --pad-y: .55rem;
  --pad-x: 2.6rem;
  min-width: 9.5rem;
  font-size:.95rem;
  display:inline-flex;
  justify-content:center;
  align-items:center;
}

/* Dolgu - gradient */
header .auth-links .btn-primary{
  color:#000;
  background:linear-gradient(135deg,#ff9a1f 0%,#ffb94f 100%);
  border-radius:var(--radius);
  box-shadow:0 2px 4px rgba(0,0,0,.15);
}
header .auth-links .btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 4px 6px rgba(0,0,0,.22);
}

/* Çizgili */
header .auth-links .btn-outline{
  color:#ff9a1f;
  background:transparent;
  border:2px solid #ff9a1f;
  border-radius:var(--radius);
}
header .auth-links .btn-outline:hover{
  background:#ff9a1f;
  color:#000;
}


/* Portfoliom Çok Yakında!*/
/* Linki tıklanamaz hâle getirir */
.portfolio-disabled {
  pointer-events: none;
  cursor: default;
  color: #6c757d;         /* isteğe bağlı: soluk metin */
  text-decoration: none;
  display: inline-block;  /* genişliğe göre, gerekirse block yapabilirsiniz */
}

/* Başlık stili (isteğe göre özelleştirin) */
.portfolio-disabled .portfolio-title {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

/* “Çok Yakında” etiketi alt alta gelir */
.coming-soon {
  display: block;
  font-size: 0.75rem;
  background-color: #ffc107; /* sarı ton */
  color: #212529;            /* koyu metin */
  padding: 0.15em 0.5em;
  border-radius: 0.25rem;
}

/* Öne Çıkanlar için CSS */

/* 📌 Öne Çıkan Sınavlar - Aydınlık/Karanlık Mod Uyumlu */

/* Aydınlık mod için varsayılan stiller */
.one-cikanlar {
    background: linear-gradient(145deg, #f5f5f5, #ffffff);
    padding: 50px 20px;
    border-radius: 16px;
    margin: 30px auto;
    max-width: 1000px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.one-cikanlar h2 {
    font-size: 1.8rem;
    color: #ff5c8a;
    margin-bottom: 30px;
    text-align: center;
}

.sinav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.sinav-kart {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.sinav-kart:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.sinav-kart h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.sinav-kart p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: #666;
}

/* Buton */
.sinav-kart .btn {
    display: inline-block;
    background: linear-gradient(135deg,#ff9a1f 0%,#ffb94f 100%);
    color: #000;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s;
}

.sinav-kart .btn:hover {
    background: linear-gradient(135deg,#ffb94f, #ffd580);
    transform: scale(1.05);
}

/* Koyu mod için stiller */
body.dark-mode .one-cikanlar {
    background: linear-gradient(145deg, #1f1f1f, #2a2a2a);
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

body.dark-mode .sinav-kart {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

body.dark-mode .sinav-kart:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

body.dark-mode .sinav-kart h3 {
    color: #ffd966;
}

body.dark-mode .sinav-kart p {
    color: #ccc;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .one-cikanlar {
        padding: 30px 15px;
    }
    
    .one-cikanlar h2 {
        font-size: 1.5rem;
    }
    
    .sinav-kart {
        padding: 15px;
    }
}

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


/* Ehliyet süslemeleri */


/* === GENEL === */
/*body {
  background-color: #ffffff;
  color: #1c1c1c;
  transition: background-color 0.3s ease, color 0.3s ease;
}*/

.donem-listesi {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

.baslik {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: inherit;
}

.donem-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.donem-kart {
  display: flex;
  align-items: center;
  background-color: #f4f4f4;
  border: 2px solid #e0e0e0;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  min-width: 250px;
  transition: all 0.3s ease;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
}

.donem-kart:hover {
  background-color: #fff9e6;
  border-color: #f7c600;
  box-shadow: 0 0 10px rgba(247, 198, 0, 0.4);
}

.donem-kart .emoji {
  font-size: 36px;
  margin-right: 15px;
}

.donem-kart .icerik .tarih {
  font-size: 0.9rem;
  color: #777;
  margin-top: 4px;
}

/* === MOBİL === */
@media screen and (max-width: 600px) {
  .donem-kart {
    flex-direction: column;
    align-items: flex-start;
    min-width: 100%;
  }

  .donem-kart .emoji {
    margin-bottom: 10px;
  }
}

/* Aydınlık tema (default) */
.donem-kart {
  background-color: #f4f4f4;
  border: 2px solid #e0e0e0;
  color: #222;
  transition: background-color 0.3s, color 0.3s;
}

/* Koyu tema */
body.dark-mode .donem-kart {
  background-color: #222;
  border: 2px solid #393939;
  color: #eee;
}

body.dark-mode .donem-kart .icerik .tarih {
  color: #bbb;
}

/* Ehliyet Son */


/* ================================================================
   HEADER - GENEL STİLLER (style(4).css dosyanıza ekleyin/güncelleyin)
   ================================================================ */

/* Genel Değişkenler (Mevcut değişkenlerinizle birleştirin veya bunları ana değişkenler yapın) */
:root {
    --header-height: 70px; /* Yüksekliği projenize göre ayarlayın */
    --primary-color: #ff9a1f; /* style(4).css dosyanızdaki --accent ile aynı */
    --primary-hover-color: #ffb94f;
    --text-dark-primary: #212529; /* Daha koyu bir ana metin rengi */
    --text-light-primary: #f8f9fa; /* Daha açık bir ana metin rengi */
    --background-color-light: #ffffff;
    --background-color-dark: #18191a; /* Koyu tema için daha modern bir arkaplan */
    --header-border-light: #e9ecef;
    --header-border-dark: #343a40;
    --dropdown-bg-light: #ffffff;
    --dropdown-bg-dark: #242526;
    --dropdown-hover-bg-light: #f1f3f5;
    --dropdown-hover-bg-dark: #3a3b3c;
    --dropdown-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --transition-speed: 0.3s;
    --font-family-base: 'Poppins', sans-serif; /* style(4).css'den gelen font */
}

/* Ana Header Yapısı */

.main-header {
    background-color: var(--background-color-light);
    border-bottom: 1px solid var(--header-border-light);
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1030; /* Bootstrap z-index değerlerine yakın */
    height: var(--header-height);
    font-family: var(--font-family-base);
    transition: background-color var(--transition-speed) ease, border-color var(--transition-speed) ease;
    animation: fadeSlideIn 0.6s ease-out;
    position: sticky;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1600px; /* Eğer ki dar gelirse header sağdan ve soldan burayı genişletebilirsin. */
    margin: 0 auto;   
    padding: 15px 20px;
    padding-top: 0;
    padding-bottom: 0;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    padding: 5px 0; /* Dikey hizalama için */
}

.logo-link .logo-img {
    height: 55px; /* style(4).css .logo img height: 45px idi, uyum için 40px daha modern olabilir */
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-speed) ease;
}
.logo-link:hover .logo-img {
    transform: scale(1.05);
}

/* Hamburger Menü Butonu */
.hamburger-toggle-button {
  display: none; /* Varsayılan olarak gizli, mobil için gösterilecek */
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin: 0;
  z-index: 1035; /* Navigasyon menüsünün üzerinde */
  order: 3; /* Mobil düzende en sağda olması için */
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hamburger-toggle-button .hamburger-bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark-primary);
  margin: 3px 0;
  transition: all var(--transition-speed) ease-in-out;
  border-radius: 3px;
}
/* Hamburger -> X animasyonu base.html içindeki JS ile yönetiliyor */

/* Navigasyon Linkleri (Ana Menü) */
.nav-links { /* <nav> elementi */
    display: flex;
    align-items: center;
    height: 100%; /* Dikey ortalama için */
}

.nav-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    height: 100%;
    gap: 25px; /* Linkler arası boşluk, style(4).css 30px idi, 25px daha dengeli olabilir */
}

.nav-links li {
    height: 100%; /* Dropdown'ların düzgün açılması için */
    display: flex; /* İçindeki linki dikey ortalamak için */
    align-items: center;
}

.nav-links a:not(.btn) {
    text-decoration: none;
    color: var(--text-dark-primary);
    font-weight: 500; /* style(4).css ile aynı */
    font-size: 15px; /* style(4).css 16px idi, 15px daha zarif durabilir */
    padding: 0.5rem 0.25rem; /* Daha iyi tıklama alanı ve görsel denge için */
    border-bottom: 2px solid transparent; /* Hover efekti için hazırlık */
    transition: color var(--transition-speed) ease, border-color var(--transition-speed) ease;
    display: inline-block;
    line-height: 1.2; /* style(4).css ile aynı */
}

.nav-links a:not(.btn):hover,
.nav-links li.active a:not(.btn) { /* Aktif sayfa linki için */
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Navigasyon İçindeki Genel Dropdown ("Çalışmalar") */
.nav-links .dropdown {
    position: relative; /* li elementine */
}

.nav-links .dropdown > .dropdown-toggle-link {
    display: flex;
    align-items: center;
    cursor: pointer;
    height: 100%; /* Üst li ile aynı yükseklikte olması için */
}

.nav-links .dropdown .icon-arrow-down {
    margin-left: 0.5rem;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--text-dark-primary);
    transition: transform var(--transition-speed), border-color var(--transition-speed);
}
.nav-links .dropdown > .dropdown-toggle-link:hover .icon-arrow-down {
    border-top-color: var(--primary-color);
}
.nav-links .dropdown:hover > .dropdown-toggle-link .icon-arrow-down {
    transform: rotate(180deg);
}

.dropdown-list-content { /* .nav-links .dropdown .dropdown-list-content, .notif-menu, .user-dropdown-menu için ortak */
    display: block;
    position: absolute;
    top: calc(100% - 1px); /* Header border'ı ile bitişik */
    left: 0;
    background-color: var(--dropdown-bg-light);
    min-width: 150px;
    max-width: 150px;
    box-shadow: var(--dropdown-shadow);
    border-radius: 0 0 0.5rem 0.5rem; /* Alt köşeler yuvarlak */
    /* padding: 0.5rem 0; */
    z-index: 1031;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    /* transition: opacity var(--transition-speed) ease, transform var(--transition-speed) ease, visibility var(--transition-speed) ease;*/
}
.nav-links .dropdown:hover .dropdown-list-content { /* Sadece nav içindeki dropdown için hover */
    display: block;  
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* .notif-menu ve .user-dropdown-menu için .show class'ı JS ile eklenecek */
.dropdown-list-content.show { /* JS ile açılan dropdownlar için */
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.dropdown-list-content li {
    list-style: none;
    width: 100%;
    margin:0; padding: 0; height: auto; /* Reset li styles from nav-links */
}

.dropdown-list-content a,
.notif-item-link { /* .notif-item-link için de aynı stil */
    display: block;
    padding: 0.65rem 1.25rem; /* Daha ferah padding */
    white-space: nowrap;
    text-decoration: none;
    color: var(--text-dark-primary);
    font-size: 14px;
    font-weight: 400;
    transition: background-color var(--transition-speed), color var(--transition-speed);
    border-bottom: none; /* Reset nav-links a border */
    width: 100%; /* Dropdown üstüne gelince satır boyunca işaretli olması */
}

/* -----------------------------------------------------------
Drop down için en alttaki satırın üstüne gelince 
dış eğriler gitmesin diye.
----------------------------------------------------------- */

.dropdown-list-content a:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.dropdown-list-content a:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}


.dropdown-list-content a:hover,
.notif-item-link:hover {
    background-color: var(--dropdown-hover-bg-light);
    color: var(--primary-color);
}

/* Header Sağ Taraf Aksiyonları */
.header-actions {
    display: flex;
    align-items: center;
    justify-content: center; /* Bu satırı ekleyebilirsiniz */
    gap: 0.75rem;
    
}

.header-actions .action-item {
    display: flex;
    align-items: center;
}


.header-actions .history-link-desktop {
    color: var(--text-dark-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px; /* Nav linklerle uyumlu veya biraz daha küçük */
    display: flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: color var(--transition-speed), background-color var(--transition-speed);
}
.header-actions .history-link-desktop .history-icon {
    margin-right: 0.35rem;
    font-size: 1.1em;
}
.header-actions .history-link-desktop:hover {
    color: var(--primary-color);
    background-color: var(--dropdown-hover-bg-light);
}

/* Bildirim Zili (style(4).css'deki .notif-dropdown, .bell-btn vb. stilleri temel alır ve geliştirir) */
.notif-dropdown .bell-icon-button { /* ID: bell-toggle */
    background: none;
    border: none;
    font-size: 1.5rem; /* style(4).css ile aynı */
    color: var(--text-dark-primary);
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}
.notif-dropdown .bell-icon-button:hover {
    background-color: var(--dropdown-hover-bg-light);
    color: var(--primary-color);
}
.notification-badge { /* ID: bell-badge */
    position: absolute;
    top: 0.15em; /* style(4).css -0.25em idi, ayarlandı */
    right: 0.15em; /* style(4).css -0.4em idi, ayarlandı */
    background: #dc3545; /* style(4).css ile aynı */
    color: white;
    font-size: 0.7rem; /* style(4).css 0.75rem idi */
    padding: 0.15em 0.4em; /* style(4).css 0.1em 0.3em idi */
    border-radius: 50%;
    line-height: 1;
    min-width: 1.3em; /* style(4).css 1.2em idi */
    text-align: center;
    font-weight: bold;
}
.notif-menu { /* ID: bell-menu (dropdown-list-content ortak stilini kullanır) */
    right: 0; left: auto; /* Sağda açılması için */
    width: 320px; /* style(4).css 20rem (320px) */
    max-height: 400px; /* style(4).css 25rem (400px) */
    overflow-y: auto;
}
.notif-menu .notif-list-item { /* Bildirim listesi içindeki her bir satır */
    position: relative; /* Silme butonu için */
    border-bottom: 1px solid var(--header-border-light);
}
.notif-menu .notif-list-item:last-child { border-bottom: none; }
.notif-menu .notif-list-item.unread { background-color: #eef6ff; } /* Daha yumuşak bir okunmamış rengi */

.notif-item-link .notif-message { display: block; font-size: 13px; }
.notif-item-link .notif-time { display: block; font-size: 11px; color: #6c757d; margin-top: 0.25rem; }

.notif-delete-button { /* class: notif-delete */
    background: none; border: none; font-size: 1.25rem; line-height: 1; cursor: pointer;
    color: #adb5bd; position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
    padding: 0.25rem;
    transition: color var(--transition-speed);
}
.notif-delete-button:hover { color: #dc3545; }
.notif-menu .notif-empty-message { padding: 1rem; text-align: center; color: #6c757d; font-style: italic; font-size: 13px;}
.view-all-notifs { /* class: view-all */
    text-align: center; padding: 0.5rem; border-top: 1px solid var(--header-border-light);
}
.view-all-notifs a { /* style(4).css'deki buton stili uygulanabilir veya yeni bir stil */
    font-size: 13px; font-weight: 500; color: var(--primary-color); text-decoration: none;
    padding: 0.25rem 0.5rem; border-radius: 0.25rem;
    transition: background-color var(--transition-speed);
}
.view-all-notifs a:hover { background-color: var(--dropdown-hover-bg-light); }


/* Kullanıcı Dropdown (style(4).css'deki .user-dropdown stillerini temel alır) */
.user-dropdown .user-dropdown-toggle { /* style(4).css ile aynı class */
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover-color)); /* style(4).css gold tonları yerine ana renkler */
    color: #fff; /* style(4).css siyah-gri tondu, beyaz daha iyi kontrast sağlar */
    padding: 0.5rem 1rem; /* style(4).css 10px 16px */
    border-radius: 50px; /* style(4).css 30px */
    border: none; font-weight: bold; cursor: pointer; display: flex; align-items: center;
    gap: 0.5rem; /* style(4).css 8px */
    font-size: 14px; /* style(4).css 16px */
    transition: background var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.user-dropdown .user-dropdown-toggle:hover {
    background: linear-gradient(135deg, var(--primary-hover-color), var(--primary-color));
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.user-dropdown .user-emoji { font-size: 1.2em; }
.user-dropdown .username-text { font-weight: 500; }
.user-dropdown .arrow.down { /* style(4).css ile aynı */
    border-color: #fff; /* Beyaz arka plan üzerinde görünmesi için */
    border-width: 0 2px 2px 0; padding: 3px; /* style(4).css 5px */
    transform: rotate(45deg); margin-left: 0.4rem; /* style(4).css 6px */
}
.user-dropdown-menu { /* ID: userDropdownMenu (dropdown-list-content ortak stilini kullanır) */
    right: 0; left: auto; /* Sağda açılması için */
    /* min-width: 160px; style(4).css ile aynı */
}

/* Giriş/Kayıt Butonları (Masaüstü) (style(4).css header .auth-links ... stillerini kullanır) */
.authentication-links-desktop .btn {
    font-size: 14px; /* Nav linklerle uyumlu */
    padding: 0.45rem 1.25rem; /* Biraz daha kompakt */
    min-width: auto; /* style(4).css 9.5rem */
}
.authentication-links-desktop .btn:first-child { margin-right: 0.5rem; }


/* Tema Değiştirme Butonu */
.theme-toggle-button {
    background: none; border: none; font-size: 1.4rem; cursor: pointer;
    color: var(--text-dark-primary); padding: 0.5rem; line-height: 1;
    border-radius: 50%;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}
.theme-toggle-button:hover {
    background-color: var(--dropdown-hover-bg-light);
    color: var(--primary-color);
}
.theme-icon-dark { display: none; } /* Başlangıçta ay ikonu (açık tema) görünür */


/* Portfoliom Linki (style(4).css .portfolio-disabled vb. stillerini kullanır) */
.portfolio-link { /* Genel nav link stilini alır */
    position: relative;
}
.portfolio-disabled .portfolio-title {
    font-weight: 500; /* style(4).css ile aynı */
    /* margin-bottom: 0.25rem; style(4).css ile aynı, ama span içinde olduğu için gerekmeyebilir */
}
.coming-soon-tag { /* style(4).css .coming-soon ile aynı mantık */
    display: inline-block; /* Başlıkla aynı satırda, sonra alta alacağız */
    font-size: 0.65rem; /* style(4).css 0.75rem */
    background-color: #ffc107; /* style(4).css ile aynı */
    color: #212529; /* style(4).css ile aynı */
    padding: 0.1em 0.4em; /* style(4).css 0.15em 0.5em */
    border-radius: 0.2rem; /* style(4).css 0.25rem */
    margin-left: 0.4rem;
    font-weight: bold;
    position: absolute; /* Başlığın sağına ve biraz üstüne */
    top: -5px;
    right: -10px;
    transform: rotate(10deg);
}


/* Mobil ve Tablet (<992px) için Stiller */
.mobile-only { display: none !important; } /* Varsayılan olarak gizli */
.desktop-only { display: flex; align-items: center; } /* style(4).css'de yoktu, eklendi */

@media screen and (max-width: 991px) {
    .main-header .container {
        /* Logo sola, hamburger sağa. Diğer action item'lar gizlenebilir veya hamburger içine taşınabilir. */
    }
    .logo-link .logo-img { height: 45px; } /* Mobilde biraz daha küçük logo */

    .hamburger-toggle-button { display: flex; }

    .nav-links { /* Mobil menü panel */
        position: fixed;
        top: var(--header-height);
        left: -100%; /* Başlangıçta ekran dışında */
        width: 80%; /* Ekran genişliğinin %80'i */
        max-width: 300px; /* Ama en fazla 280px Mobil menü genişliği*/ 
        height: calc(100vh - var(--header-height));
        background-color: var(--background-color-light);
        box-shadow: 0.5rem 0 1.5rem rgba(0,0,0,0.1);
        transition: left var(--transition-speed) ease-in-out;
        overflow-y: auto;
        z-index: 1032; /* Hamburger butonunun hemen altında */
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    .nav-links.active { left: 0; } /* JS ile .active class'ı eklendiğinde görünür olur */

    .nav-links ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        height: auto; /* İçeriğe göre yükseklik */
    }
    .nav-links li {
        width: 100%;
        height: auto;
        border-bottom: 1px solid var(--header-border-light);
    }
    .nav-links li:last-child { border-bottom: none; }

    .nav-links a:not(.btn) {
        display: normal; /* Block idi */
        word-break: break-word; /* Yeni eklendi işaret fişeği burada */
        width: 100%;
        padding: 0.9rem 1.25rem; /* Daha büyük tıklama alanı */
        border-bottom: none; /* Hover border'ı mobilde gereksiz */
        font-size: 15px;
    }
    .nav-links a:not(.btn):hover {
        background-color: var(--dropdown-hover-bg-light);
        border-bottom-color: transparent; /* Hover border'ını kaldır */
    }

    /* Mobil Navigasyon İçindeki Dropdown ("Çalışmalar") */
    .nav-links .dropdown > .dropdown-toggle-link { height: auto; }
    .nav-links .dropdown .icon-arrow-down { display: none; } /* Mobilde ok ikonu gizli, alt menü hep açık */
    .nav-links .dropdown .dropdown-list-content {
        position: static; display: block; opacity: 1; visibility: visible;
        transform: none; box-shadow: none; padding: 0;
        background-color: transparent; border-radius: 0; min-width: auto;
        border-top: 1px solid var(--header-border-light); /* Üst linkten ayırmak için */
    }
    .nav-links .dropdown .dropdown-list-content a {
        padding-left: 2.25rem; /* Alt menü maddelerini içeri al */
        font-size: 14px;
    }
    .nav-links .dropdown .dropdown-list-content a:hover { background-color: #e0e0e0; }


    /* Mobil için header aksiyonları: Sadece bildirim, kullanıcı ve tema butonu kalsın */
    .header-actions .history-link-desktop,
    .header-actions .authentication-links-desktop {
        display: none;
    }
    .user-dropdown .username-text { display: none; } /* Mobilde sadece emoji görünsün */
    .user-dropdown .user-dropdown-toggle { padding: 0.5rem; }
    .user-dropdown .user-emoji { margin-right: 0; } /* Emoji tek başına kalacağı için */
    .user-dropdown .arrow.down { display: none; } /* Kullanıcı adını göstermediğimiz için ok da gereksiz */


    .desktop-only { display: none !important; }
    .mobile-only { display: block !important; } /* Menü içindeki mobil linkler */
    .nav-links .mobile-only a.btn { /* Hamburger menü içindeki butonlar */
        display: block; text-align: center;
        margin: 0.75rem 1.25rem; padding: 0.65rem 1rem;
        font-size: 14px;
    }
    .nav-links .auth-link-mobile { border-bottom: none; } /* Butonların altındaki çizgiyi kaldır */
    .nav-links .mobile-only:first-child { border-top: 1px solid var(--header-border-light); margin-top: 1rem; padding-top: 0.5rem;} /* Üstteki linklerden ayır */

    .coming-soon-tag { /* Mobilde portfolyo linki menüde olacağı için etiketi daha standart yapalım */
        position: static; transform: none; display: inline; font-size: 0.6rem;
    }
}


/* ================================================================
   HEADER - KOYU TEMA STİLLERİ (style(4).css dosyanıza ekleyin/güncelleyin)
   ================================================================ */

body.dark-mode .main-header {
    background-color: var(--background-color-dark);
    border-bottom-color: var(--header-border-dark);
}
body.dark-mode .logo-link .logo-img {
    /* Eğer koyu temada farklı bir logo veya logo üzerinde işlem gerekiyorsa: */
    /* filter: brightness(0) invert(1); */ /* Örnek: Logoyu beyaza çevirir */
}
body.dark-mode .hamburger-toggle-button .hamburger-bar {
    background-color: var(--text-light-primary);
}

body.dark-mode .nav-links a:not(.btn) {
    color: var(--text-light-primary);
}
body.dark-mode .nav-links a:not(.btn):hover,
body.dark-mode .nav-links li.active a:not(.btn) {
    color: var(--primary-color); /* style(4).css #f9a825 */
    border-bottom-color: var(--primary-color);
}

body.dark-mode .nav-links .dropdown .icon-arrow-down {
    border-top-color: var(--text-light-primary);
}
body.dark-mode .nav-links .dropdown > .dropdown-toggle-link:hover .icon-arrow-down {
    border-top-color: var(--primary-color);
}

body.dark-mode .dropdown-list-content { /* Ortak dropdown arkaplanı */
    background-color: var(--dropdown-bg-dark);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.3); /* Daha belirgin gölge */
}
body.dark-mode .dropdown-list-content a,
body.dark-mode .notif-item-link {
    color: var(--text-light-primary);
}
body.dark-mode .dropdown-list-content a:hover,
body.dark-mode .notif-item-link:hover {
    background-color: var(--dropdown-hover-bg-dark);
    color: var(--primary-color);
}

body.dark-mode .header-actions .history-link-desktop {
    color: var(--text-light-primary);
}
body.dark-mode .header-actions .history-link-desktop:hover {
    color: var(--primary-color);
    background-color: var(--dropdown-hover-bg-dark);
}

/* Koyu Tema Bildirim Zili */
body.dark-mode .notif-dropdown .bell-icon-button {
    color: var(--text-light-primary);
}
body.dark-mode .notif-dropdown .bell-icon-button:hover {
    background-color: var(--dropdown-hover-bg-dark);
    color: var(--primary-color);
}
body.dark-mode #bell-badge { /* style(4).css'de zaten var, tutarlılık için */
    background: #e74c3c; color: #ffffff;
}
body.dark-mode .notif-menu .notif-list-item {
    border-bottom-color: var(--header-border-dark);
}
body.dark-mode .notif-menu .notif-list-item.unread { background-color: #2a2a2a; } /* style(4).css */
body.dark-mode .notif-item-link .notif-time { color: #868e96; }
body.dark-mode .notif-delete-button { color: #6c757d; }
body.dark-mode .notif-delete-button:hover { color: #e74c3c; }
body.dark-mode .notif-menu .notif-empty-message { color: #868e96; }
body.dark-mode .view-all-notifs { border-top-color: var(--header-border-dark); }
body.dark-mode .view-all-notifs a { color: var(--primary-color); }
body.dark-mode .view-all-notifs a:hover { background-color: var(--dropdown-hover-bg-dark); }


/* Koyu Tema Kullanıcı Dropdown */
body.dark-mode .user-dropdown .user-dropdown-toggle {
    /* Gradient style(4).css'de --accent ile aynı kalabilir veya koyu temaya özel ayarlanabilir.
       Mevcut style(4).css .user-dropdown-toggle dark mode: background: #2b2b2b; color: #f1f1f1;
       Bu daha iyi bir seçenek olabilir. */
    background: #2b2b2b;
    color: var(--text-light-primary);
}
body.dark-mode .user-dropdown .user-dropdown-toggle:hover {
    background: #3a3b3c;
}
body.dark-mode .user-dropdown .arrow.down {
    border-color: var(--text-light-primary);
}


/* Koyu Tema Giriş/Kayıt Butonları (Masaüstü) */
body.dark-mode .authentication-links-desktop .btn-primary {
    /* style(4).css .auth-card .btn-primary: background: #339af0; color: #fff;
       Header için bu renk uyumlu olmayabilir. Gold gradient kalabilir veya: */
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover-color));
    color: #000; /* Koyu metin */
    box-shadow: 0 2px 4px rgba(0,0,0,.25);
}
body.dark-mode .authentication-links-desktop .btn-primary:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,.35);
}
body.dark-mode .authentication-links-desktop .btn-outline {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
body.dark-mode .authentication-links-desktop .btn-outline:hover {
    background: var(--primary-color);
    color: #000;
}


/* Koyu Tema Tema Değiştirme Butonu */
body.dark-mode .theme-toggle-button {
    color: var(--text-light-primary);
}
body.dark-mode .theme-toggle-button:hover {
    background-color: var(--dropdown-hover-bg-dark);
    color: var(--primary-color);
}
body.dark-mode .theme-icon-light { display: none; } /* Karanlık temada güneş ikonu görünür */
body.dark-mode .theme-icon-dark { display: inline; }


/* Koyu Tema Portfoliom Linki */
body.dark-mode .portfolio-disabled {
    color: #a0a0a0; /* style(4).css #bebebe */
}
body.dark-mode .coming-soon-tag {
    background-color: var(--primary-color); /* style(4).css #ff9a1f */
    color: #222; /* style(4).css #222 */
}


/* Koyu Tema Mobil Navigasyon */
@media screen and (max-width: 991px) {
    body.dark-mode .nav-links { /* Mobil panel */
        background-color: var(--dropdown-bg-dark); /* Daha koyu bir panel */
        box-shadow: 0.5rem 0 1.5rem rgba(0,0,0,0.25);
    }
    body.dark-mode .nav-links li {
        border-bottom-color: var(--header-border-dark);
    }
    body.dark-mode .nav-links a:not(.btn):hover {
        background-color: var(--dropdown-hover-bg-dark);
    }
    body.dark-mode .nav-links .dropdown .dropdown-list-content {
        border-top-color: var(--header-border-dark);
    }
    body.dark-mode .nav-links .dropdown .dropdown-list-content a:hover {
        background-color: #4a4b4c; /* Alt menü için biraz daha farklı hover */
    }
    body.dark-mode .nav-links .mobile-only:first-child {
        border-top-color: var(--header-border-dark);
    }
}



/* Blog kısmı komple */
.blog-detay {
  max-width: 750px;
  margin: 0 auto;
  padding: 2rem;
  background-color: var(--bg-color);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.blog-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.blog-meta {
  font-size: 0.9rem;
  color: gray;
  margin-bottom: 1.5rem;
}

.blog-icerik {
  line-height: 1.7;
  font-size: 1.1rem;
  color: var(--text-color);
}

.blog-etiketler {
  margin-top: 2rem;
}

.etiket-badge {
  display: inline-block;
  background-color: rgba(255, 165, 0, 0.2); /* Soft turuncu tonu */
  color: #e67e22;
  padding: 0.3rem 0.8rem;
  border-radius: 16px;
  margin-right: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
}


.blog-baslik {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.blog-kartlar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.blog-karti {
  background-color: var(--bg-color);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-karti:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.blog-karti-baslik a {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
}

.blog-karti-meta {
  font-size: 0.85rem;
  color: gray;
  margin: 0.5rem 0 1rem;
}

.blog-karti-ozet {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
}


.devam-btn:hover {
  background-color: var(--primary-color-dark);
  transform: scale(1.04);
}

/* Yazı detay kısmı için */


.geri-btn:hover {
  background-color: var(--primary-color-dark);
  transform: scale(1.03);
}



/* Karanlık Mod */
body.dark-mode .blog-karti {
  background-color: #1e1e1e;
}

body.dark-mode .blog-karti-ozet,
body.dark-mode .blog-karti-meta {
  color: #ccc;
}


.devam-btn,
.geri-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.6rem 1.2rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  position: relative; /* Pozisyon sabitlenerek hover taşması engellenir */
  z-index: 1;
}

.devam-btn:hover,
.geri-btn:hover {
  background-color: var(--primary-color-dark);
  transform: scale(1.03);
}

:root {
  --primary-color: #ff9800;
  --primary-color-dark: #e07c00;
}

/* Detay kısmındaki etiketlerin açılır menüsü */
.etiket-toggle {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 0.4rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 0.8rem;
  transition: all 0.2s ease;
}

.etiket-toggle:hover {
  background-color: var(--primary-color);
  color: white;
}

.gizli {
  display: none;
}



/*-------------------------------------------------
 (                   Arama Yeri                  )
-------------------------------------------------*/

.arama-container {
  position: relative;
  display: inline-block; /* Buton ve kutu birlikte hizalanır */
  align-items: center;
}

.arama-btn {
  cursor: pointer;
  font-size: 1.5rem;
  background: none;
  border: none;
}


.arama-alani {
  position: absolute;
  top: 100%;
  left: 50%; /* Ortalamanın anahtarı */
  transform: translateX(-50%); /* Ortalamanın anahtarı */
  display: none;
  padding: 0.5rem;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  margin-top: 0.5rem;
  width: 250px;
  z-index: 1000;
}

.arama-alani.active {
  display: block;
}

.arama-form, 
.arama-kutu-wrapper input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/*-------------------------------------------------
Arama sonuçlarının ekranı
-------------------------------------------------*/

.arama-sonuclari {
  max-width: 700px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.arama-baslik {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--primary-color, #ffc107);
  padding-bottom: 0.5rem;
}

.kategori-baslik {
  font-size: 1.25rem;
  margin-top: 2rem;
  color: #333;
}

.sonuc-listesi {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}

.sonuc-listesi li {
  margin-bottom: 0.75rem;
}

.sonuc-link {
  text-decoration: none;
  color: #0077cc;
  font-weight: 500;
  transition: color 0.2s;
}

.sonuc-link:hover {
  color: #0056a3;
  text-decoration: underline;
}

.sonuc-bulunamadi {
  padding: 1rem;
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
  border-radius: 8px;
  margin-top: 1.5rem;
}

/* === Karanlık Tema için === */
body.dark-mode .arama-sonuclari {
  background-color: #1e1e1e;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.05);
}

body.dark-mode .arama-baslik {
  color: #f1f1f1;
  border-color: #666;
}

body.dark-mode .kategori-baslik {
  color: #e0e0e0;
}

body.dark-mode .sonuc-link {
  color: #90caf9;
}

body.dark-mode .sonuc-link:hover {
  color: #64b5f6;
}

body.dark-mode .sonuc-bulunamadi {
  background-color: #2a2a2a;
  border: 1px solid #555;
  color: #ddd;
}

/*-------------------------------------------------
Ehliyet Dönem Seçim Ekranı İçin CSS
--------------------------------------------------*/

/* Ehliyet Dönem Kartları */
.ehliyet-donemler {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.donem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.donem-kart {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  background-color: var(--card-bg, #f4f4f4);
  color: var(--text-color, #222);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: all 0.2s ease;
}

.donem-kart:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.donem-kart .emoji {
  font-size: 1.5rem;
}

.donem-kart .baslik {
  font-weight: bold;
  font-size: 1.1rem;
}

.donem-kart .tarih {
  font-size: 0.9rem;
  color: #888;
}

/* Karanlık tema destekli */
body.dark-mode .donem-kart {
  background-color: #1e1e1e;
  color: #eee;
}

body.dark-mode .donem-kart .tarih {
  color: #bbb;
}

/*Sınav ekranı ehliyet*/
.sinav-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.soru-karti {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--card-bg, #f8f8f8);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

body.dark-mode .soru-karti {
  background-color: #1e1e1e;
  color: #eee;
}

.soru-metin {
  margin-bottom: 1rem;
  font-weight: 600;
}

.secenekler {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.secenek-kutu {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  background-color: #fff;
  transition: all 0.2s ease;
}

.secenek-kutu:hover {
  border-color: var(--primary-color, #007bff);
}

.secenek-kutu input[type="radio"] {
  margin-right: 10px;
  accent-color: var(--primary-color, #007bff);
}

.secenek-kutu input[type="radio"]:checked + .secenek-icerik {
  font-weight: bold;
  color: var(--primary-color, #007bff);
}

body.dark-mode .secenek-kutu {
  background-color: #1e1e1e;
  border-color: #444;
  color: #eee;
}

/* Ehliyet sınav sonucu ekranı */
.sonuc-ekrani {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.sonuc-kutusu {
  background-color: #f4f4f4;
  border-left: 6px solid #999;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.sonuc-kutusu.basarili {
  border-color: #28a745;
  background-color: #e7f9ee;
}

.sonuc-kutusu.basarisiz {
  border-color: #dc3545;
  background-color: #fbe9e9;
}

.sonuc-kutusu p {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

.durum {
  margin-top: 1rem;
  font-size: 1.2rem;
}

.yanlislar-listesi {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.yanlislar-listesi h2 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.yanlislar-listesi li {
  margin-bottom: 1.25rem;
}

body.dark-mode .sonuc-kutusu {
  background-color: #222;
  color: #eee;
}

body.dark-mode .sonuc-kutusu.basarili {
  background-color: #16351e;
}

body.dark-mode .sonuc-kutusu.basarisiz {
  background-color: #381c1c;
}

body.dark-mode .yanlislar-listesi {
  background-color: #1e1e1e;
  color: #eee;
}


/* ─────────────── ISG Dönem Seçim ─────────────── */
.isg-donemler {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.isg-donem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
  justify-content: center;
}

.isg-donem-kart {
  max-width: 280px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.isg-donem-kart:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.isg-emoji {
  font-size: 2rem;
}

.isg-baslik {
  font-weight: 600;
  margin-top: 0.5rem;
}

.isg-tarih {
  font-size: 0.85rem;
  color: #666;
}







/* ─────────────── ISG Soru Sayfası: Genel Yapı ─────────────── */
.isg-sinav-container {
  padding: 2rem 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.isg-soru-kutu {
  margin-bottom: 2rem;
  padding: 1.25rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: #fff;
}

/* ─────────────── ISG Soru Metni ─────────────── */
.isg-soru-metin {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #222;
}

/* ─────────────── ISG Seçenekler: Kutulu, Mobil Dostu ─────────────── */
.isg-secenekler {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.isg-secenek-label {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
  user-select: none;
}

.isg-secenek-label:hover {
  border-color: var(--primary-color, #007bff);
  background-color: #f0f8ff;
}

.isg-secenek-label input[type="radio"] {
  margin-right: 0.75rem;
  transform: scale(1.3);
}

.isg-secenek-label input[type="radio"]:checked + span {
  font-weight: bold;
  color: var(--primary-color, #007bff);
}





/* ─────────────── ISG: Karanlık Tema Desteği ─────────────── */
body.dark-mode .isg-soru-kutu {
  background-color: #1e1e1e;
  border-color: #444;
  color: #eee;
}

body.dark-mode .isg-soru-metin {
  color: #eee;
}

body.dark-mode .isg-secenek-label {
  background-color: #1f1f1f;
  border-color: #444;
  color: #ddd;
}

body.dark-mode .isg-secenek-label:hover {
  background-color: #2a2a2a;
}

body.dark-mode .isg-secenek-label input[type="radio"]:checked + span {
  color: #4faaff;
}





/* ─────────────── ISG Sonuç Ekranı ─────────────── */
.isg-sonuc-container {
  padding: 2rem 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.isg-sonuc-kutu {
  background: #f2f2f2;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.isg-yanlislar {
  background: #fff;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.isg-yanlis-soru {
  margin-bottom: 1.5rem;
}

.isg-dogru-yanit {
  color: green;
}

.isg-yanlis-yanit {
  color: red;
}





/* ─────────────── ISG Sınıf Seçimi Butonları ─────────────── */
.isg-sinif-secimi {
  text-align: center;
  margin-bottom: 2rem;
}

.isg-sinif-secimi a {
  display: inline-block;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #f0f0f0;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: background 0.2s;
}

.isg-sinif-secimi a:hover {
  background-color: #e0e0e0;
}

.isg-sinif-secimi a.aktif {
  background-color: #007bff;
  color: #fff;
}

body.dark-mode .isg-sinif-secimi a {
  background-color: #1f1f1f;
  color: #ccc;
}

body.dark-mode .isg-sinif-secimi a.aktif {
  background-color: #4faaff;
  color: #fff;
}




/* ─────────────── ISG Karanlık Tema Uyumları ─────────────── */
body.dark-mode .isg-donem-kart {
  background-color: #1e1e1e;
  border-color: #444;
  color: #eee;
}

body.dark-mode .isg-tarih {
  color: #aaa;
}

body.dark-mode .isg-soru-kutu {
  background-color: #1e1e1e;
  border-color: #444;
  color: #eee;
}

body.dark-mode .isg-secenek-label {
  background-color: #1f1f1f;
  border-color: #444;
  color: #ddd;
}

body.dark-mode .isg-secenek-label:hover {
  background-color: #2a2a2a;
}

body.dark-mode .isg-secenek-label input[type="radio"]:checked + span {
  color: #4faaff;
}

body.dark-mode .isg-sonuc-kutu {
  background-color: #1e1e1e;
  color: #eee;
}

body.dark-mode .isg-yanlislar {
  background-color: #1e1e1e;
  color: #eee;
  border-color: #444;
}






/* ─────────────── Genel: Kategorilere Dön Butonu ─────────────── */
.sinav-kategoridon {
  text-align: center;
  margin: 2rem 0;
}

.sinav-kategoridon .btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 6px;
  background-color: #f0f0f0;
  color: #333;
  text-decoration: none;
  border: 1px solid #ccc;
  transition: background 0.2s;
}

.sinav-kategoridon .btn:hover {
  background-color: #e0e0e0;
}

body.dark-mode .sinav-kategoridon .btn {
  background-color: #1f1f1f;
  color: #ccc;
  border-color: #444;
}

body.dark-mode .sinav-kategoridon .btn:hover {
  background-color: #2a2a2a;
}

/* Eğer logonuza bir class verdiyseniz (önerilir) 
.site-logo {
  width: 150px;  İstediğiniz genişliği piksel cinsinden ayarlayın 
  height: auto;    Genişliğe göre orantılı yükseklik için 'auto' kullanın 
  /* Veya spesifik bir yükseklik de verebilirsiniz: height: 50px;
} */

/* Eğer logonuza bir ID verdiyseniz 
#header-logo { ID'niz farklı olabilir 
  width: 180px;
  height: auto;
}*/

.light-mode-logo { display: block; }
.dark-mode-logo { display: none; }

body.dark-mode .light-mode-logo { display: none; }
body.dark-mode .dark-mode-logo { display: block; }

