/* --- GENEL AYARLAR --- */
body {
  margin: 0; padding: 0;
  background-color: #f4f6f8;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-width: 320px;
}

.app-wrapper {
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 350px;
  padding: 15px;
  text-align: center;
  box-sizing: border-box;
  background: #f4f6f8;
  transition: max-width 0.3s ease;
}

/* --- RESPONSIVE: GENİŞ EKRAN (TAB) MODU --- */
@media (min-width: 600px) {
  .container {
    max-width: 600px;
    background: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    margin: 20px 0;
    border-radius: 15px;
  }
  
  .main-card-scene { height: 400px !important; }
  #arabic-word { font-size: 50px !important; margin-top: 20px !important; }
  #turkish-meaning { font-size: 28px !important; }
  .arabic-sentence { font-size: 32px !important; line-height: 2 !important; }
  .turkish-sentence { font-size: 18px !important; }
  .action-btn { padding: 15px !important; font-size: 16px !important; }
  .icon-btn { font-size: 20px !important; }
}

/* --- HEADERS & BUTONLAR --- */
.header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.header-center { display: flex; gap: 10px; }
.badge { background-color: #2ecc71; color: white; padding: 3px 8px; border-radius: 4px; font-size: 12px; font-weight: bold; }

.icon-btn { border: none; background: none; color: #95a5a6; cursor: pointer; font-size: 16px; transition: 0.3s; }
.icon-btn:hover { color: #2c3e50; }
.profile-icon { color: #3498db; }
.quiz-icon { color: #9b59b6; }
.suggest-icon { color: #f1c40f; }
#refresh-btn:hover { transform: rotate(180deg); color: #34495e; }

/* --- KELİME KARTI --- */
.main-card-scene { perspective: 1000px; width: 100%; height: 340px; margin-bottom: 15px; cursor: pointer; }
.main-card-inner { position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1); transform-style: preserve-3d; }
.main-card-inner.flipped { transform: rotateY(180deg); }
.main-card-face { position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); background: white; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 10px; box-sizing: border-box; border: 1px solid #f0f0f0; }
.main-card-front { z-index: 2; }
.main-card-back { transform: rotateY(180deg); background: #fdfdfd; }

#arabic-word { margin: 0; color: #2c3e50; font-size: 32px; font-family: 'Amiri', serif; }
.click-hint { position: absolute; bottom: 15px; font-size: 11px; color: #bdc3c7; display: flex; align-items: center; gap: 5px; }
.card-top-actions { position: absolute; top: 10px; right: 10px; }
.icon-action-btn { background: white; border: 1px solid #eee; color: #95a5a6; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 14px; transition: 0.2s; display: flex; align-items: center; justify-content: center; }
.icon-action-btn:hover { background: #e3f2fd; color: #3498db; }

.card-content-scroll { width: 100%; max-height: 100%; overflow-y: auto; padding: 5px; }
#turkish-meaning { color: #2980b9; font-size: 20px; font-weight: bold; margin: 0 0 10px 0; }
.divider { height: 1px; background: #eee; width: 50%; margin: 10px auto; }

.example-box { background: #fff3e0; padding: 15px; border-radius: 8px; border-left: 4px solid #ff9800; text-align: left; margin-top: 15px; }
.arabic-sentence { font-size: 24px; line-height: 1.8; color: #d35400; margin: 0 0 10px 0; direction: rtl; font-family: 'Amiri', serif; }
.turkish-sentence { font-size: 14px; line-height: 1.5; color: #555; margin: 0; font-style: italic; }

.footer { display: flex; justify-content: space-around; gap: 10px; }
.action-btn { flex: 1; padding: 10px; border: none; border-radius: 6px; cursor: pointer; font-size: 13px; transition: background 0.2s; }
#fav-btn { background: #fff; color: #e74c3c; border: 1px solid #e74c3c; }
#fav-btn:hover { background: #e74c3c; color: white; }
#learned-btn { background: #fff; color: #27ae60; border: 1px solid #27ae60; }
#learned-btn:hover { background: #27ae60; color: white; }

/* --- İSTATİSTİK & LİDERLİK TABLOSU --- */
.stats-card { background: white; padding: 20px; border-radius: 10px; text-align: center; }
.stat-grid { display: flex; justify-content: space-around; margin: 20px 0; border-bottom: 1px solid #f8f8f8; padding-bottom: 15px; }
.stat-item { display: flex; flex-direction: column; }
.stat-number { font-size: 22px; font-weight: bold; color: #3498db; }
.stat-label { font-size: 11px; color: #95a5a6; text-transform: uppercase; letter-spacing: 0.5px; }
.rank-badge i { font-size: 40px; color: #f1c40f; margin-bottom: 5px; }
.rank-badge h3 { margin: 0; color: #2c3e50; font-size: 18px; }
.progress-container { margin: 10px 0 20px 0; text-align: left; }
.progress-bar { background: #ecf0f1; border-radius: 10px; height: 10px; width: 100%; overflow: hidden; }
.progress-fill { background: #2ecc71; height: 100%; width: 0%; transition: width 1s ease-in-out; }
.badges-area { margin-top: 20px; text-align: left; }
.badges-area h4 { font-size: 13px; color: #7f8c8d; border-bottom: 1px solid #eee; padding-bottom: 5px; margin-bottom: 10px; }
.badges-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.badge-item { background: #f9f9f9; border: 1px solid #eee; border-radius: 6px; padding: 5px 8px; display: flex; align-items: center; gap: 5px; font-size: 11px; color: #555; }
.back-btn { background: #34495e; color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; width: 100%; margin-top: 15px; }

/* YENİ: Liderlik Tablosu Stilleri */
.leaderboard-list { background: #f8f9fa; border-radius: 8px; padding: 10px; max-height: 200px; overflow-y: auto; }
.leaderboard-item { display: flex; justify-content: space-between; padding: 8px; border-bottom: 1px solid #eee; font-size: 13px; color: #555; }
.leaderboard-item:last-child { border-bottom: none; }
.leaderboard-rank { font-weight: bold; width: 25px; color: #bdc3c7; }
.leaderboard-rank.top1 { color: #f1c40f; } 
.leaderboard-rank.top2 { color: #95a5a6; } 
.leaderboard-rank.top3 { color: #d35400; } 
.leaderboard-score { font-weight: bold; color: #2ecc71; }

/* YENİ: Streak (Alev) Rozeti */
.streak-badge {
    background: #fff0e6;
    color: #e67e22;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #ffccbc;
    margin-right: 5px;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(230, 126, 34, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0); }
}

/* --- QUIZ & AYARLAR --- */
.setup-container { padding: 5px; text-align: left; }
.setup-label { font-size: 11px; font-weight: bold; color: #95a5a6; margin-top: 15px; margin-bottom: 5px; display: block; letter-spacing: 0.5px; }
.setup-options-row { display: flex; gap: 10px; margin-bottom: 10px; }
.setup-card-option { flex: 1; border: 1px solid #e0e0e0; border-radius: 8px; padding: 10px; cursor: pointer; background: white; transition: all 0.2s; text-align: center; }
.setup-card-option:hover { border-color: #3498db; background: #f0f8ff; }
.setup-card-option.selected { border: 2px solid #3498db; background: #eef7fc; color: #2980b9; }
.setup-card-option strong { display: block; font-size: 13px; margin-bottom: 2px; }
.setup-card-option span { display: block; font-size: 10px; color: #7f8c8d; }
.setup-input { width: 100%; padding: 10px; border: 1px solid #bdc3c7; border-radius: 8px; font-size: 16px; text-align: center; box-sizing: border-box; }
.save-btn { background: #3498db; color: white; border: none; padding: 12px; border-radius: 6px; cursor: pointer; width: 100%; font-size: 15px; font-weight: 600; margin-top: 15px; }
.outline-btn { background: white; border: 1px solid #3498db; color: #3498db; padding: 12px; border-radius: 6px; cursor: pointer; width: 100%; font-size: 15px; font-weight: 600; transition: all 0.2s; }
.outline-btn:hover { background: #f0f8ff; }

.quiz-navigator { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin-bottom: 15px; padding: 5px; background: white; border-radius: 8px; }
.nav-circle { width: 25px; height: 25px; border-radius: 50%; background: #ecf0f1; color: #7f8c8d; font-size: 11px; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 1px solid #ddd; transition: all 0.2s; }
.nav-circle.active { border: 2px solid #3498db; font-weight: bold; transform: scale(1.1); }
.nav-circle.answered { background: #3498db; color: white; border-color: #2980b9; }
.nav-circle.correct { background: #2ecc71; color: white; border-color: #27ae60; } 
.nav-circle.wrong { background: #e74c3c; color: white; border-color: #c0392b; }

.quiz-question-box { background: #fff; padding: 20px 10px; border-radius: 10px; margin-bottom: 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
#quiz-question { margin: 0; color: #2c3e50; font-size: 32px; font-family: 'Amiri', serif; }
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.option-btn { background: white; border: 1px solid #ddd; padding: 12px; border-radius: 8px; font-size: 14px; cursor: pointer; transition: all 0.2s; color: #555; text-align: left; }
.option-btn:hover { background: #f8f9fa; border-color: #bdc3c7; }
.opt-correct { background-color: #2ecc71 !important; color: white !important; border-color: #27ae60 !important; }
.opt-wrong { background-color: #e74c3c !important; color: white !important; border-color: #c0392b !important; opacity: 0.6; }
.opt-neutral { background-color: #3498db !important; color: white !important; }

.flashcard-container { perspective: 1000px; height: 180px; width: 100%; cursor: pointer; margin-bottom: 10px; }
.flashcard-inner { position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.6s; transform-style: preserve-3d; }
.flashcard-container.flipped .flashcard-inner { transform: rotateY(180deg); }
.flashcard-front, .flashcard-back { position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); display: flex; flex-direction: column; align-items: center; justify-content: center; background: white; }
.flashcard-back { transform: rotateY(180deg); background-color: #fff8e1; border: 2px solid #ffecb3; }
.flashcard-front h2 { color: #2c3e50; font-family: 'Amiri', serif; font-size: 32px; margin: 0; }
.flashcard-back h2 { color: #d35400; font-size: 24px; margin: 0; }

.quiz-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; padding-top: 10px; border-top: 1px solid #eee; }
.nav-btn { background: #f8f9fa; border: 1px solid #ddd; padding: 8px 15px; border-radius: 6px; cursor: pointer; color: #555; font-size: 13px; }
.nav-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.list-header { display: flex; align-items: center; border-bottom: 1px solid #eee; padding-bottom: 10px; margin-bottom: 10px; }
.list-header h3 { margin: 0 0 0 10px; font-size: 16px; color: #2c3e50; }
.word-list { max-height: 300px; overflow-y: auto; text-align: left; }
.list-item { display: flex; justify-content: space-between; align-items: center; background: white; padding: 10px; margin-bottom: 8px; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.item-text h4 { margin: 0; color: #2c3e50; font-size: 16px; }
.item-text p { margin: 2px 0 0 0; color: #7f8c8d; font-size: 12px; }
.delete-btn { background: none; border: none; color: #e74c3c; cursor: pointer; padding: 5px; font-size: 14px; }

.info-card { background: white; padding: 20px; border-radius: 10px; text-align: center; }
.app-footer { margin-top: 15px; padding-top: 10px; border-top: 1px solid #eee; text-align: center; font-size: 11px; }
.app-footer a { color: #95a5a6; text-decoration: none; font-weight: 600; transition: color 0.2s; }
.app-footer a:hover { color: #3498db; }

textarea.setup-input { resize: vertical; text-align: left; font-family: 'Segoe UI', sans-serif; }
#sug-arabic, #sug-sentence { font-family: 'Amiri', serif; }

/* --- ARAMA KUTUSU --- */
.search-container input { width: 100%; background-color: #fff; border: 1px solid #e0e0e0; border-radius: 20px; padding-left: 15px !important; transition: all 0.3s; outline: none; }
.search-container input:focus { border-color: #3498db; box-shadow: 0 0 5px rgba(52, 152, 219, 0.3); }

/* --- KOYU MOD (DARK MODE) --- */
body.dark-mode { background-color: #2c3e50; color: #ecf0f1; }
body.dark-mode .container, body.dark-mode .app-wrapper { background-color: #2c3e50; }
@media (min-width: 600px) { body.dark-mode .container { background-color: #34495e; box-shadow: 0 0 20px rgba(0,0,0,0.5); } }

body.dark-mode .main-card-face, body.dark-mode .stats-card, body.dark-mode .info-card, body.dark-mode .setup-container, body.dark-mode .quiz-question-box, body.dark-mode .list-item, body.dark-mode .setup-card-option, body.dark-mode .flashcard-front, body.dark-mode .flashcard-back { background-color: #34495e; color: #ecf0f1; border-color: #46637f; }

body.dark-mode #arabic-word, body.dark-mode .item-text h4, body.dark-mode .rank-badge h3, body.dark-mode .list-header h3, body.dark-mode #quiz-question, body.dark-mode .flashcard-front h2 { color: #ecf0f1; }
body.dark-mode #turkish-meaning { color: #3498db; }
body.dark-mode .click-hint { color: #95a5a6; }

body.dark-mode .example-box { background-color: #2c3e50; border-left-color: #e67e22; }
body.dark-mode .arabic-sentence { color: #e67e22; }
body.dark-mode .turkish-sentence { color: #bdc3c7; }

body.dark-mode .icon-btn { color: #bdc3c7; }
body.dark-mode .icon-btn:hover { color: #ecf0f1; }
body.dark-mode .icon-action-btn { background-color: #2c3e50; border-color: #46637f; color: #bdc3c7; }
body.dark-mode .icon-action-btn:hover { background-color: #1abc9c; color: white; }

body.dark-mode .setup-card-option:hover { background-color: #2c3e50; border-color: #3498db; }
body.dark-mode .setup-card-option.selected { background-color: #2c3e50; border-color: #3498db; color: #3498db; }
body.dark-mode .setup-input { background-color: #2c3e50; border-color: #46637f; color: #ecf0f1; }
body.dark-mode .option-btn { background-color: #34495e; border-color: #46637f; color: #ecf0f1; }
body.dark-mode .option-btn:hover { background-color: #2c3e50; }

body.dark-mode .badge-item { background-color: #2c3e50; border-color: #46637f; color: #bdc3c7; }
body.dark-mode .app-footer { border-top-color: #46637f; }
body.dark-mode .app-footer a { color: #7f8c8d; }
body.dark-mode .app-footer a:hover { color: #3498db; }
body.dark-mode .search-container input { background-color: #34495e; border-color: #46637f; color: #ecf0f1; }

/* KOYU MOD İÇİN YENİ EKLENENLER */
body.dark-mode .streak-badge { background: #d35400; color: #fff; border-color: #e67e22; }
body.dark-mode .leaderboard-list { background: #2c3e50; border: 1px solid #46637f; }
body.dark-mode .leaderboard-item { border-color: #46637f; color: #bdc3c7; }

/* Koyu Modda Info Card ve Ayarlar Düzeltmesi */
body.dark-mode .info-card, 
body.dark-mode #view-settings .info-card {
    background-color: #34495e;
    color: #ecf0f1;
    border-color: #46637f;
}
body.dark-mode .info-card p, 
body.dark-mode .info-card ul {
    color: #bdc3c7 !important;
}
body.dark-mode #backup-code-display {
    background-color: #2c3e50 !important;
    color: #ecf0f1 !important;
    border-color: #46637f;
}

/* --- MODAL (POPUP) STİLLERİ (GÜNCELLENDİ) --- */
.modal-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0;
    bottom: 0;
    width: 100%; 
    height: 100%;
    background-color: rgba(0,0,0,0.5); 
    z-index: 10000; /* Z-index artırıldı, en üstte kalsın */
    
    /* Hizalama Garantisi İçin Flex ve Grid Birlikte */
    display: flex; 
    align-items: center; 
    justify-content: center;
    
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px); /* Safari için */
}

.modal-content {
    position: relative; /* Sabit konumdan çıkıp relative yapıyoruz */
    background: white; 
    width: 90%; 
    max-width: 350px;
    border-radius: 12px; 
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    
    /* Kenar boşlukları ile zorla ortalama (Edge Fix) */
    margin: auto; 
    
    animation: zoomIn 0.3s ease;
}

.modal-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 10px; 
}

/* Animasyon: Aşağıdan yukarı yerine, Merkeze Zoom efekti (Daha şık) */
@keyframes zoomIn { 
    from { transform: scale(0.8); opacity: 0; } 
    to { transform: scale(1); opacity: 1; } 
}

/* Modal Koyu Mod Uyumu */
body.dark-mode .modal-content { 
    background: #34495e; 
    color: white; 
    border: 1px solid #46637f;
}

/* Splash Screen */
#splash-screen { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: #3498db; /* Ana renk */
    z-index: 9999; 
    display: flex; justify-content: center; align-items: center; 
    transition: opacity 0.5s ease-out; 
}
.splash-content { text-align: center; color: white; }
.splash-logo { width: 80px; margin-bottom: 10px; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --- YENİ EKLENEN: INFO EKRANI İÇİN İPUCU KUTUSU VE KOYU MOD DÜZELTMESİ --- */
.tip-box {
    background-color: #f0f9ff;
    border-left: 4px solid #3498db;
    padding: 12px;
    margin: 15px 0;
    text-align: left;
    font-size: 12px;
    color: #34495e;
    border-radius: 4px;
}

.tip-box strong {
    color: #2980b9;
    font-size: 13px;
}

/* Karanlık Mod Uyumu - ZORUNLU GÖRÜNÜM (IMPORTANT) */
body.dark-mode .tip-box {
    background-color: #2c3e50 !important;
    border-left-color: #3498db !important;
    border-top: 1px solid #34495e;
    border-right: 1px solid #34495e;
    border-bottom: 1px solid #34495e;
    color: #ecf0f1 !important;
}

body.dark-mode .tip-box strong {
    color: #6dd5fa;
}

/* Info Başlıkları için Koyu Mod Düzeltmesi */
body.dark-mode .info-card h4 {
    color: #ecf0f1 !important;
    border-bottom-color: #46637f !important;
}

/* Profil İsmi Stili */
body.dark-mode #profile-name-display {
    color: #ecf0f1 !important;
}
/* --- LİSTE EKRANI KARANLIK MOD DÜZELTMELERİ --- */

/* Liste elemanının arka planı ve çerçevesi */
body.dark-mode .list-item {
    background-color: #34495e !important;
    border: 1px solid #46637f !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
}

/* Arapça Kelime Rengi (Beyaz) */
body.dark-mode .item-text h4 {
    color: #ecf0f1 !important;
}

/* TÜRKÇE ANLAM RENGİ (DÜZELTME - Açık Gri/Mavi) */
body.dark-mode .item-text p {
    color: #bdc3c7 !important;
}

/* Silme Butonu Rengi */
body.dark-mode .delete-btn {
    color: #e74c3c !important;
    background-color: rgba(231, 76, 60, 0.1); /* Hafif kırmızı arka plan */
    border-radius: 5px;
}

body.dark-mode .delete-btn:hover {
    background-color: rgba(231, 76, 60, 0.3) !important;
}

/* Liste Başlığı (Listem) ve Alt Çizgi */
body.dark-mode .list-header {
    border-bottom-color: #46637f !important;
}
body.dark-mode .list-header h3 {
    color: #ecf0f1 !important;
}

/* Liste Boş Uyarısı İkon ve Yazısı */
body.dark-mode #word-list-container i {
    color: #5d6d7e !important;
}
body.dark-mode #word-list-container p {
    color: #95a5a6 !important;
}
/* --- SÖZLÜK ANAHTARI VE ÖRNEK CÜMLELER (GÜNCELLENMİŞ) --- */

/* Anahtar (Switch) Konteyner */
.switch-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

/* Gizli Checkbox */
.switch-container input {
    display: none;
}

/* Kaydırıcı (Slider) */
.slider {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

/* Aktif Durum */
.switch-container input:checked + .slider {
    background-color: #3498db;
}

.switch-container input:checked + .slider:before {
    transform: translateX(14px);
}

/* --- YENİ: Örnek Cümle Kutusu (BÜYÜK FONT) --- */
.dict-example-box {
    margin-top: 15px;
    padding: 15px 10px;
    border-top: 1px solid #eee;
    background-color: #fcfcfc; /* Çok hafif bir arka plan */
    border-radius: 8px;
}

/* Arapça Cümle */
.dict-ar-sent {
    font-family: 'Amiri', serif;
    font-size: 26px; /* FONT BÜYÜTÜLDÜ */
    color: #d35400;
    margin: 0 0 8px 0;
    direction: rtl;
    text-align: right;
    line-height: 1.6;
}

/* Türkçe Çeviri */
.dict-tr-sent {
    font-size: 15px; /* FONT BÜYÜTÜLDÜ */
    color: #555; /* Biraz daha koyu okunabilir gri */
    margin: 0;
    font-style: italic;
    text-align: left;
    line-height: 1.4;
}

/* Koyu Mod Uyumu */
body.dark-mode .dict-example-box {
    border-top-color: #46637f;
    background-color: rgba(255,255,255,0.05);
}
body.dark-mode .dict-ar-sent {
    color: #e67e22;
}
body.dark-mode .dict-tr-sent {
    color: #bdc3c7;
}
/* --- SÖZLÜK AKSİYON BUTONLARI (FAVORİ / ÖĞRENDİM) --- */
.dict-action-btns .dict-btn {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #95a5a6;
    transition: all 0.2s ease;
}

.dict-action-btns .dict-btn:hover {
    background: #f1f2f6;
    color: #2c3e50;
}

/* Tıklanmış/Aktif Durumlar İçin */
.dict-action-btns .dict-btn.active-fav i {
    color: #e74c3c !important;
}
.dict-action-btns .dict-btn.active-learn i {
    color: #27ae60 !important;
}

/* Karanlık Mod Uyumu */
body.dark-mode .dict-action-btns .dict-btn {
    border-color: #46637f;
    color: #7f8c8d;
}

body.dark-mode .dict-action-btns .dict-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #ecf0f1;
}