/* =========================================================
   AERAPART CSS - ÖZEL STİLLER VE DÜZENLEMELER
   ========================================================= */

/* --- 1. GENEL TİPOGRAFİ VE YARDIMCI SINIFLAR --- */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #f8f9fa; /* Açık gri ferah arka plan */
    color: #2b2d42;
}

.tracking-wide { letter-spacing: 1px !important; }
.tracking-wider { letter-spacing: 2px !important; }
.cursor-pointer { cursor: pointer !important; }
.transition-all { transition: all 0.3s ease !important; }
.word-break-all { word-break: break-all !important; }

/* Bulanık (Blur) Arka Planlar (Modallar ve Kredi Kartı Görünümü İçin) */
.backdrop-blur { 
    backdrop-filter: blur(8px); 
    background-color: rgba(255, 255, 255, 0.8); 
}

/* Koyu/Renkli Özel Degrade (Gradient) Arka Plan (Dashboard ve Superadmin ciro kartı) */
.bg-gradient-premium {
    background: linear-gradient(135deg, #1e1e24 0%, #dc3545 100%) !important;
}

/* --- 2. TABLO VE LİSTE DÜZENLEMELERİ --- */
/* Tabloların ve listelerin son satırındaki gereksiz çizgiyi kaldırır */
.last-border-none:last-child td,
.last-border-none:last-child { 
    border-bottom: none !important; 
    margin-bottom: 0 !important; 
    padding-bottom: 0 !important; 
}

/* --- 3. MENÜ (SIDEBAR) VE NAVİGASYON --- */
.sidebar {
    min-height: calc(100vh - 60px); /* Üst menü yüksekliği çıkarıldı */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar .nav-link {
    font-weight: 500;
    color: #495057;
    padding: 0.8rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.2rem;
    transition: all 0.2s;
}

.sidebar .nav-link:hover {
    background-color: rgba(220, 53, 69, 0.05); /* Açık kırmızı hover */
    color: #dc3545;
}

.sidebar .nav-link.active {
    color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.1);
    font-weight: 700;
}

/* --- 4. GİRİŞ SAYFASI (LOGIN) --- */
.login-page-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
.hover-text-white:hover { color: #dc3545 !important; }

/* --- 5. BİLEŞEN ÖZELLEŞTİRMELERİ --- */
/* Daireler sayfasındaki yuvarlak sayfalama butonları */
.pagination-circle .page-link {
    width: 40px; 
    height: 40px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}

/* Anketler sayfasındaki ince ilerleme çubuğu */
.progress-sm { height: 10px !important; }

/* --- 6. MAKBUZ (RECEIPT) VE YAZDIRMA (PRINT) AYARLARI --- */
.receipt-container { 
    max-width: 850px; 
    margin: 0 auto; 
    background: #ffffff; 
    padding: 60px; 
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08); 
    border-top: 10px solid #198754; 
}
.receipt-header { border-bottom: 2px dashed #e9ecef; padding-bottom: 30px; margin-bottom: 40px; }
.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 8rem;
    color: rgba(25, 135, 84, 0.03);
    font-weight: 900;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

/* Yazıcıya Gönderildiğinde Sadece Makbuz Görünsün */
@media print {
    body { background: #fff; padding: 0; }
    .print-none { display: none !important; }
    .receipt-container { 
        box-shadow: none !important; 
        border: none !important; 
        border-radius: 0 !important; 
        padding: 20px !important; 
        border-top: 6px solid #198754 !important; 
    }
    /* Tarayıcıların arkaplan renklerini (rozetleri vs.) yazdırması için zorunlu kod */
    * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
}