/* Custom styles will go here */

/* Hatırlatma Sistemi Stilleri */

/* Genel body stilleri */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6;
    color: #333;
    padding-top: 64px; /* Header height */
    padding-bottom: 64px; /* Bottom nav height */
}

/* Form input ve textarea stilleri */
input[type="text"],
input[type="number"],
input[type="datetime-local"],
textarea,
select {
    color: #333; /* Metin rengini belirginleştir */
    background-color: #fff; /* Arka plan rengini belirginleştir */
    border: 1px solid #d1d5db; /* Kenarlık ekle */
    padding: 0.5rem 0.75rem; /* İç boşluk ekle */
}

/* Placeholder metin rengi */
input::placeholder,
textarea::placeholder {
    color: #9ca3af; /* Daha belirgin bir gri tonu */
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #A36339, #985b37);
    border-radius: 4px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #985b37, #8B4E2F);
    transform: scale(1.1);
}

::-webkit-scrollbar-corner {
    background: #f1f5f9;
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #A36339 #f1f5f9;
}

.tab-button.active {
    background-color: #A36339 !important; /* corporate brown */
    color: white !important;
}

.modal-overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Modal Shadow Effects */
.modal-overlay > div {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 
                0 0 0 1px rgba(163, 99, 57, 0.1),
                0 10px 25px rgba(163, 99, 57, 0.15);
    border: 1px solid rgba(163, 99, 57, 0.1);
    backdrop-filter: blur(8px);
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* Hatırlatma Rozet Stilleri */
.reminder-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.4);
    animation: reminderPulse 2s infinite;
    z-index: 10;
}

.reminder-urgent {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    animation: reminderBlink 1s infinite alternate;
}

.reminder-auto {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.reminder-manual {
    background: linear-gradient(135deg, #A36339, #985b37);
}

/* Hatırlatma Bildirimi */
.reminder-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.3);
    z-index: 1000;
    max-width: 350px;
    min-width: 300px;
    animation: slideInRight 0.3s ease-out;
}

.reminder-notification-urgent {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.3);
}

.reminder-notification-auto {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

/* Hatırlatma Butonları */
.reminder-btn {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.reminder-btn-primary {
    background: rgba(255, 255, 255, 0.9);
    color: #f59e0b;
}

.reminder-btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.reminder-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Animasyonlar */
@keyframes reminderPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1; 
    }
    50% { 
        transform: scale(1.1); 
        opacity: 0.8; 
    }
}

@keyframes reminderBlink {
    0% { opacity: 1; }
    100% { opacity: 0.6; }
}

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

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Çağrı kartlarında hatırlatma göstergesi */
.call-item.has-reminder {
    border-left-width: 6px;
    position: relative;
}

.call-item.has-reminder::before {
    content: '';
    position: absolute;
    top: 8px;
    left: -3px;
    width: 6px;
    height: 6px;
    background: #f59e0b;
    border-radius: 50%;
    animation: reminderPulse 2s infinite;
}

/* Çağrı Durumu Renk Kodları */
.status-görüldü {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
    border: 1px solid #059669;
}

.status-ulaşılamadı {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
    border: 1px solid #dc2626;
}

.status-sonra-ara {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
    border: 1px solid #d97706;
}

/* Hover efektleri */
.status-görüldü:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.4);
}

.status-ulaşılamadı:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.4);
}

.status-sonra-ara:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.4);
}

/* Çağrı kartlarında durum göstergesi */
.call-item {
    border-left: 4px solid #e5e7eb;
    transition: all 0.3s ease;
}

.call-item[data-status="Görüldü"] {
    border-left-color: #10b981;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.05) 0%, transparent 100%);
}

.call-item[data-status="Ulaşılamadı"] {
    border-left-color: #ef4444;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.05) 0%, transparent 100%);
}

.call-item[data-status="Sonra Ara"] {
    border-left-color: #f59e0b;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.05) 0%, transparent 100%);
}
