/* ========================================
   SÖZLÜK KELİME DETAY SAYFASI STİLLERİ
   ======================================== */

/* Ana Container */
.sozluk-detay-container {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

/* Kelime Başlık Kartı */
.kelime-baslik-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    text-align: center;
}

.kelime-isim {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0px;
}

/* Kelime Ses Butonu */
.kelime-ses-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3d618d 0%, #5b82b0 100%);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.kelime-ses-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(61, 97, 141, 0.4);
}

.kelime-ses-btn.playing i {
    animation: pulse 1s infinite;
}

/* Anlam İçi Ses Butonu */
.anlam-ses-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #3d618d;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 10px;
    flex-shrink: 0;
}

.anlam-ses-btn:hover {
    background: #2d4a6a;
    transform: scale(1.1);
}

.anlam-ses-btn.playing i {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.kelime-okunus {
    font-size: 16px;
    color: #64748b;
    font-style: italic;
}

/* Boş Durum */
.sozluk-bos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.sozluk-bos-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.sozluk-bos-icon i {
    font-size: 40px;
    color: #f59e0b;
}

.sozluk-bos h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.sozluk-bos p {
    font-size: 14px;
    color: #64748b;
    max-width: 300px;
    line-height: 1.6;
}

/* Anlam Kartı */
.anlam-card {
    background: #fff;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.anlam-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Anlam Header */
.anlam-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 10px;
    margin-bottom: 16px;
}

.anlam-seviye {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3d618d 0%, #5b82b0 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 10px;
}

.anlam-seviye.a1 { background: linear-gradient(135deg, #10b981 0%, #34d399 100%); }
.anlam-seviye.a2 { background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%); }
.anlam-seviye.b1 { background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%); }
.anlam-seviye.b2 { background: linear-gradient(135deg, #f97316 0%, #fb923c 100%); }
.anlam-seviye.c1 { background: linear-gradient(135deg, #ef4444 0%, #f87171 100%); }
.anlam-seviye.c2 { background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%); }

.anlam-nitelik {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #e0e7ff;
    color: #4338ca;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
}

.anlam-kullanim {
    display: flex;
    align-items: center;
    gap: 8px;
}

.kullanim-bar {
    width: 60px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.kullanim-fill {
    height: 100%;
    background: linear-gradient(90deg, #7EE7D2 0%, #3d618d 100%);
    border-radius: 3px;
}

.kullanim-text {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* Anlam Body - kelime.css'e taşındı, burada sadece fallback */

.anlam-icerik {
    flex: 1;
    min-width: 0;
}

/* Anlam Bilgi Satırları */
.anlam-satir {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.anlam-satir-label {
    font-weight: 600;
    color: #ef4444;
    min-width: 100px;
    flex-shrink: 0;
}

.anlam-satir-value {
    color: #334155;
}

.anlam-satir-value a {
    color: #3d618d;
    text-decoration: none;
    font-weight: 500;
}

.anlam-satir-value a:hover {
    color: #1e3a5f;
    text-decoration: underline;
}

/* Karşılık - Vurgulu */
.anlam-karsilik {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.anlam-karsilik .anlam-satir-label {
    color: #92400e;
}

.anlam-karsilik .anlam-satir-value {
    font-size: 18px;
    font-weight: 700;
    color: #78350f;
}

/* Açıklama Kutusu */
.anlam-aciklama {
    background: #f8fafc;
    padding: 14px 16px;
    border-radius: 8px;
    border-left: 4px solid #3d618d;
    margin: 16px 0;
}

.anlam-aciklama p {
    margin: 0;
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
}

/* Örnek Kullanım */
.ornek-kullanim {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 10px;
    position: relative;
}

.ornek-kullanim::before {
    content: '"';
    position: absolute;
    left: 10px;
    top: 5px;
    font-size: 32px;
    color: #10b981;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.ornek-kullanim p {
    margin: 0;
    font-size: 14px;
    color: #065f46;
    font-style: italic;
    padding-left: 20px;
}

/* Etiket ve Benzer */
.anlam-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.anlam-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.anlam-tag:hover {
    background: #3d618d;
    color: #fff;
}

.anlam-tag i {
    font-size: 10px;
}

/* Kaynak */
.anlam-kaynak {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 11px;
    color: #94a3b8;
}

.anlam-kaynak img {
    width: 16px;
    height: 16px;
    border-radius: 2px;
}

/* Konu Kartları */
.konu-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.konu-card:hover {
    background: #fff;
    border-color: #3d618d;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.konu-card i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #4338ca;
    border-radius: 8px;
    font-size: 14px;
}

.konu-card span {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
}

/* İlgili Kelimeler Grid */
.ilgili-kelimeler {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
    border: 1px solid #e2e8f0;
}

.ilgili-kelimeler-baslik {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.ilgili-kelimeler-baslik i {
    color: #3d618d;
}

.kelime-grid-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    margin-bottom: 12px;
}

.kelime-grid-item:hover {
    background: #fff;
    border-color: #3d618d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.kelime-grid-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.kelime-grid-item span {
    font-size: 15px;
    font-weight: 500;
    color: #1e293b;
}

/* Responsive */
@media (max-width: 768px) {

    .anlam-header {
        flex-wrap: wrap;
        gap: 12px;
    }

    .kelime-isim {
        font-size: 26px;
        margin: 0px;
    }

    .anlam-satir {
        flex-direction: column;
        gap: 2px;
    }

    .anlam-satir-label {
        min-width: auto;
    }
}

@media (max-width: 576px) {
    .sozluk-detay-container {
        padding: 16px;
    }

    .kelime-baslik-card {
        padding: 16px;
    }

    .kelime-isim {
        font-size: 22px;
        margin: 0px;
    }
}

/* Kullanım Label */
.kullanim-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
}

/* Etiketler ve Benzer Kelimeler - Row Düzeni */
.anlam-tags-row {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.anlam-tags-label {
    font-size: 14px;
    font-weight: 600;
    color: #ef4444;
    display: block;
    margin-bottom: 8px;
}

.anlam-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (min-width: 768px) {
    .anlam-tags-label {
        margin-bottom: 0;
        padding-top: 6px;
    }
}

/* Arama Kutusu */
.sozluk-arama-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
}

.sozluk-arama-input {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border-radius: 10px;
    padding: 4px 4px 4px 14px;
    border: 1px solid #e2e8f0;
}

.sozluk-arama-input i {
    color: #94a3b8;
    font-size: 16px;
}

.sozluk-arama-input input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    padding: 8px 0;
}

.sozluk-arama-input input::placeholder {
    color: #94a3b8;
}

.sozluk-arama-input button {
    background: linear-gradient(135deg, #3d618d 0%, #5b82b0 100%);
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sozluk-arama-input button:hover {
    background: linear-gradient(135deg, #2d4a6a 0%, #3d618d 100%);
}

/* Paylaş/Like/Favori Butonları */
.sozluk-actions-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
}

.sozluk-actions {
    display: flex;
    gap: 8px;
}

.sozluk-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sozluk-action-btn i {
    font-size: 18px;
}

.sozluk-action-btn span {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
}

.sozluk-action-btn.share {
    color: #3d618d;
}

.sozluk-action-btn.share:hover {
    background: #e0f2fe;
    border-color: #3d618d;
}

.sozluk-action-btn.like {
    color: #ef4444;
}

.sozluk-action-btn.like:hover {
    background: #fef2f2;
    border-color: #ef4444;
}

.sozluk-action-btn.fav {
    color: #f59e0b;
}

.sozluk-action-btn.fav:hover {
    background: #fffbeb;
    border-color: #f59e0b;
}

.sozluk-action-btn.active {
    background: #3d618d;
    border-color: #3d618d;
    color: #fff;
}

.sozluk-action-btn.active span {
    color: #fff;
}
