/*
 * Forum BB — Theme Styles
 * Renkler bu dosyada tanımlanmaz. Renkler MainSettings üzerinden
 * CSS değişkenleri (--main-color vb.) ile yönetilir.
 * Temalar yalnızca layout, boşluk, gölge, yapı ve karakter farklılıkları içerir.
 * Panel görünümü etkilenmez.
 */

/* Global: linklerde hover'da alt çizgi olmasın */
a:hover {
    text-decoration: none !important;
}

/* ═══════════════════════════════════════════════════════════
   ISTANBUL — Varsayılan tema, referans görünüm
   Dolu renkli card-header, beyaz ikonlar, Bootstrap standart.
   ══════════════════════════════════════════════════════════ */
.theme-istanbul {
    /* referans tema — değişiklik yok */
}


/* ═══════════════════════════════════════════════════════════
   ANTALYA — Ferah, pastel, sahil havası
   Card header: açık tint arka plan, ana renkli başlıklar/ikonlar.
   Satır solunda ince renkli accent çizgi.
   ══════════════════════════════════════════════════════════ */
.theme-antalya .card {
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.07) !important;
    margin-bottom: 1.25rem;
    border: none !important;
}

.theme-antalya .card-header {
    background-color: color-mix(in srgb, var(--main-color) 10%, white) !important;
    color: var(--main-color) !important;
    border-bottom: 2px solid color-mix(in srgb, var(--main-color) 22%, white) !important;
    padding: 0.9rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
}

/* Sadece başlık elemanları ve direkt ikonlar renkli — butonlara dokunma */
.theme-antalya .card-header h4,
.theme-antalya .card-header h5 {
    color: var(--main-color) !important;
    font-weight: 700;
}
.theme-antalya .card-header > div > i,
.theme-antalya .card-header h4 i,
.theme-antalya .card-header h5 i {
    color: var(--main-color) !important;
    font-size: 1.05em;
}

/* btn-light header içinde: outlined, ana renk */
.theme-antalya .card-header .btn-light {
    background-color: transparent !important;
    border: 1.5px solid var(--main-color) !important;
    color: var(--main-color) !important;
}
.theme-antalya .card-header .btn-light:hover {
    background-color: color-mix(in srgb, var(--main-color) 10%, white) !important;
}

/* bg-light badge header içinde */
.theme-antalya .card-header .badge.bg-light {
    background-color: color-mix(in srgb, var(--main-color) 15%, white) !important;
    color: var(--main-color) !important;
}

.theme-antalya .card-body {
    padding: 1.5rem;
}

/* Topic/kategori satırlarında sol accent çizgisi */
.theme-antalya .list-group-item {
    padding: 0.85rem 1.25rem;
    line-height: 1.6;
    border-color: color-mix(in srgb, var(--main-color) 12%, white) !important;
    border-left: 3px solid transparent !important;
    transition: border-left-color 0.15s ease, background-color 0.15s ease;
}
.theme-antalya .list-group-item:hover {
    border-left-color: var(--main-color) !important;
    background-color: color-mix(in srgb, var(--main-color) 4%, white);
}

/* Satır ikonları ana renkli */
.theme-antalya .list-group-item i {
    color: var(--main-color);
    opacity: 0.75;
}

/* Kategori ikonları yumuşak renkli çember */
.theme-antalya .avatar.bg-secondary {
    background-color: color-mix(in srgb, var(--main-color) 20%, white) !important;
}
.theme-antalya .avatar.bg-secondary i {
    color: var(--main-color) !important;
}

/* bg-light sayım badge'leri */
.theme-antalya .badge.bg-light {
    background-color: color-mix(in srgb, var(--main-color) 12%, white) !important;
    color: color-mix(in srgb, var(--main-color) 80%, black) !important;
    border: 1px solid color-mix(in srgb, var(--main-color) 30%, white);
}

.theme-antalya .table td,
.theme-antalya .table th {
    padding: 0.75rem 1rem;
}

.theme-antalya .breadcrumb {
    margin-bottom: 1.25rem;
}

.theme-antalya .mb-4 {
    margin-bottom: 1.75rem !important;
}

.theme-antalya h4,
.theme-antalya h5 {
    font-weight: 600;
}

/* Pagination: pill şekli */
.theme-antalya .page-link {
    border-radius: 50px !important;
    margin: 0 2px;
}

/* Alt kategori linkleri: kompakt yuvarlak pill etiketler */
.theme-antalya .subcategory-row .mt-1 small {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    font-size: 0; /* virgül text node'larını gizle */
}
.theme-antalya .subcategory-row .mt-1 small i {
    font-size: 0.7rem;
    color: var(--main-color) !important;
    opacity: 0.6;
}
.theme-antalya .subcategory-row .mt-1 small a {
    font-size: 0.67rem;
    display: inline-block;
    padding: 0.1rem 0.5rem;
    border-radius: 50px;
    background-color: color-mix(in srgb, var(--main-color) 10%, white);
    color: color-mix(in srgb, var(--main-color) 80%, black) !important;
    font-weight: 600;
    text-decoration: none !important;
    border: 1px solid color-mix(in srgb, var(--main-color) 25%, white);
    transition: background-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}
.theme-antalya .subcategory-row .mt-1 small a:hover {
    background-color: color-mix(in srgb, var(--main-color) 85%, white) !important;
    color: #fff !important;
    border-color: var(--main-color);
}


/* ═══════════════════════════════════════════════════════════
   ANKARA — Resmi, kompakt, kurumsal
   Card header: koyu lacivert (#2c3e50), küçük büyük harf, ikon yok.
   Satırlar tablo gibi, zebra renklendirme.
   ══════════════════════════════════════════════════════════ */
.theme-ankara .card {
    box-shadow: none !important;
    border: 1px solid #d0d5da !important;
    margin-bottom: 0.6rem;
    border-radius: 3px !important;
}

.theme-ankara .card-header {
    background-color: #2c3e50 !important;
    color: #ecf0f1 !important;
    padding: 0.45rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 2px 2px 0 0 !important;
}

.theme-ankara .card-header h4,
.theme-ankara .card-header h5 {
    color: #ecf0f1 !important;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Header ikonları gizle */
.theme-ankara .card-header i {
    display: none !important;
}

/* btn-light header içinde: lacivert arka plana uygun */
.theme-ankara .card-header .btn-light {
    background-color: rgba(255,255,255,0.12) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    color: #ecf0f1 !important;
    font-size: 0.76rem;
    padding: 0.2rem 0.55rem;
}
.theme-ankara .card-header .btn-light:hover {
    background-color: rgba(255,255,255,0.22) !important;
    color: #fff !important;
}

/* bg-light badge header içinde */
.theme-ankara .card-header .badge.bg-light {
    background-color: rgba(255,255,255,0.18) !important;
    color: #ecf0f1 !important;
}

.theme-ankara .card-body {
    padding: 0.65rem 0.9rem;
}

/* Zebra satır renklendirme */
.theme-ankara .list-group-item {
    padding: 0.4rem 0.9rem;
    font-size: 0.9rem;
    line-height: 1.4;
    border-color: #e9ecef !important;
}
.theme-ankara .list-group-item:nth-child(even) {
    background-color: #f8f9fa;
}
.theme-ankara .list-group-item:hover {
    background-color: #eef1f5;
}

/* Satır ikonları küçük ve soluk */
.theme-ankara .list-group-item i {
    font-size: 0.8em;
    opacity: 0.45;
}

/* bg-light badge genel */
.theme-ankara .badge.bg-light {
    background-color: #e9ecef !important;
    color: #495057 !important;
    font-size: 0.72rem;
    border: 1px solid #dee2e6;
}

/* Kategori ikonu: düz gri kare */
.theme-ankara .avatar.bg-secondary {
    border-radius: 2px !important;
    background-color: #495057 !important;
}

.theme-ankara .table td,
.theme-ankara .table th {
    padding: 0.3rem 0.6rem;
    font-size: 0.88rem;
}

.theme-ankara .table thead th {
    background-color: #f1f3f5;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: #495057;
}

/* Zebra tablo */
.theme-ankara .table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.theme-ankara .mb-4 {
    margin-bottom: 0.75rem !important;
}

.theme-ankara .breadcrumb {
    margin-bottom: 0.5rem;
    font-size: 0.83rem;
    background-color: #f1f3f5;
    padding: 0.4rem 0.75rem;
    border-radius: 3px;
}

.theme-ankara .breadcrumb i {
    font-size: 0.75em;
    opacity: 0.6;
}

.theme-ankara .btn {
    padding: 0.25rem 0.65rem;
    font-size: 0.82rem;
    border-radius: 2px !important;
}

.theme-ankara h4,
.theme-ankara h5 {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.theme-ankara h1 { font-size: 1.4rem; }
.theme-ankara h2 { font-size: 1.2rem; }

/* Pagination: kare */
.theme-ankara .page-link {
    border-radius: 2px !important;
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
}
.theme-ankara .page-item.active .page-link {
    background-color: #2c3e50 !important;
    border-color: #2c3e50 !important;
}


/* ═══════════════════════════════════════════════════════════
   EDİRNE — Klasik, gazete/forum stili
   Card header: beyaz bg, sadece kalın alt border (ana renk).
   İkonlar gizli, tüm başlıklar uppercase. Sıfır yuvarlama.
   ══════════════════════════════════════════════════════════ */
.theme-edirne .card {
    box-shadow: none !important;
    border: 2px solid rgba(0, 0, 0, 0.18) !important;
    border-radius: 0 !important;
    margin-bottom: 1rem;
    background-color: #fff;
}

.theme-edirne .card-header {
    background-color: #fff !important;
    color: var(--main-color) !important;
    border-bottom: 3px solid var(--main-color) !important;
    border-radius: 0 !important;
    padding: 0.7rem 1rem;
    font-weight: 700;
}

.theme-edirne .card-header h4,
.theme-edirne .card-header h5 {
    color: var(--main-color) !important;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Header ikonları gizli */
.theme-edirne .card-header i {
    display: none !important;
}

/* btn-light header içinde: ana renkli outlined */
.theme-edirne .card-header .btn-light {
    background-color: transparent !important;
    border: 2px solid var(--main-color) !important;
    color: var(--main-color) !important;
    border-radius: 0 !important;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.theme-edirne .card-header .btn-light:hover {
    background-color: var(--main-color) !important;
    color: #fff !important;
}

/* bg-light badge header içinde */
.theme-edirne .card-header .badge.bg-light {
    background-color: color-mix(in srgb, var(--main-color) 12%, white) !important;
    color: var(--main-color) !important;
    border: 1px solid var(--main-color);
    border-radius: 0 !important;
}

.theme-edirne .list-group-item {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    padding: 0.7rem 1rem;
}

/* Alternating rows — klasik forum */
.theme-edirne .list-group-item:nth-child(even) {
    background-color: #fafafa;
}

.theme-edirne .list-group {
    border-radius: 0;
}

/* Satır ikonları gri */
.theme-edirne .list-group-item i {
    color: #6c757d !important;
    font-size: 0.85em;
}

/* Kategori ikonu: kare, renksiz */
.theme-edirne .avatar.bg-secondary {
    border-radius: 0 !important;
    background-color: #6c757d !important;
}

/* bg-light badge genel */
.theme-edirne .badge.bg-light {
    background-color: #f1f3f5 !important;
    color: #495057 !important;
    border: 1px solid #dee2e6;
    border-radius: 0 !important;
    font-size: 0.75rem;
}

.theme-edirne .btn {
    border-radius: 0 !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

.theme-edirne .badge {
    border-radius: 0 !important;
}

.theme-edirne .table {
    border: 2px solid rgba(0, 0, 0, 0.15) !important;
}

.theme-edirne .table td,
.theme-edirne .table th {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

.theme-edirne .table thead th {
    border-bottom: 3px solid var(--main-color) !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    background-color: #fafafa;
    color: var(--main-color);
}

.theme-edirne .table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

/* Breadcrumb ikonları gizli, › ayraç */
.theme-edirne .breadcrumb i {
    display: none !important;
}
.theme-edirne .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    font-size: 1.1em;
    font-weight: 700;
}

/* Alt kategori linkleri: kare pill etiketler */
.theme-edirne .list-group-item .mt-1 small,
.theme-edirne .list-group-item .mt-2 small {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
    font-size: 0; /* text node'ları (virgüller) gizle */
}
.theme-edirne .list-group-item .mt-1 small i,
.theme-edirne .list-group-item .mt-2 small i {
    font-size: 0.72rem;
    color: #6c757d !important;
}
.theme-edirne .list-group-item .mt-1 small a,
.theme-edirne .list-group-item .mt-2 small a {
    font-size: 0.68rem;
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border: 1px solid color-mix(in srgb, var(--main-color) 35%, #dee2e6);
    color: var(--main-color) !important;
    background-color: color-mix(in srgb, var(--main-color) 7%, white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none !important;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.theme-edirne .list-group-item .mt-1 small a:hover,
.theme-edirne .list-group-item .mt-2 small a:hover {
    background-color: var(--main-color) !important;
    color: #fff !important;
    border-color: var(--main-color);
}

.theme-edirne h4,
.theme-edirne h5 {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
}

/* Pagination: kare, outlined */
.theme-edirne .page-link {
    border-radius: 0 !important;
    font-weight: 600;
    font-size: 0.85rem;
}
.theme-edirne .page-item.active .page-link {
    background-color: var(--main-color) !important;
    border-color: var(--main-color) !important;
    color: #fff !important;
}


/* ═══════════════════════════════════════════════════════════
   SELANİK — Kozmopolit, zarif, derin gölgeler
   Card header: diagonal gradient, büyük ikonlar.
   btn-light → yarı saydam beyaz (DÜZELTME). Hover'da kart yükselir.
   ══════════════════════════════════════════════════════════ */
.theme-selanik .card {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12) !important;
    margin-bottom: 1.75rem;
    border: none !important;
}

.theme-selanik .card:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18) !important;
}

.theme-selanik .card-header {
    background: linear-gradient(135deg, var(--main-color) 0%, color-mix(in srgb, var(--main-color) 65%, black) 100%) !important;
    color: #fff !important;
    padding: 1rem 1.6rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: none !important;
}

/* Sadece h4/h5 ve direkt ikonları beyaz — tüm * değil */
.theme-selanik .card-header h4,
.theme-selanik .card-header h5 {
    color: #fff !important;
    font-weight: 700;
}
.theme-selanik .card-header h4 i,
.theme-selanik .card-header h5 i,
.theme-selanik .card-header > div > i {
    color: #fff !important;
    font-size: 1.2em;
    opacity: 0.9;
}

/* btn-light header içinde: yarı saydam beyaz — ASIL DÜZELTME */
.theme-selanik .card-header .btn-light {
    background-color: rgba(255, 255, 255, 0.18) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.55) !important;
    color: #fff !important;
    font-weight: 600;
}
.theme-selanik .card-header .btn-light:hover {
    background-color: rgba(255, 255, 255, 0.32) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    color: #fff !important;
}
.theme-selanik .card-header .btn-light i {
    color: #fff !important;
}

/* bg-light badge header içinde */
.theme-selanik .card-header .badge.bg-light {
    background-color: rgba(255, 255, 255, 0.22) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.theme-selanik .card-body {
    padding: 1.5rem 1.75rem;
}

/* Satır sol accent + hover */
.theme-selanik .list-group-item {
    padding: 0.85rem 1.25rem;
    transition: background-color 0.15s ease, padding-left 0.18s ease, border-left-color 0.18s ease;
    line-height: 1.55;
    border-color: rgba(0,0,0,0.06) !important;
    border-left: 4px solid transparent !important;
}
.theme-selanik .list-group-item:hover {
    padding-left: 1.55rem;
    background-color: color-mix(in srgb, var(--main-color) 5%, white);
    border-left-color: var(--main-color) !important;
}

/* Satır ikonları belirgin ve renkli */
.theme-selanik .list-group-item i {
    color: var(--main-color);
    font-size: 1.05em;
}

/* Kategori ikon avatar'ları gizli */
.theme-selanik .avatar {
    display: none !important;
}

/* bg-light badge genel */
.theme-selanik .badge.bg-light {
    background-color: color-mix(in srgb, var(--main-color) 12%, white) !important;
    color: color-mix(in srgb, var(--main-color) 80%, black) !important;
    border: 1px solid color-mix(in srgb, var(--main-color) 30%, white);
    font-weight: 600;
}

.theme-selanik a {
    text-decoration: none;
}
.theme-selanik a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.theme-selanik .btn {
    padding: 0.45rem 1.2rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.theme-selanik .btn:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.theme-selanik .table td,
.theme-selanik .table th {
    padding: 0.75rem 1rem;
}
.theme-selanik .table tbody tr {
    transition: background-color 0.15s ease;
}
.theme-selanik .table tbody tr:hover {
    background-color: color-mix(in srgb, var(--main-color) 5%, white);
}

.theme-selanik .breadcrumb {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.theme-selanik h4,
.theme-selanik h5 {
    font-weight: 700;
    letter-spacing: 0.01em;
}

/* Pagination: pill, gölgeli */
.theme-selanik .page-link {
    border-radius: 50px !important;
    margin: 0 2px;
    font-weight: 600;
}
.theme-selanik .page-link:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.theme-selanik .page-item.active .page-link {
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
