/* ===========================
   KMY Manga Trending Tabs - Modern Stil
   =========================== */

/* Ana konteyner */
.kmt-trending-tabs-container {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    margin: 0 auto;
    max-width: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 12px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.06);
    padding: 16px;
}

/* Tab menü */
.kmt-nav-tabs {
    border-bottom: none;
    margin-bottom: 14px;
    display: flex;
    gap: 6px;
}

.kmt-nav-tabs .nav-link {
    border: none;
    padding: 8px 14px;
    font-weight: 600;
    border-radius: 8px;
    background: #f3f4f6;
    color: #555;
    transition: all 0.25s ease;
}

.kmt-nav-tabs .nav-link:hover {
    background: #e5e7eb;
    color: #d32f2f;
}

.kmt-nav-tabs .nav-link.active {
    background: linear-gradient(90deg, #d32f2f, #ef5350);
    color: #fff;
    box-shadow: 0 4px 12px rgba(211,47,47,0.25);
}

/* Tab içeriği */
.kmt-tab-content {
    padding-top: 6px;
}

/* Manga listesi */
.manga-list-tab {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Manga kartı */
.manga-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: all 0.25s ease;
}

.manga-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.manga-item.first-place {
    background: linear-gradient(180deg, #fff8e1, #fff3cd);
    border-left: 4px solid #ffc107;
}

/* Sıra numarası */
.rank {
    font-size: 16px;
    font-weight: bold;
    color: #d32f2f;
    width: 32px;
    text-align: center;
    flex-shrink: 0;
}

/* Küçük kapak görseli */
.thumb {
    width: 64px;
    height: 88px;
    margin-right: 12px;
    overflow: hidden;
    border-radius: 6px;
    flex-shrink: 0;
    background: #f9f9f9;
    border: 1px solid rgba(0,0,0,0.05);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.manga-item:hover .thumb img {
    transform: scale(1.06);
}

/* Bilgi alanı */
.info {
    flex: 1;
    min-width: 0;
}

.info h2 {
    font-size: 15px;
    margin: 0 0 4px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info h2 a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
}

.info h2 a:hover {
    color: #d32f2f;
}

/* Durum etiketi */
.manga-status {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
    display: inline-block;
}

/* Durum renkleri */
.status-publishing {
    background-color: rgba(33,150,243,0.1);
    color: #1976d2;
}
.status-completed {
    background-color: rgba(76,175,80,0.1);
    color: #388e3c;
}
.status-on-hold {
    background-color: rgba(255,193,7,0.15);
    color: #f57c00;
}
.status-cancelled {
    background-color: rgba(244,67,54,0.12);
    color: #d32f2f;
}

/* Son güncelleme */
.last-updated {
    font-size: 11px;
    color: #888;
}

/* Meta bilgiler */
.meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #555;
    margin-top: 4px;
}

.meta i {
    margin-right: 4px;
    color: #d32f2f;
}

/* Yeni yayın etiketi (boyut aynı) */
.new-release-badge {
    background: linear-gradient(90deg, #43a047, #66bb6a);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 2px 6px rgba(67,160,71,0.3);
}

/* Manga bulunamadı */
.no-manga-found {
    text-align: center;
    padding: 20px;
    color: #777;
    font-style: italic;
    background: #fafafa;
    border-radius: 8px;
}

/* Mobil uyumluluk */
@media (max-width: 576px) {
    .thumb {
        width: 52px;
        height: 72px;
    }
    .rank {
        width: 26px;
    }
    .info h2 {
        font-size: 14px;
    }
}
