/**
 * Vira Roleplay — Forum, Topluluk ve Yetkili Yönetim Tasarım Sistemi
 * UCP & Wiki ile kusursuz uyumlu Dark Theme & Neon Accent Estetiği
 */

:root {
    --f-bg-base: #0a0709;
    --f-bg-card: rgba(23, 17, 21, 0.75);
    --f-bg-card-hover: rgba(30, 22, 28, 0.85);
    --f-bg-sidebar: rgba(18, 12, 16, 0.95);
    --f-bg-input: rgba(15, 10, 14, 0.8);
    
    --f-primary: #e63845;
    --f-primary-glow: rgba(230, 56, 69, 0.4);
    --f-orange: #ff6b00;
    --f-orange-glow: rgba(255, 107, 0, 0.35);
    
    --f-text-main: #f8fafc;
    --f-text-muted: #c49ba2;
    --f-text-dim: #7a5860;
    
    --f-border: rgba(255, 255, 255, 0.07);
    --f-border-hover: rgba(230, 56, 69, 0.35);
    --f-border-orange: rgba(255, 107, 0, 0.35);
    
    --f-success: #10b981;
    --f-warning: #f59e0b;
    --f-danger: #ef4444;
    --f-info: #3b82f6;
    --f-purple: #8b5cf6;
    
    --f-radius-sm: 8px;
    --f-radius: 14px;
    --f-radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.f-body {
    background-color: var(--f-bg-base);
    color: var(--f-text-main);
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Arka Plan Sinematik Glow & Izgara */
body.f-body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(circle at 15% 15%, rgba(230, 56, 69, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(255, 107, 0, 0.1) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: -2;
}

.f-grid-bg {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 90%);
    pointer-events: none;
    z-index: -1;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--f-bg-base); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--f-primary); }

/* Üst Navigasyon Çubuğu (Top Bar) */
.f-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 11, 14, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--f-border);
    padding: 0.85rem 2rem;
    transition: all 0.3s ease;
}

.f-nav-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.f-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

.f-brand img {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(230, 56, 69, 0.4));
}

.f-brand-text {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.f-brand-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--f-primary), var(--f-orange));
    color: #fff;
    padding: 2px 7px;
    border-radius: 6px;
    letter-spacing: 0.8px;
}

.f-nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.f-nav-link {
    color: var(--f-text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--f-radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.f-nav-link:hover, .f-nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.f-nav-link.active {
    color: #ff8800;
    background: rgba(255, 107, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.15);
}

.f-nav-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.f-user-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--f-border);
    padding: 5px 12px 5px 6px;
    border-radius: 30px;
    transition: all 0.25s ease;
}

.f-user-pill:hover {
    border-color: var(--f-border-hover);
    background: rgba(230, 56, 69, 0.08);
    transform: translateY(-1px);
}

.f-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.f-user-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
}

/* Butonlar */
.f-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--f-radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.f-btn-primary {
    background: linear-gradient(135deg, var(--f-primary), #b91c1c);
    color: #fff;
    box-shadow: 0 4px 15px var(--f-primary-glow);
}

.f-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(230, 56, 69, 0.6);
    filter: brightness(1.1);
}

.f-btn-orange {
    background: linear-gradient(135deg, var(--f-orange), #d95d00);
    color: #fff;
    box-shadow: 0 4px 15px var(--f-orange-glow);
}

.f-btn-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(255, 107, 0, 0.55);
}

.f-btn-glass {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--f-border);
    color: #fff;
}

.f-btn-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.f-btn-sm {
    padding: 6px 14px;
    font-size: 0.82rem;
    border-radius: 6px;
}

/* Ana Sayfa Hero Banner */
.f-hero {
    max-width: 1440px;
    margin: 1.8rem auto 0;
    padding: 0 2rem;
    width: 100%;
}

.f-hero-card {
    position: relative;
    border-radius: var(--f-radius-lg);
    background: linear-gradient(135deg, rgba(32, 20, 27, 0.9) 0%, rgba(18, 12, 16, 0.95) 100%);
    border: 1px solid var(--f-border);
    padding: 2.8rem 3rem;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.f-hero-card::after {
    content: '';
    position: absolute;
    right: -5%;
    top: -30%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(230, 56, 69, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.f-hero-content {
    max-width: 680px;
    position: relative;
    z-index: 1;
}

.f-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.3);
    color: #ff9d42;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.4px;
}

.f-hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 0.85rem;
    color: #fff;
}

.f-hero-title span {
    background: linear-gradient(135deg, #ff4d5a, #ff9d42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.f-hero-desc {
    color: var(--f-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.6rem;
}

.f-hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.f-hero-stats {
    display: flex;
    gap: 1.2rem;
    position: relative;
    z-index: 1;
}

.f-hero-stat-box {
    background: rgba(10, 7, 9, 0.6);
    border: 1px solid var(--f-border);
    padding: 1.2rem 1.6rem;
    border-radius: var(--f-radius);
    text-align: center;
    min-width: 130px;
    backdrop-filter: blur(8px);
}

.f-hero-stat-val {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    display: block;
    line-height: 1;
    margin-bottom: 6px;
    font-family: 'Outfit', sans-serif;
}

.f-hero-stat-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--f-text-dim);
    letter-spacing: 0.8px;
}

/* Ana Düzen (Main Container) */
.f-container {
    max-width: 1440px;
    margin: 2rem auto;
    padding: 0 2rem;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    flex: 1;
}

.f-container-full {
    grid-template-columns: 1fr;
}

/* Kategori Bölümleri */
.f-category-group {
    margin-bottom: 2.2rem;
}

.f-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(90deg, rgba(230, 56, 69, 0.15) 0%, rgba(23, 17, 21, 0.5) 100%);
    border: 1px solid var(--f-border);
    border-radius: var(--f-radius) var(--f-radius) 0 0;
    margin-bottom: -1px;
}

.f-category-title {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.f-category-list {
    border: 1px solid var(--f-border);
    border-radius: 0 0 var(--f-radius) var(--f-radius);
    background: var(--f-bg-card);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.f-forum-item {
    display: grid;
    grid-template-columns: 48px 1fr 140px 240px;
    align-items: center;
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid var(--f-border);
    gap: 1.2rem;
    transition: all 0.25s ease;
}

.f-forum-item:last-child {
    border-bottom: none;
}

.f-forum-item:hover {
    background: var(--f-bg-card-hover);
    border-color: rgba(255, 255, 255, 0.1);
}

.f-forum-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(230, 56, 69, 0.1);
    color: var(--f-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 1px solid rgba(230, 56, 69, 0.2);
    transition: all 0.3s ease;
}

.f-forum-item:hover .f-forum-icon {
    transform: scale(1.08);
    background: var(--f-primary);
    color: #fff;
    box-shadow: 0 0 15px var(--f-primary-glow);
}

.f-forum-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.f-forum-info h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.f-forum-info h3 a:hover {
    color: var(--f-orange);
}

.f-forum-desc {
    color: var(--f-text-muted);
    font-size: 0.85rem;
    line-height: 1.45;
}

.f-forum-stats {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 0.8rem;
    color: var(--f-text-muted);
}

.f-forum-stats strong {
    color: #fff;
    font-weight: 700;
}

.f-forum-lastpost {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.f-lastpost-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.f-lastpost-info {
    min-width: 0;
    font-size: 0.82rem;
}

.f-lastpost-title {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    margin-bottom: 2px;
}

.f-lastpost-title:hover {
    color: var(--f-primary);
}

.f-lastpost-meta {
    color: var(--f-text-dim);
    font-size: 0.76rem;
}

/* Yan Panel (Sidebar) */
.f-sidebar-block {
    background: var(--f-bg-card);
    border: 1px solid var(--f-border);
    border-radius: var(--f-radius);
    padding: 1.4rem;
    margin-bottom: 1.8rem;
    backdrop-filter: blur(12px);
}

.f-sidebar-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
    border-bottom: 1px solid var(--f-border);
    padding-bottom: 0.75rem;
}

.f-sidebar-title i {
    color: var(--f-primary);
}

.f-recent-topic {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.f-recent-topic:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.f-recent-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.f-recent-meta {
    min-width: 0;
}

.f-recent-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    display: block;
    line-height: 1.35;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.f-recent-link:hover {
    color: var(--f-orange);
}

.f-recent-time {
    color: var(--f-text-dim);
    font-size: 0.75rem;
}

/* Rozetler (Badges) */
.f-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.f-badge-kurucu { background: rgba(220, 38, 38, 0.2); color: #f87171; border: 1px solid rgba(220, 38, 38, 0.4); }
.f-badge-ust-yonetici { background: rgba(255, 107, 0, 0.2); color: #ff9d42; border: 1px solid rgba(255, 107, 0, 0.4); }
.f-badge-lead-admin { background: rgba(234, 179, 8, 0.2); color: #fde047; border: 1px solid rgba(234, 179, 8, 0.4); }
.f-badge-admin { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.4); }
.f-badge-trial-admin { background: rgba(14, 165, 233, 0.2); color: #38bdf8; border: 1px solid rgba(14, 165, 233, 0.4); }
.f-badge-rehber { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
.f-badge-oyuncu { background: rgba(255, 255, 255, 0.08); color: var(--f-text-muted); border: 1px solid var(--f-border); }

/* Şikayet / İtiraz Durum Rozetleri */
.f-status-pill {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.f-status-submitted { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.f-status-pending { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.f-status-assigned { background: rgba(139, 92, 246, 0.15); color: #a78bfa; border: 1px solid rgba(139, 92, 246, 0.3); }
.f-status-defense { background: rgba(236, 72, 153, 0.15); color: #f472b6; border: 1px solid rgba(236, 72, 153, 0.3); animation: pulse 2s infinite; }
.f-status-review { background: rgba(14, 165, 233, 0.15); color: #38bdf8; border: 1px solid rgba(14, 165, 233, 0.3); }
.f-status-resolved { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.f-status-closed { background: rgba(100, 116, 139, 0.15); color: #94a3b8; border: 1px solid rgba(100, 116, 139, 0.3); }

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

/* Konu Detay ve Mesaj Kutuları */
.f-topic-header {
    background: var(--f-bg-card);
    border: 1px solid var(--f-border);
    border-radius: var(--f-radius);
    padding: 1.8rem 2rem;
    margin-bottom: 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.f-topic-title-area h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.25;
}

.f-topic-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--f-text-muted);
}

.f-post-card {
    background: var(--f-bg-card);
    border: 1px solid var(--f-border);
    border-radius: var(--f-radius);
    margin-bottom: 1.6rem;
    overflow: hidden;
    display: grid;
    grid-template-columns: 220px 1fr;
    transition: border-color 0.25s ease;
}

.f-post-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.f-post-author {
    background: rgba(15, 10, 14, 0.5);
    border-right: 1px solid var(--f-border);
    padding: 1.8rem 1.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.f-author-avatar-wrap {
    position: relative;
    margin-bottom: 1rem;
}

.f-author-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--f-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.f-author-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    text-decoration: none;
}

.f-author-name:hover {
    color: var(--f-orange);
}

.f-author-stats {
    margin-top: 1.2rem;
    width: 100%;
    font-size: 0.8rem;
    color: var(--f-text-dim);
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
}

.f-author-stat-row {
    display: flex;
    justify-content: space-between;
}

.f-author-stat-row span:last-child {
    color: #fff;
    font-weight: 600;
}

.f-post-main {
    padding: 1.8rem 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.f-post-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.8rem;
    margin-bottom: 1.4rem;
    font-size: 0.82rem;
    color: var(--f-text-dim);
}

.f-post-content {
    font-size: 0.96rem;
    line-height: 1.7;
    color: #e2e8f0;
    min-height: 120px;
    word-break: break-word;
}

.f-post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
    margin-top: 1.5rem;
}

/* Zengin İçerik & BBCode Stilleri */
.f-quote {
    background: rgba(230, 56, 69, 0.06);
    border-left: 3px solid var(--f-primary);
    padding: 12px 18px;
    border-radius: 0 8px 8px 0;
    margin: 1rem 0;
    font-style: italic;
    color: #cbd5e1;
}

.f-quote-author {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--f-primary);
    margin-bottom: 4px;
    font-style: normal;
}

.f-code {
    background: #090608;
    border: 1px solid var(--f-border);
    padding: 12px 16px;
    border-radius: 8px;
    font-family: 'Consolas', monospace;
    font-size: 0.88rem;
    color: #38bdf8;
    overflow-x: auto;
    margin: 1rem 0;
}

.f-mention {
    color: #ff8800;
    background: rgba(255, 107, 0, 0.12);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.88rem;
}

.f-img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1rem 0;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease;
}

.f-img:hover {
    transform: scale(1.01);
}

.f-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    margin: 1.2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
}

.f-video-wrapper iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

/* Zengin Editör Araç Çubuğu (Editor Toolbar) */
.f-editor-box {
    background: var(--f-bg-card);
    border: 1px solid var(--f-border);
    border-radius: var(--f-radius);
    padding: 1.6rem;
}

.f-editor-toolbar {
    display: flex;
    gap: 6px;
    background: rgba(10, 7, 9, 0.7);
    border: 1px solid var(--f-border);
    border-radius: 8px 8px 0 0;
    padding: 8px 12px;
    margin-bottom: -1px;
}

.f-toolbar-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--f-text-muted);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.f-toolbar-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.f-editor-textarea {
    width: 100%;
    min-height: 220px;
    background: var(--f-bg-input);
    border: 1px solid var(--f-border);
    border-radius: 0 0 8px 8px;
    padding: 16px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.6;
    resize: vertical;
    outline: none;
    transition: border-color 0.25s ease;
}

.f-editor-textarea:focus {
    border-color: var(--f-primary);
    box-shadow: 0 0 15px rgba(230, 56, 69, 0.15);
}

/* Şikayet Dosyası Kartı & Çizelgesi (Dossier Timeline) */
.f-dossier-card {
    background: var(--f-bg-card);
    border: 1px solid var(--f-border);
    border-radius: var(--f-radius);
    padding: 2rem;
    margin-bottom: 2rem;
}

.f-timeline {
    position: relative;
    padding-left: 2rem;
    margin-top: 1.8rem;
}

.f-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.f-timeline-item {
    position: relative;
    margin-bottom: 1.8rem;
}

.f-timeline-dot {
    position: absolute;
    left: -2rem;
    top: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--f-primary);
    border: 3px solid var(--f-bg-base);
    box-shadow: 0 0 10px var(--f-primary-glow);
}

.f-timeline-box {
    background: rgba(15, 10, 14, 0.6);
    border: 1px solid var(--f-border);
    border-radius: var(--f-radius-sm);
    padding: 1.2rem;
}

.f-timeline-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--f-text-dim);
    margin-bottom: 8px;
}

/* Modal & Toast Bildirimleri */
.f-toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.f-toast {
    background: rgba(23, 17, 21, 0.95);
    border: 1px solid var(--f-border);
    color: #fff;
    padding: 14px 20px;
    border-radius: var(--f-radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(16px);
    animation: slideInRight 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.f-toast.toast-success { border-left: 4px solid var(--f-success); }
.f-toast.toast-error { border-left: 4px solid var(--f-danger); }
.f-toast.toast-info { border-left: 4px solid var(--f-info); }

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Responsive Kurallar */
@media (max-width: 1100px) {
    .f-container {
        grid-template-columns: 1fr;
    }
    .f-hero-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .f-hero-stats {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .f-navbar {
        padding: 0.8rem 1rem;
    }
    .f-nav-links {
        display: none; /* Mobilde hamburger toggle */
    }
    .f-hero-title {
        font-size: 1.8rem;
    }
    .f-forum-item {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    .f-forum-stats, .f-forum-lastpost {
        display: none;
    }
    .f-post-card {
        grid-template-columns: 1fr;
    }
    .f-post-author {
        border-right: none;
        border-bottom: 1px solid var(--f-border);
        padding: 1.2rem;
    }
}

/* ==========================================================================
   UNIFIED COMPONENT UTILITY SYSTEM (FORUM, COMPLAINTS, APPEALS, APPS, STAFF)
   ========================================================================== */

.forum-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    width: 100%;
}

.forum-hero {
    background: linear-gradient(135deg, rgba(230, 56, 69, 0.12) 0%, rgba(20, 15, 19, 0.95) 100%);
    border: 1px solid rgba(230, 56, 69, 0.25);
    border-radius: var(--f-radius-lg);
    padding: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.forum-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(230, 56, 69, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.forum-hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.forum-hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.forum-hero-desc {
    color: var(--f-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.forum-hero-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Kartlar (Forum Cards) */
.forum-card {
    background: var(--f-bg-card);
    border: 1px solid var(--f-border);
    border-radius: var(--f-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.forum-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.forum-card-header {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid var(--f-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.forum-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.forum-card-body {
    padding: 1.75rem;
}

/* Tablolar (Forum Tables) */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.forum-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.forum-table th {
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.35);
    color: var(--f-text-dim);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    border-bottom: 1px solid var(--f-border);
}

.forum-table td {
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.92rem;
    color: #e2e8f0;
    vertical-align: middle;
}

.forum-table tbody tr {
    transition: background-color 0.2s ease;
}

.forum-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Rozetler (Forum Badges) */
.forum-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1;
}

.forum-badge.badge-primary {
    background: rgba(230, 56, 69, 0.15);
    color: #ff5252;
    border: 1px solid rgba(230, 56, 69, 0.35);
}

.forum-badge.badge-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.forum-badge.badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.forum-badge.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.forum-badge.badge-danger {
    background: rgba(239, 68, 69, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 69, 0.35);
}

.forum-badge.badge-info {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.35);
}

/* Butonlar (Buttons) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--f-radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #e63845 0%, #ff5252 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(230, 56, 69, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b75 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(230, 56, 69, 0.5);
    color: #fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

.btn-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.4);
}

.btn-warning:hover {
    background: #f59e0b;
    color: #000;
    transform: translateY(-2px);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.4);
}

.btn-danger:hover {
    background: #ef4444;
    color: #fff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
    border-radius: 6px;
}

/* Form Alanları (Form Inputs) */
.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background: var(--f-bg-input);
    border: 1px solid var(--f-border);
    border-radius: 8px;
    padding: 12px 16px;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.25s ease;
    outline: none;
}

.form-control:focus {
    border-color: var(--f-primary);
    box-shadow: 0 0 12px rgba(230, 56, 69, 0.25);
    background: rgba(20, 13, 18, 0.95);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c49ba2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--f-text-dim);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--f-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
}

/* Uyarılar (Forum Alerts) */
.forum-alert {
    padding: 16px 20px;
    border-radius: var(--f-radius-sm);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.92rem;
    line-height: 1.55;
}

.forum-alert.alert-danger {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.forum-alert.alert-success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.forum-alert.alert-warning {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fde68a;
}

/* Boş Durum (Empty State) */
.empty-state {
    text-align: center;
    padding: 50px 20px;
}

.empty-state i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.15);
    margin-bottom: 1rem;
    display: block;
}

.empty-state p {
    color: var(--f-text-muted);
    font-size: 0.95rem;
}

/* Vurgu Renkleri */
.text-accent { color: #ff5252; }
.text-info { color: #3b82f6; }
.text-warning { color: #f59e0b; }
.text-success { color: #10b981; }
.text-danger { color: #ef4444; }

/* ==============================================================================
   FORUM ORTAK BİLEŞENLERİ (Cards, Containers, Buttons, Tables & Badges)
   ============================================================================== */
.forum-container {
    max-width: 1440px;
    margin: 2rem auto;
    padding: 0 2rem;
    width: 100%;
    flex: 1;
}

.forum-hero {
    border-radius: var(--f-radius-lg);
    background: linear-gradient(135deg, rgba(32, 20, 27, 0.9) 0%, rgba(18, 12, 16, 0.95) 100%);
    border: 1px solid var(--f-border);
    padding: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 25px;
}

.forum-hero-content {
    max-width: 780px;
}

.forum-hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.forum-hero-desc {
    color: var(--f-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.forum-card {
    background: var(--f-bg-card);
    border: 1px solid var(--f-border);
    border-radius: var(--f-radius);
    overflow: hidden;
    backdrop-filter: blur(12px);
    margin-bottom: 24px;
    transition: border-color 0.25s ease;
}

.forum-card:hover {
    border-color: rgba(255, 255, 255, 0.14);
}

.forum-card-header {
    padding: 1.1rem 1.6rem;
    background: rgba(15, 10, 14, 0.85);
    border-bottom: 1px solid var(--f-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.forum-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.forum-card-body {
    padding: 1.6rem;
}

/* Tablo Stilleri */
.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.forum-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.forum-table th {
    padding: 1rem 1.4rem;
    background: rgba(15, 10, 14, 0.7);
    border-bottom: 1px solid var(--f-border);
    color: var(--f-text-dim);
    text-transform: uppercase;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.forum-table td {
    padding: 1rem 1.4rem;
    border-bottom: 1px solid var(--f-border);
    color: var(--f-text-main);
    vertical-align: middle;
}

.forum-table tr:hover td {
    background: var(--f-bg-card-hover);
}

/* Rozetler (Badges) */
.forum-badge, .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.badge-primary { background: rgba(230, 56, 69, 0.2); color: #ff6b77; border: 1px solid rgba(230, 56, 69, 0.4); }
.badge-secondary { background: rgba(255, 255, 255, 0.06); color: #cbd5e1; border: 1px solid var(--f-border); }
.badge-warning { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }
.badge-info { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.4); }
.badge-success { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
.badge-danger { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }

/* Genel Buton Eşlemeleri (Compatibility) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--f-radius-sm);
    font-size: 0.88rem;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary { background: linear-gradient(135deg, var(--f-primary), #b91c1c); color: #fff; box-shadow: 0 4px 15px var(--f-primary-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(230, 56, 69, 0.6); filter: brightness(1.1); color: #fff; }
.btn-secondary { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--f-border); color: #fff; }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); transform: translateY(-1px); color: #fff; }
.btn-warning { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4); }
.btn-warning:hover { transform: translateY(-2px); filter: brightness(1.1); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 0.8rem; border-radius: 6px; }
