/* Personel Maaş Takip Sistemi Özel Stiller */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: #f8fafc;
    color: #1e293b;
    -webkit-font-smoothing: antialiased;
}

/* BELİRGİN YEŞİL (EMERALD) SATIR VURGUSU - ÖDENDİ DURUMU */
.row-paid {
    background-color: #d1fae5 !important; /* Tailwind bg-emerald-100 */
    border-left: 6px solid #059669 !important; /* Koyu yeşil şerit border-emerald-600 */
    box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.2);
    transition: all 0.25s ease-in-out;
}

.row-paid:hover {
    background-color: #a7f3d0 !important;
}

.row-paid td {
    color: #064e3b !important;
}

.row-paid .table-input {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-color: #34d399 !important;
    color: #065f46 !important;
    font-weight: 700 !important;
}

.row-pending {
    background-color: #ffffff;
    border-left: 6px solid #e2e8f0;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.row-pending:hover {
    background-color: #f8fafc;
}

/* Giriş Kutuları ve Tablo Hücre Stilleri */
.table-input {
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    padding: 0.375rem 0.625rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    transition: all 0.15s ease-in-out;
    width: 100%;
}

.table-input:focus {
    outline: none;
    background-color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Kalan Tutar Canlı Vurgu */
.badge-kalan {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 800;
    font-size: 0.875rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.badge-kalan.positive {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.badge-kalan.zero {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.badge-kalan.negative {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* DEVAM ÇİZELGESİ TAKVİM KUTULARI (Garanti Yükseklikli) */
.day-box {
    min-height: 52px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0.6rem !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    user-select: none !important;
    transition: all 0.15s ease !important;
    border: 1px solid #cbd5e1 !important;
    padding: 0.25rem !important;
}

.day-box.present {
    background-color: #d1fae5 !important;
    color: #065f46 !important;
    border-color: #6ee7b7 !important;
}

.day-box.present:hover {
    background-color: #a7f3d0 !important;
}

.day-box.absent {
    background-color: #ef4444 !important; /* Canlı Kırmızı */
    color: #ffffff !important;
    border-color: #dc2626 !important;
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.3) !important;
}

.day-box.absent:hover {
    background-color: #dc2626 !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Modal ve Animasyonlar */
.modal-backdrop {
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
}

/* Toast Bildirimi */
#toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    border-radius: 0.75rem;
    background: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    font-size: 0.875rem;
    font-weight: 600;
}
