:root {
    /* --- DARK THEME RENK PALETİ --- */
    --primary-color: #3b82f6; /* Daha parlak bir mavi (koyu zeminde okunsun diye) */
    --primary-hover: #2563eb;
    
    /* Zemin Renkleri */
    --bg-body: #0f172a;   /* Çok koyu lacivert (Slate 900) */
    --bg-card: #1e293b;   /* Kart rengi (Slate 800) */
    --bg-input: #334155;  /* Input rengi (Slate 700) */
    
    /* Yazı Renkleri */
    --dark-text: #f1f5f9;  /* Ana başlıklar (Neredeyse beyaz) */
    --light-text: #94a3b8; /* Açıklamalar (Gri) */
    --white: #ffffff;
    
    /* Kenarlıklar ve Gölgeler */
    --border-color: #334155; /* Koyu gri kenarlık */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3); /* Daha belirgin gölge */
    --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

body { 
    color: var(--dark-text); 
    background-color: var(--bg-body); /* Arka plan değişti */
    line-height: 1.6; 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- BUTTONS --- */
.btn { display: inline-block; padding: 10px 24px; border-radius: var(--radius); font-weight: 600; cursor: pointer; font-size: 0.95rem; border: none; }
.btn-primary { background-color: var(--primary-color); color: var(--white); border: 1px solid var(--primary-color); }
.btn-primary:hover { background-color: var(--primary-hover); }
.btn-outline { background-color: transparent; color: var(--primary-color); border: 1px solid #d1d5db; }
.btn-outline:hover { border-color: var(--primary-color); background-color: #eff6ff; }
.full-width { width: 100%; text-align: center; }

/* --- NAVBAR --- */
.navbar { padding: 15px 0; background-color: var(--white); border-bottom: 1px solid #f3f4f6; position: sticky; top: 0; z-index: 100; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); }
.nav-links { display: flex; gap: 25px; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-color); font-weight: 600; }
.nav-auth { display: flex; align-items: center; gap: 15px; }
.mobile-menu-btn { display: none; }

/* --- PAGE HEADER (İç Sayfalar İçin) --- */
.page-header { background: #f8fafc; padding: 60px 0; text-align: center; margin-bottom: 40px; }
.page-header h1 { font-size: 2.5rem; margin-bottom: 10px; }
.page-header p { color: var(--light-text); }

/* --- FORMS (Giriş, Kayıt, İletişim) --- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: #374151; }
.form-control { width: 100%; padding: 12px; border: 1px solid #d1d5db; border-radius: var(--radius); outline: none; transition: 0.3s; }
.form-control:focus { border-color: var(--primary-color); ring: 2px solid #eff6ff; }
textarea.form-control { resize: vertical; min-height: 120px; }

/* --- AUTH PAGES (Login/Register) --- */
.auth-wrapper { display: flex; justify-content: center; align-items: center; padding: 80px 0; background-color: #f8fafc; flex: 1; }
.auth-box { background: var(--white); padding: 40px; border-radius: 12px; box-shadow: var(--shadow); width: 100%; max-width: 400px; border: 1px solid #e5e7eb; }
.auth-header { text-align: center; margin-bottom: 30px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--light-text); }
.auth-footer a { color: var(--primary-color); font-weight: 600; }

/* --- CONTACT PAGE --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.contact-info-item { display: flex; gap: 15px; margin-bottom: 25px; }
.contact-info-item i { width: 40px; height: 40px; background: #eff6ff; color: var(--primary-color); display: flex; align-items: center; justify-content: center; border-radius: 50%; }

/* --- ABOUT PAGE --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 60px; }
.about-img img { width: 100%; border-radius: 12px; box-shadow: var(--shadow); }

/* --- FOOTER --- */
footer { text-align: center; padding: 30px; color: var(--light-text); border-top: 1px solid #eee; margin-top: auto; }

/* --- REUSED (Index'ten gelenler) --- */
.hero { padding: 80px 0; background: linear-gradient(to right, #f8fafc, #ffffff); }
.hero-container { display: flex; align-items: center; gap: 50px; }
.hero-content { flex: 1; }
.hero-image { flex: 1; } .hero-image img { width: 100%; border-radius: 20px; }
.hero h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; }
.section-header { text-align: center; margin-bottom: 60px; }
.services-grid, .pricing-grid { display: grid; gap: 30px; }
.services-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.pricing-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.service-card, .price-card { background: var(--white); border-radius: var(--radius); border: 1px solid #e5e7eb; padding: 25px; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.price-card { padding: 40px; }
.price-card.premium { border: 2px solid var(--primary-color); transform: scale(1.05); }
.price { font-size: 3rem; font-weight: 700; }
.features li { margin-bottom: 15px; display: flex; gap: 10px; } .features li i { color: var(--primary-color); }
.badge { background: #eff6ff; color: var(--primary-color); padding: 6px 16px; border-radius: 20px; font-weight: 600; display: inline-block; margin-bottom: 20px; }

/* Responsive */
@media (max-width: 768px) {
    .nav-links, .nav-auth { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-container, .contact-grid, .about-grid { grid-template-columns: 1fr; flex-direction: column; }
}
/* --- PRICING GRID GÜNCELLEME --- */

.pricing-grid {
    display: grid;
    /* Masaüstünde: Ekranı eşit 3 parçaya böl (Yan Yana) */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    align-items: flex-start; /* Kart içerikleri farklı olsa bile üstten hizalar */
}

/* Fiyat Kartı Genel Ayar */
.price-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid #e5e7eb;
    position: relative;
    height: 100%; /* Kartların boyunu eşitlemeye yardımcı olur */
    display: flex;
    flex-direction: column;
}

/* Butonun en altta düzgün durması için */
.price-card .btn {
    margin-top: auto; 
}

.price-card.premium {
    border: 2px solid var(--primary-color);
    /* Masaüstünde premium kartı biraz daha öne çıkarır */
    transform: scale(1.05); 
    z-index: 2;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* --- MOBİL VE TABLET UYUMLULUĞU (RESPONSIVE) --- */
@media (max-width: 992px) { 
    /* 992px'den küçük ekranlarda (Tablet ve Telefon) devreye girer */
    
    .pricing-grid {
        /* Tek sütuna düşür (Alt Alta) */
        grid-template-columns: 1fr; 
        gap: 50px; /* Kartlar birbirine yapışmasın diye boşluğu artırdık */
        padding: 0 10px; /* Kenarlardan hafif boşluk */
    }

    .price-card.premium {
        /* Mobilde büyüme efektini kaldır, normal dursun */
        transform: scale(1); 
        border-width: 2px;
    }
}
/* --- SERVICES GRID (HİZMETLER) --- */
.services-grid {
    display: grid;
    /* Masaüstü: Kesinlikle 3 sütun */
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; /* Kartlar arası boşluk arttı, daha ferah */
    padding-bottom: 40px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px; /* İç boşluk arttırıldı */
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-align: center; /* İkon ve yazıları ortala */
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-10px); /* Hoverda yukarı çıkma efekti */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-color);
}

.service-card i {
    font-size: 3rem; /* İkonları büyüttük */
    margin-bottom: 20px;
    color: var(--primary-color);
    background: #eff6ff;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* --- CONTACT PAGE (İLETİŞİM) --- */
.contact-wrapper {
    display: grid;
    /* Masaüstü: Sol %40 (Bilgi), Sağ %60 (Form) */
    grid-template-columns: 1fr 1.5fr; 
    gap: 50px;
    margin-bottom: 60px;
    align-items: start;
}

.contact-info-box {
    background: var(--primary-color);
    color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-item i {
    background: rgba(255,255,255,0.2);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.contact-info-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-info-item p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

/* Form Kutusu */
.contact-form-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow);
}

/* Harita Alanı */
.map-section {
    width: 100%;
    height: 450px; /* Harita yüksekliği */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 50px;
    border: 1px solid #e5e7eb;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- RESPONSIVE (MOBİL AYARLARI) --- */
@media (max-width: 992px) {
    /* Hizmetler Mobilde Tek Sütun */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* İletişim Mobilde Alt Alta */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info-box, .contact-form-box {
        padding: 30px;
    }
}
/* --- GÜNCELLENMİŞ MODERN FOOTER --- */
.site-footer {
    background-color: #0f172a; /* Görseldeki koyu lacivert */
    color: #94a3b8; /* Gri metin */
    padding-top: 70px;
    margin-top: auto;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    /* Masaüstü Ayarı: 
       Sol sütun (Logo+Yazı) daha geniş (2 birim), 
       Diğerleri (Hizmetler+Kurumsal) daha dar (1'er birim) 
    */
    grid-template-columns: 2fr 1fr 1fr; 
    gap: 60px; /* Sütunlar arası boşluk */
    padding-bottom: 50px;
    text-align: left; /* TÜM yazıların kesinlikle sola yaslanmasını sağlar */
    align-items: start; /* İçerikleri yukarı hizalar */
}

/* Sol Taraftaki Marka Alanı */
.footer-branding h3 {
    color: #ffffff;
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px; /* Modern görünüm için harfleri hafif sıklaştırır */
}

.footer-branding p {
    line-height: 1.7;
    max-width: 400px; /* Yazının çok uzamasını engeller, kutu gibi durur */
    color: #94a3b8;
}

/* Link Başlıkları */
.footer-links h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links ul {
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: #94a3b8;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: #38bdf8; /* Hoverda açık mavi renk (Görseldeki tema uyumu) */
    transform: translateX(5px); /* Üzerine gelince hafif sağa kayma efekti */
}

/* Alt Çizgi ve Telif */
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 30px 0;
    text-align: center; /* Sadece en alt yazı ortada kalsın */
    font-size: 0.9rem;
    color: #64748b;
}

/* --- MOBİL UYUM (768px altı) --- */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Mobilde tek sütun */
        gap: 40px;
        text-align: left; /* Mobilde de sola yaslı kalsın, daha düzenli durur */
    }
    
    .footer-branding p {
        max-width: 100%; /* Mobilde genişliği serbest bırak */
    }
}
/* --- ANASAYFA YENİ BÖLÜMLER --- */

/* 1. Markalar (Logolar) Şeridi */
.brands-section {
    padding: 40px 0;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}
.brands-section p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.brands-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    opacity: 0.6;
}
.brands-grid i {
    font-size: 2rem;
    color: #64748b;
    transition: 0.3s;
}
.brands-grid i:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* 2. İstatistikler Bölümü */
.stats-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.stat-item h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
}
.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 3. Müşteri Yorumları (Testimonials) */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--white);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.testimonial-card {
    background: #fff;
    padding: 30px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.testimonial-user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.user-info h4 { font-size: 1rem; margin-bottom: 2px; }
.user-info span { font-size: 0.85rem; color: var(--light-text); }
.stars { color: #fbbf24; margin-bottom: 15px; font-size: 0.9rem; }
.testimonial-text { color: #4b5563; font-style: italic; line-height: 1.6; }

/* 4. CTA (Harekete Geçirici) Alanı */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}
.cta-box {
    max-width: 800px;
    margin: 0 auto;
}
.cta-box h2 { font-size: 2.5rem; margin-bottom: 15px; }
.cta-box p { color: var(--light-text); margin-bottom: 30px; font-size: 1.1rem; }

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .stats-grid, .testimonials-grid {
        grid-template-columns: 1fr; /* Mobilde alt alta */
        gap: 40px;
    }
    .stat-item h2 { font-size: 2.5rem; }
}
/* --- GELİŞTİRİLMİŞ MOBİL MENÜ --- */
@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }

    .mobile-menu-btn {
        display: block; /* Menü ikonunu göster */
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--dark-text);
        z-index: 102;
    }

    /* MENÜ KUTUSU */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 20px;
        border-top: 1px solid #f3f4f6;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1); /* Daha belirgin gölge */
        
        /* Animasyon */
        display: none;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 100;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }
    
    .nav-links li a {
        display: block; /* Tıklama alanını genişlet */
        padding: 10px;
        font-size: 1.1rem;
    }

    /* --- MOBİL İÇİN BUTONLAR (GİRİŞ / KAYIT) --- */
    /* JS ile nav-links'in içine taşınan .nav-auth için stiller */
    .nav-links .nav-auth {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #f3f4f6; /* Menü ile butonlar arasına çizgi */
        gap: 15px;
    }

    /* Giriş Butonu (Mobilde Gri Arka Plan) */
    .nav-links .nav-auth .login-btn {
        background-color: #f3f4f6;
        color: var(--dark-text);
        text-align: center;
        padding: 12px;
        border-radius: var(--radius);
        font-weight: 600;
        width: 100%;
        display: block;
    }

    /* Kayıt Ol Butonu (Mobilde Tam Genişlik) */
    .nav-links .nav-auth .btn-primary {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    /* Diğer Sayfa Düzenleri */
    .hero-container, .contact-wrapper, .about-grid, .footer-grid, .pricing-grid, .services-grid, .stats-grid, .testimonials-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    
    .hero-content { text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-image { margin-top: 30px; }
}
/* --- DESTEK SAYFASI TASARIMI --- */

.support-wrapper {
    display: grid;
    /* Sol %65, Sağ %35 */
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Form Kutusu */
.form-box {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow);
}

/* Yan Yana Form Elemanları (Ad-Mail, Kategori-Öncelik) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Dosya Yükleme Alanı (Drag & Drop Görünümlü) */
.file-upload-wrapper {
    margin-top: 5px;
}

.file-drop-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    background-color: #f8fafc;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.file-drop-zone:hover {
    border-color: var(--primary-color);
    background-color: #eff6ff;
    color: var(--primary-color);
}

.file-drop-zone i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.file-drop-zone small {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 5px;
}

/* Sidebar Kartları */
.info-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.info-card h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--dark-text);
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}

.info-card p, .info-card a {
    color: #64748b;
    font-size: 0.95rem;
}

.info-card a {
    color: var(--primary-color);
    font-weight: 600;
}

.sidebar-links li {
    margin-bottom: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-links li i {
    color: var(--primary-color);
    width: 20px;
}

/* Mobil Uyum */
@media (max-width: 992px) {
    .support-wrapper {
        grid-template-columns: 1fr; /* Mobilde alt alta */
    }
    
    .form-row {
        grid-template-columns: 1fr; /* Mobilde inputlar alt alta */
        gap: 0;
    }
}
/* --- CKEDITOR ÖZELLEŞTİRME --- */

/* Editörün yazılabilir alanının yüksekliği */
.ck-editor__editable {
    min-height: 200px; /* Kullanıcıya geniş alan bırak */
    max-height: 400px;
    font-family: 'Inter', sans-serif !important; /* Site fontuna uydur */
    font-size: 0.95rem;
}

/* Odaklanınca (Tıklayınca) kenarlık rengi */
.ck.ck-editor__main > .ck-editor__editable:not(.ck-focused) {
    border-color: #d1d5db !important;
}

.ck.ck-editor__main > .ck-editor__editable.ck-focused {
    border-color: var(--primary-color) !important; /* Mavi kenarlık */
    box-shadow: 0 0 0 2px #eff6ff !important; /* Hafif mavi gölge */
}

/* Toolbar (Üstteki butonlar) arka planı */
.ck.ck-toolbar {
    background-color: #f8fafc !important;
    border-color: #d1d5db !important;
}
/* --- TICKET DETAY SAYFASI --- */

/* Sayfa Yapısı */
.ticket-wrapper {
    display: grid;
    grid-template-columns: 3fr 1fr; /* Sol taraf geniş, sağ dar */
    gap: 30px;
    align-items: start;
}

/* Üst Başlık Alanı */
.ticket-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-id {
    display: block;
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* Durum Rozetleri */
.status-badge {
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
}
.status-open { background: #dcfce7; color: #166534; } /* Yeşil */
.status-reply { background: #fef9c3; color: #854d0e; } /* Sarı */
.status-closed { background: #f1f5f9; color: #475569; } /* Gri */

/* --- MESAJ KARTLARI --- */
.message-card {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    position: relative;
}

/* Destek Ekibi Mesajı (Farklı Görünüm) */
.staff-message {
    background-color: #f8fafc; /* Hafif gri/mavi zemin */
    border-color: #bfdbfe; /* Mavi çerçeve */
}

.message-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee; /* İnce çizgi */
    padding-bottom: 15px;
}

/* Mesajı Yazan Kişi Bilgisi */
.msg-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.msg-user-info img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.msg-user-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.staff-badge {
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-left: 8px;
    vertical-align: middle;
}

.msg-date {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Mesaj İçeriği */
.message-body {
    color: #334155;
    line-height: 1.7;
}

.message-body p { margin-bottom: 15px; }

/* Eklenmiş Dosya Kutusu */
.attachment-box {
    background: #f1f5f9;
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-top: 10px;
}
.attachment-box i { color: var(--primary-color); }

/* --- CEVAP YAZMA ALANI --- */
.reply-section {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow);
}

.reply-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.file-input-simple label {
    cursor: pointer;
    color: #64748b;
    font-size: 0.9rem;
    transition: 0.3s;
}
.file-input-simple label:hover { color: var(--primary-color); }

/* --- SIDEBAR BİLGİLERİ --- */
.ticket-meta {
    list-style: none;
    padding: 0;
}
.ticket-meta li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
    border-bottom: 1px solid #f8fafc;
    padding-bottom: 8px;
}
.ticket-meta span { color: #64748b; }

/* Mobil Uyum */
@media (max-width: 992px) {
    .ticket-wrapper { grid-template-columns: 1fr; }
    .ticket-sidebar { order: -1; margin-bottom: 30px; } /* Mobilde bilgileri üste al */
    .ticket-header-content { flex-direction: column; align-items: flex-start; gap: 10px; }
}
/* --- PANEL (DASHBOARD) STİLLERİ --- */

/* Genel Grid Yapısı (Sidebar + İçerik) */
.dashboard-grid {
    display: grid;
    grid-template-columns: 280px 1fr; /* Sol 280px, Sağ kalan */
    gap: 30px;
    align-items: start;
}

/* --- SIDEBAR --- */
.dash-sidebar {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    position: sticky;
    top: 100px; /* Navbar'dan sonra sabit kalsın */
}

.user-profile-summary {
    padding: 25px;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 15px;
}
.user-profile-summary img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.user-profile-summary h4 { font-size: 1rem; margin-bottom: 2px; }
.user-profile-summary span { font-size: 0.8rem; color: #64748b; }

.dash-menu {
    padding: 15px;
}
.dash-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 8px;
    color: #4b5563;
    font-weight: 500;
    margin-bottom: 5px;
    transition: 0.3s;
}
.dash-menu li a:hover, .dash-menu li a.active {
    background-color: #eff6ff;
    color: var(--primary-color);
}
.dash-menu li a i { width: 20px; text-align: center; }

/* --- İÇERİK ALANI --- */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.stat-card {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.stat-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 2px; }
.stat-card p { color: #64748b; font-size: 0.9rem; }

/* --- KUTULAR VE TABLOLAR --- */
.content-box {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.box-header h3 { font-size: 1.2rem; }
.btn-sm {
    padding: 6px 15px;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-size: 0.85rem;
}

/* Tablo Stilleri */
.table-responsive { overflow-x: auto; }
.dash-table {
    width: 100%;
    border-collapse: collapse;
}
.dash-table th, .dash-table td {
    text-align: left;
    padding: 15px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.95rem;
}
.dash-table th {
    color: #64748b;
    font-weight: 600;
    background: #f9fafb;
}
.dash-table tr:last-child td { border-bottom: none; }

/* Tablo İçi Buton ve Rozetler */
.badge-status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.badge-status.active { background: #dcfce7; color: #166534; }
.badge-status.expired { background: #fee2e2; color: #991b1b; }

.btn-action {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}
.btn-action:hover { text-decoration: underline; }

/* MOBİL UYUM */
@media (max-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 1fr; /* Mobilde Sidebar üste çıkar */
        gap: 20px;
    }
    .stats-cards {
        grid-template-columns: 1fr; /* Kartlar alt alta */
    }
    .dash-sidebar {
        position: static; /* Mobilde yapışkan özelliği kalksın */
    }
}
/* --- ÜRÜNLER & HİZMETLER SAYFASI --- */

/* Filtreleme Butonları (Tabs) */
.product-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 10px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #64748b;
    border-radius: 6px;
    font-weight: 500;
    transition: 0.3s;
}

.tab-btn.active, .tab-btn:hover {
    background-color: #eff6ff;
    color: var(--primary-color);
}

/* Ürün Kartı Genel */
.product-card {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: 0.3s;
}

/* Süresi dolmuş kartın kenarı kırmızı olsun */
.product-card.expired-border {
    border-left: 4px solid #ef4444;
}

/* Kart Üst Kısım (Header) */
.prod-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 20px;
}

.prod-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.prod-title {
    flex-grow: 1;
}

.prod-title h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.prod-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-text);
}

.prod-price span {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 400;
}

/* Kart Detayları (Grid Yapısı) */
.prod-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-item.full-width {
    grid-column: span 2; /* Tüm genişliği kapla */
}

.detail-item .label {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 5px;
}

.detail-item .value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
}

/* Lisans Anahtarı Kutusu */
.license-box {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 12px;
    justify-content: space-between;
}

.license-box code {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
    color: #475569;
    letter-spacing: 1px;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 1rem;
}

/* Aksiyon Butonları */
.prod-actions {
    display: flex;
    justify-content: flex-end; /* Sağa yasla */
    gap: 15px;
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .prod-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .prod-icon { margin-bottom: 5px; }
    .prod-price { font-size: 1.1rem; margin-top: 5px; }
    
    .prod-details {
        grid-template-columns: 1fr; /* Mobilde detaylar alt alta */
    }
    
    .detail-item.full-width { grid-column: span 1; }
    
    .prod-actions {
        flex-direction: column; /* Butonlar alt alta */
    }
    
    .prod-actions button { width: 100%; }
}
/* --- GENİŞ EKRAN (PANEL) AYARLARI --- */

/* 1. Daha Geniş Konteyner */
/* Standart .container 1200px idi, bunu 1600px veya %95 yapıyoruz */
.container-wide {
    max-width: 1600px; /* Veya %95 yazarsan ekranı tam kaplar */
    width: 95%;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. Ürün Kartlarını Yan Yana Dizme (Grid) */
/* Kartları saran bir div ekleyeceğiz HTML tarafında */
.products-wrapper-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobilde tek */
    gap: 20px;
}

/* Ekran 1400px'den büyükse kartları 2 sütun yap */
@media (min-width: 1400px) {
    .products-wrapper-grid {
        grid-template-columns: 1fr 1fr; 
    }
    
    /* Yan yana olunca detaylar sıkışmasın */
    .product-card {
        height: 100%; /* Kart boylarını eşitle */
        display: flex;
        flex-direction: column;
    }
    .prod-details {
        margin-top: auto; /* Detayları alta it */
    }
}

/* 3. Sidebar ve İçerik Oranını Güncelle */
/* Geniş ekranda sidebar sabit kalsın, içerik yayılsın */
@media (min-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 280px 1fr; /* Sol sabit, sağ esnek */
        gap: 40px; /* Aradaki boşluğu artırdık */
    }
}
/* --- FATURALAR SAYFASI --- */

/* Tablo İyileştirmeleri */
.invoice-table td {
    vertical-align: middle; /* İçerikleri dikey ortala */
}

/* Fatura Durum Rozetleri */
.badge-status.paid {
    background-color: #dcfce7;
    color: #166534; /* Koyu Yeşil */
}

.badge-status.unpaid {
    background-color: #fee2e2;
    color: #991b1b; /* Koyu Kırmızı */
}

.badge-status.pending {
    background-color: #fef9c3;
    color: #854d0e; /* Koyu Sarı */
}

/* Küçük İkon Butonlar (PDF, Görüntüle) */
.btn-icon {
    background: transparent;
    border: 1px solid #e5e7eb;
    color: #64748b;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    margin-left: 5px;
}

.btn-icon:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: #eff6ff;
}

/* Sayfalama Butonları */
.btn-outline.active {
    pointer-events: none;
}
/* --- PROFİL AYARLARI SAYFASI --- */

/* Ayarlar Grid Yapısı (Opsiyonel: Geniş ekranda yan yana 2 kutu yapılabilir) */
/* Şimdilik alt alta durması daha okunaklı olur */
.settings-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Profil Fotoğrafı Alanı */
.profile-upload-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 12px;
}

.profile-upload-section img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Form Grid (İkili Inputlar) */
.form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Full Width Input */
.form-group.full-width {
    grid-column: span 2;
}

/* --- BİLDİRİM TOGGLE SWITCH (Modern Anahtar) --- */
.notification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f6;
}

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

.notification-item h5 { font-size: 0.95rem; margin-bottom: 2px; }
.notification-item p { font-size: 0.85rem; color: #94a3b8; }

/* Switch Yapısı */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1; /* Kapalı renk (Gri) */
    transition: .4s;
    border-radius: 34px;
}

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

/* Checkbox İşaretliyse */
input:checked + .slider {
    background-color: var(--primary-color); /* Açık renk (Mavi) */
}

input:checked + .slider:before {
    transform: translateX(24px); /* Yuvarlağı sağa kaydır */
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .form-row-grid {
        grid-template-columns: 1fr; /* Mobilde inputlar alt alta */
    }
    .form-group.full-width {
        grid-column: span 1;
    }
}
/* --- GÜNCELLENMİŞ TICKET GRID (PANEL İÇİ) --- */

.ticket-wrapper {
    display: grid;
    /* Panel içinde alan daraldığı için oranı 2.5'a 1 yaptık */
    grid-template-columns: 2.5fr 1fr; 
    gap: 25px;
    align-items: start;
}

/* Mobil için */
@media (max-width: 1200px) {
    .ticket-wrapper {
        grid-template-columns: 1fr; /* Tablet ve Mobilde alt alta */
    }
    
    .ticket-sidebar {
        order: -1; /* Mobilde bilgileri mesajların üstüne al */
        margin-bottom: 20px;
    }
}
/* --- DASHBOARD MASAÜSTÜ İYİLEŞTİRMELERİ --- */

/* 1. İstatistik Kartlarını 4'lü Yap */
/* .stats-cards sınıfını güncelliyoruz, eskiden 3'tü */
@media (min-width: 1200px) {
    .stats-cards {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* 2. Alt Kısım Grid (Tabloları Yan Yana Koy) */
.dashboard-bottom-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobilde alt alta */
    gap: 30px;
}

/* Geniş Ekranda (1400px üstü) Yan Yana Olsun */
@media (min-width: 1400px) {
    .dashboard-bottom-grid {
        grid-template-columns: 1fr 1fr; /* Yan Yana */
    }
    
    /* Tablolar yan yana gelince içerikleri sığsın diye fontu ve paddingi azıcık kısalım */
    .dashboard-bottom-grid .dash-table th, 
    .dashboard-bottom-grid .dash-table td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
}
/* --- ÖDEME (CHECKOUT) SAYFASI --- */

.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Sol 2 birim, Sağ 1 birim */
    gap: 30px;
    align-items: start;
}

/* Sipariş Özeti Kartı */
.summary-card {
    position: sticky;
    top: 100px; /* Kaydırdıkça takip etsin */
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.summary-divider {
    height: 1px;
    background-color: #f1f5f9;
    margin: 15px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 10px;
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-top: 5px;
}

/* Kredi Kartı Form İyileştirmeleri */
.form-control:focus {
    /* Mavi bir parlama efekti verelim */
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Mobil Uyum */
@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr; /* Mobilde alt alta */
    }
    .checkout-forms {
        order: 2; /* Mobilde önce özeti görmek isterlerse order değiştirebiliriz ama standart form üsttedir. */
    }
    .summary-card {
        position: static; /* Mobilde yapışkan olmasın */
        margin-bottom: 30px;
    }
}
/* --- MAĞAZA (SATIŞ) SAYFASI --- */

.shop-card {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
    height: 100%;
}

.shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.shop-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.shop-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.shop-header h3 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.shop-header p {
    font-size: 0.85rem;
    color: #94a3b8;
}

.shop-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 25px;
}

.shop-price .period {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 400;
}

.shop-features {
    margin-bottom: 30px;
    flex-grow: 1; /* Butonu en alta itmek için */
}

.shop-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #4b5563;
}

.shop-features li i {
    color: var(--primary-color);
    font-size: 0.8rem;
    background: #eff6ff;
    padding: 4px;
    border-radius: 50%;
}
/* --- PLAN SEÇİM SAYFASI --- */

.plan-selection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center; /* Kartları ortalar */
}

/* Plan Kartı Temel Tasarım */
.plan-card {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
    position: relative;
    padding: 40px 30px;
    text-align: center;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Popüler Kart (Ortadaki) */
.plan-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05); /* Diğerlerinden biraz büyük */
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.15);
    z-index: 2;
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Kart İçeriği */
.plan-header h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.plan-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-text);
    margin: 15px 0;
}

.plan-price span {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 400;
}

.plan-header p {
    color: #64748b;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.plan-body ul {
    text-align: left;
    margin-bottom: 30px;
}

.plan-body ul li {
    margin-bottom: 12px;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-body ul li i {
    color: var(--primary-color);
}

.plan-body ul li.disabled {
    color: #cbd5e1; /* Pasif özellikler gri */
}
.plan-body ul li.disabled i {
    color: #cbd5e1;
}

/* Mobil Uyum */
@media (max-width: 992px) {
    .plan-selection-grid {
        grid-template-columns: 1fr; /* Mobilde alt alta */
        max-width: 400px;
    }
    .plan-card.popular {
        transform: scale(1); /* Büyütmeyi iptal et */
        margin: 20px 0;
    }
}
/* --- GENİŞ İLETİŞİM SAYFASI --- */

.contact-wrapper-wide {
    display: grid;
    /* Sol %35, Sağ %65 - Daha geniş form alanı */
    grid-template-columns: 1fr 2fr; 
    gap: 40px;
    align-items: stretch; /* Yükseklikleri eşitle */
}

/* Sol Kutu (Bilgiler) */
.contact-info-box-wide {
    background: var(--primary-color);
    color: white;
    padding: 50px 40px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.3);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item .icon-box {
    background: rgba(255,255,255,0.15);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: white;
}

.contact-item p {
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Sosyal Medya İkonları */
.social-links-row {
    margin-top: 40px;
    display: flex;
    gap: 15px;
}
.social-links-row a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.3s;
}
.social-links-row a:hover {
    background: white;
    color: var(--primary-color);
}

/* Sağ Kutu (Form) */
.contact-form-box-wide {
    background: white;
    padding: 50px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Geniş Harita */
.map-section-wide {
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #e5e7eb;
}
.map-section-wide iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .contact-wrapper-wide {
        grid-template-columns: 1fr; /* Mobilde alt alta */
    }
    .contact-form-box-wide, .contact-info-box-wide {
        padding: 30px;
    }
}


/* --- DURUM ROZETLERİ (STATUS BADGES) --- */
.badge-status {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.badge-status.active {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981; /* Yeşil */
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-status.pending {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b; /* Turuncu */
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-status.expired {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444; /* Kırmızı */
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-reply {
    background-color: #eab308;
    color: #fff;
    border-radius: 4px;
}
.status-closed {
    background-color: #ef4444;
    color: #fff;
    border-radius: 4px;
}


/* --- PROFİL RESMİ VE KIRPMA MODALI --- */

/* Mevcut profil resmi alanı */
.profile-upload-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.current-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

/* Kırpma Modalı (Pop-up) */
.crop-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: none; /* JS ile açılacak */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.crop-modal-content {
    background: #121212;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    border: 1px solid #333;
    text-align: center;
}

/* Resim Kapsayıcısı */
.img-container {
    max-height: 400px;
    overflow: hidden;
    margin-bottom: 20px;
}
.img-container img {
    max-width: 100%;
}

/* Modal Butonları */
.crop-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-cancel {
    background: #27272a;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
}

.btn-crop-save {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

/* --- KIRPMA MODALI TEMEL CSS --- */

.crop-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none; 
    align-items: center;
    justify-content: center;
}

.crop-modal-content {
    background: #fff; /* Modal arkaplanı beyaz (Sitenin rengi f3f4f6 olduğu için) */
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
}

.img-container {
    max-height: 400px;
    overflow: hidden;
    margin-bottom: 20px;
    /* Cropper.js container'ın kendisi */
}

/* Çözüm için basit buton stili */
.btn-modal {
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}
.btn-modal-cancel { background: #64748b; color: #fff; border: none; }
.btn-modal-save { background: #3b82f6; color: #fff; border: none; margin-left: 10px; }


/* --- METİN TAŞMASINI ENGELLEME (Text Overflow Fix) --- */

/* Sohbet Mesajları */
.message-text {
    word-break: break-word; /* Uzun kelimeleri kır */
    overflow-wrap: break-word; /* Modern tarayıcılar için */
    white-space: pre-wrap; /* Satır sonlarını koru ama sığdır */
    max-width: 100%; /* Kapsayıcıyı aşma */
}

/* CKEditor İçeriği */
.ck-content {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Talep Detayları */
.info-row .value {
    word-break: break-all; /* E-posta/URL gibi uzun verileri kır */
    max-width: 200px; /* Aşırı uzamayı engelle */
}

/* Genel Tablo Hücreleri */
.custom-table td {
    max-width: 300px; /* Hücre genişliğini sınırla */
    overflow: hidden;
    text-overflow: ellipsis; /* Sığmayanı '...' ile göster */
    white-space: nowrap;
}

/* --- METİN TAŞMA SORUNU ÇÖZÜMÜ (Text Overflow Fix) --- */

/* Mesaj İçerikleri İçin */
.message-text {
    word-break: break-word; /* Uzun kelimeleri (link vb.) zorla kır */
    overflow-wrap: break-word; /* Modern tarayıcılar için standart kırma */
    white-space: pre-wrap; /* Satır başlarını koru ama sığdır */
    max-width: 100%; /* Kutudan asla taşma */
}

/* Tablo Hücreleri İçin (Tablolarda da taşma olmasın) */
.custom-table td {
    max-width: 300px; /* Maksimum genişlik */
    white-space: normal; /* Alt satıra inmesine izin ver */
    word-break: break-word; /* Kelimeyi kır */
}

/* Talep Detayları (Sol Menü) İçin */
.info-row .value {
    word-break: break-all; /* E-posta gibi uzun verileri kır */
    max-width: 200px;
    text-align: right;
}


/* --- MAĞAZA (MARKET) SAYFASI --- */

/* Kategori Filtreleri */
.market-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.filter-btn {
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    transition: 0.2s;
    font-weight: 500;
}
.filter-btn:hover, .filter-btn.active {
    background-color: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
}

/* Market Grid */
.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

/* Ürün Kartı */
.market-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}
.market-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: #3b82f6;
}

/* İkon Alanı */
.market-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Başlık ve Açıklama */
.market-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}
.market-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 45px;
}

/* Özellikler Listesi */
.market-features {
    list-style: none;
    margin-bottom: 25px;
    padding: 0;
    flex-grow: 1; /* Butonu aşağı itmek için */
}
.market-features li {
    font-size: 13px;
    color: #475569;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}
.market-features li::before {
    content: "\f00c"; /* FontAwesome Check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #10b981;
    font-size: 12px;
    top: 2px;
}

/* Fiyat ve Buton */
.market-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px dashed #e2e8f0;
    padding-top: 20px;
}
.market-price {
    font-size: 13px;
    color: #64748b;
}
.market-price strong {
    display: block;
    font-size: 20px;
    color: #1e293b;
    font-weight: 700;
}
.btn-buy-card {
    background-color: #3b82f6;
    color: #fff;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}
.btn-buy-card:hover {
    background-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}


/* --- HİZMETLERİM SAYFASI GRID DÜZENİ --- */

/* Kartları Yan Yana Dizmek İçin Grid */
.products-wrapper-grid {
    display: grid;
    /* Min 350px genişliğinde, sığdığı kadar yan yana kolon oluştur */
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); 
    gap: 25px; /* Kartlar arası boşluk */
    align-items: start; /* Kartları üstten hizala */
}

/* Mobilde Tek Kolona Dönmesi İçin */
@media (max-width: 768px) {
    .products-wrapper-grid {
        grid-template-columns: 1fr; /* Mobilde alt alta */
    }
}

/* Kartın Kendisi (Yükseklik Eşitleme) */
.product-card {
    height: 100%; /* Grid içindeki kartların yüksekliğini eşitle */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-grid {
    display: grid;
    /* Kartların minimum genişliğini 300px yap, sığdığı kadar yan yana koy */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; /* Kartlar arası boşluk */
    align-items: stretch; /* Kartların boyunu eşitle */
    justify-content: center; /* Ortala */
    max-width: 1200px; /* Maksimum genişlik ver ki çok yayılmasın */
    margin: 0 auto; /* Sayfanın ortasına al */
}

/* Mobilde tek sütun olsun */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}


/* Dosya Yolu: assets/css/style.css */

/* Bu sınıfı sadece Login ve Register sayfalarındaki body'ye vereceğiz.
   Böylece index.php bozulmayacak. */
body.auth-body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Beyaz Kart */
.login-card {
    background-color: #ffffff;
    width: 100%;
    max-width: 400px;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
}

/* Başlıklar */
.login-header {
    text-align: center;
    margin-bottom: 30px;
}
.login-header h2 {
    margin: 0;
    font-size: 24px;
    color: #111;
    font-weight: 700;
}
.login-header p {
    margin-top: 10px;
    color: #6c757d;
    font-size: 14px;
}

/* Form Elemanları */
.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}
.form-row {
    display: flex;
    gap: 10px;
}

/* İkonlu Input */
.input-group {
    position: relative;
}
.input-group input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s;
    color: #495057;
}
.input-group input:focus {
    border-color: #2563eb;
    outline: none;
}
.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 16px;
}

/* Alt Linkler */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 25px;
}
.remember-me {
    display: flex;
    align-items: center;
    color: #333;
    cursor: pointer;
}
.remember-me input {
    margin-right: 5px;
}
.forgot-password {
    color: #2563eb;
    text-decoration: none;
}
.btn-submit {
    width: 100%;
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}
.btn-submit:hover {
    background-color: #1d4ed8;
}
.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #6c757d;
}
.auth-footer a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

/* Uyarılar */
.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #fecaca;
}
.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #a7f3d0;
}

/* --- ÖDEME (CHECKOUT) SAYFASI --- */

.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Sol 2 birim, Sağ 1 birim */
    gap: 30px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

/* Fatura ve Kart Formları */
.checkout-forms {
    /* Sol taraftaki Form Kutuları */
}

/* Kartın İçindeki Kutular (Fatura Bilgileri, Kart Bilgileri) */
.content-box {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.content-box h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
}

.form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Kredi Kartı Logoları */
.card-logos {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    font-size: 2rem;
    color: #475569;
}

/* --- ÖZET KISMI (SAĞ SÜTUN) --- */

.checkout-sidebar {
    /* Sağ sütun container'ı */
}

.summary-card {
    position: sticky;
    top: 100px; /* Navbar'ın altından başlar */
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 25px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Ürün/Paket Bilgisi */
.summary-item > div:first-child {
    display: flex;
    gap: 15px;
    align-items: center;
}
.summary-item h4 {
    font-size: 0.95rem;
    margin-bottom: 3px;
}
.summary-item span {
    font-size: 0.8rem;
    color: var(--light-text);
}
.summary-item div:last-child {
    font-weight: 600;
}

.summary-divider {
    height: 1px;
    background-color: #f1f5f9;
    margin: 15px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 5px;
}

/* Güvenlik Yazısı */
.site-footer p {
    font-size: 0.8rem;
    color: var(--light-text);
}

/* --- MOBİL UYUM --- */
@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr; /* Mobilde alt alta */
        gap: 30px;
        max-width: 100%;
    }
    .summary-card {
        position: static; /* Mobilde yapışkan olmasın */
        order: -1; /* Özet kutusunu formların üstüne al */
    }
    .form-row-grid {
        grid-template-columns: 1fr; /* Mobilde inputlar alt alta */
    }
}

/* =========================================
   WALLET / CÜZDAN & BAKİYE CSS
   ========================================= */
.wallet-box {
    background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
    color: white;
    border: none !important;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px -5px rgba(79, 70, 229, 0.4);
}

/* Arka plan dekoratif daireler */
.wallet-decor-1 {
    position: absolute; top: -20px; right: -20px; width: 150px; height: 150px;
    background: rgba(255,255,255,0.1); border-radius: 50%; z-index: 1;
}
.wallet-decor-2 {
    position: absolute; bottom: -40px; left: 20px; width: 100px; height: 100px;
    background: rgba(255,255,255,0.05); border-radius: 50%; z-index: 1;
}

.wallet-content-wrapper {
    position: relative;
    z-index: 2; /* Dekorların üstünde durması için */
}

.wallet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 10px;
}

/* Sol Taraf: Bakiye Gösterimi */
.balance-label {
    font-size: 1rem; opacity: 0.9; display: block; margin-bottom: 5px; font-weight: 500;
}
.balance-amount {
    font-size: 3.2rem; font-weight: 800; line-height: 1; letter-spacing: -1px;
}
.balance-currency {
    font-size: 1.5rem; font-weight: 400; opacity: 0.8; margin-left: 5px;
}
.balance-trust-badge {
    margin-top: 20px; font-size: 0.85rem; opacity: 0.85; 
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.1); padding: 5px 12px; border-radius: 20px; width: fit-content;
}

/* Sağ Taraf: Yükleme Formu */
.load-balance-form {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
}

.input-group-custom {
    position: relative;
    margin-bottom: 15px;
}

.input-wallet {
    background: rgba(0,0,0,0.25) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: white !important;
    font-size: 1.25rem !important;
    padding-right: 40px;
    height: 50px;
    border-radius: 8px;
    width: 100%;
    padding-left: 15px;
}
.input-wallet::placeholder { color: rgba(255,255,255,0.4); }
.input-wallet:focus {
    border-color: rgba(255,255,255,0.6) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
}

.currency-badge {
    position: absolute; right: 15px; top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.7);
    font-weight: bold;
    pointer-events: none;
}

/* Hızlı Seçim Butonları */
.quick-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.btn-quick {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    font-size: 0.9rem;
}
.btn-quick:hover {
    background: white;
    color: #4f46e5;
    transform: translateY(-2px);
}

.btn-wallet-action {
    width: 100%;
    height: 48px;
    font-weight: 700;
    font-size: 1rem;
    color: #4f46e5;
    background: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-wallet-action:hover {
    background: #f8fafc;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .wallet-grid { grid-template-columns: 1fr; gap: 25px; }
    .balance-display { text-align: center; margin-bottom: 10px; }
    .balance-trust-badge { margin: 15px auto 0 auto; }
}
/* =========================================
   DARK THEME OVERRIDES (BUNU EN ALTA EKLE)
   ========================================= */

/* 1. Tüm Kartların ve Kutuların Arka Planını Koyu Yap */
.navbar, 
.service-card, 
.price-card, 
.auth-box, 
.contact-form-box, 
.shop-card, 
.plan-card, 
.content-box, 
.stat-card, 
.dash-sidebar, 
.message-card, 
.reply-section, 
.form-box, 
.info-card, 
.market-card,
.testimonial-card,
.login-card,
.summary-card {
    background-color: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--dark-text) !important;
}

/* 2. Sayfa Başlıkları ve Hero Alanları */
.page-header, 
.hero, 
.brands-section, 
.cta-section,
.staff-message {
    background: var(--bg-body) !important; /* Hafif gri olan yerleri ana zemin rengi yap */
    border-bottom: 1px solid var(--border-color);
}
.cta-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

/* 3. Inputlar ve Form Elemanları */
.form-control, 
.input-group input, 
.ck-editor__editable {
    background-color: var(--bg-input) !important;
    border: 1px solid var(--border-color) !important;
    color: #fff !important;
}
.form-control:focus, .input-group input:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
}

/* 4. Tablolar */
.dash-table th {
    background-color: #020617 !important; /* Başlık daha koyu olsun */
    color: var(--light-text) !important;
    border-bottom: 1px solid var(--border-color) !important;
}
.dash-table td {
    border-bottom: 1px solid var(--border-color) !important;
    color: var(--dark-text);
}
.invoice-table td, .invoice-table th {
    border-color: var(--border-color);
}

/* 5. Yazılar ve Linkler */
h1, h2, h3, h4, h5, h6, strong {
    color: #fff !important;
}
p, span, li, label {
    color: var(--light-text);
}
a { color: var(--dark-text); }
a:hover { color: var(--primary-color); }

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color) !important;
}

/* 6. Butonlar */
.btn-outline {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--dark-text);
}
.btn-outline:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
.tab-btn {
    color: var(--light-text);
}
.tab-btn:hover, .tab-btn.active {
    background-color: var(--bg-input);
    color: #fff;
}

/* 7. Mobil Menü */
@media (max-width: 768px) {
    .nav-links {
        background-color: var(--bg-card) !important;
        border-top: 1px solid var(--border-color);
    }
    .mobile-menu-btn {
        color: #fff !important;
    }
}

/* 8. Diğer Ufak Düzeltmeler */
.badge {
    background-color: rgba(59, 130, 246, 0.2) !important; /* Rozetlerin arkasını şeffaf mavi yap */
    color: #60a5fa !important;
}
.service-card i, .contact-info-item i, .shop-features li i {
    background-color: rgba(59, 130, 246, 0.15) !important;
}
.footer-bottom {
    border-top: 1px solid var(--border-color) !important;
}
.ck.ck-toolbar {
    background-color: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}
.ck.ck-button {
    color: var(--dark-text) !important;
}
.login-header h2 { color: #fff !important; }
/* --- DARK MODE TAMİR KİTİ --- */

/* 1. Arka planı zorla koyu yap */
body, .dashboard-layout, .main-content {
    background-color: #0f172a !important; /* Koyu Lacivert Zemin */
}

/* 2. Kartların içindeki yazıların rengini garantiye al */
.market-card, .shop-card {
    background-color: #1e293b !important; /* Kart Rengi */
    border: 1px solid #334155 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5) !important;
}

/* 3. Başlıklar ve Yazılar */
h1, h2, h3, h4, h5, p, span, div {
    color: #e2e8f0 !important; /* Açık Gri/Beyaz */
}

/* 4. Butonların içindeki yazıyı düzelt (Mavi butonun içi beyaz olsun) */
.btn-primary, .btn-buy-card {
    color: #ffffff !important;
}

/* 5. Üstteki Filtre Butonları (Tümü, Masaüstü Yazılımları vb.) */
.filter-btn {
    background-color: #1e293b !important;
    color: #94a3b8 !important;
    border-color: #334155 !important;
}
.filter-btn.active, .filter-btn:hover {
    background-color: #3b82f6 !important;
    color: #ffffff !important;
}
/* --- DARK MODE SON RÖTUŞLAR (Yazı ve İkon Düzeltmesi) --- */

/* 1. KART İÇİNDEKİ YAZILARI PARLATALIM */
.market-card h3, 
.shop-card h3, 
.prod-title h3,
.market-title,
.plan-header h3 {
    color: #ffffff !important; /* Başlıklar Bembeyaz */
}

.market-desc, 
.market-features li, 
.shop-features li, 
.prod-details .label,
.prod-details .value,
.plan-body li,
p {
    color: #cbd5e1 !important; /* Açıklamalar Açık Gümüş (Okunur) */
}

/* Fiyatları belirginleştir */
.market-price strong, 
.shop-price, 
.plan-price {
    color: #60a5fa !important; /* Fiyatlar Parlak Mavi */
}

/* 2. O SIRITAN BEYAZ İKON KUTULARINI KOYULAŞTIRALIM */
.market-icon-box, 
.shop-icon, 
.prod-icon, 
.service-card i,
.contact-item .icon-box {
    background-color: #0f172a !important; /* Arka planı Koyu Lacivert yap */
    border: 1px solid #334155 !important; /* Etrafına ince gri çizgi çek */
    color: #3b82f6 !important; /* İkonun kendisi Mavi olsun */
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.3) !important; /* İç gölge ver */
}

/* İkonların üzerine gelince (Hover) efekt verelim */
.market-card:hover .market-icon-box,
.shop-card:hover .shop-icon {
    border-color: #3b82f6 !important;
    color: #ffffff !important;
    background-color: #3b82f6 !important;
}

/* 3. LİSTE MADDELERİNİN TİKLERİNİ DÜZELT */
.market-features li::before {
    color: #34d399 !important; /* Tik işaretleri Parlak Yeşil */
}

/* 4. BUTONLARI GÜZELLEŞTİR */
.btn-buy-card, .btn-primary {
    background-color: #2563eb !important;
    color: #ffffff !important;
    border: none !important;
}
.btn-buy-card:hover, .btn-primary:hover {
    background-color: #1d4ed8 !important;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5) !important; /* Mavi parlama efekti */
}
/* --- SIDEBAR (SOL MENÜ) DARK MODE DÜZELTMESİ --- */

/* 1. Sidebar Kutusu */
.dash-sidebar {
    background-color: #1e293b !important; /* Koyu Kart Rengi */
    border: 1px solid #334155 !important; /* Koyu Çizgi */
}

/* 2. Profil Alanı (İsim ve Mail) */
.user-profile-summary {
    border-bottom: 1px solid #334155 !important; /* Altındaki çizgiyi koyulaştır */
}
.user-profile-summary h4 {
    color: #ffffff !important; /* İsim Bembeyaz */
}
.user-profile-summary span {
    color: #94a3b8 !important; /* Mail Gümüş Rengi */
}

/* 3. Menü Linkleri (Genel) */
.dash-menu li a {
    color: #cbd5e1 !important; /* Link Yazıları Açık Gri */
    transition: all 0.3s ease;
}

/* İkonlar */
.dash-menu li a i {
    color: #64748b !important; /* İkonlar biraz sönük kalsın */
}

/* 4. Mouse Üzerine Gelince & Aktif Sayfa */
.dash-menu li a:hover, 
.dash-menu li a.active {
    background-color: #334155 !important; /* Arka plan hafif aydınlansın */
    color: #ffffff !important; /* Yazı parlasın */
}

.dash-menu li a:hover i, 
.dash-menu li a.active i {
    color: #60a5fa !important; /* Aktif olunca ikon Mavi yansın */
}

/* 5. Yönetim Paneli ve Çıkış Yap Butonları (Özel Renkler) */
/* PHP içinde style="" ile verilmiş renkleri ezip daha parlak yapıyoruz */
a[href="go_admin.php"] {
    color: #fbbf24 !important; /* Admin: Parlak Sarı/Turuncu */
}
a[href="logout.php"] {
    color: #f87171 !important; /* Çıkış: Parlak Kırmızı */
}

/* 6. PHP içindeki satır arası çizgileri (border-top) koyulaştır */
.dash-menu li[style*="border-top"] {
    border-color: #334155 !important;
}