@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

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

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

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Animation Classes */
@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.animate-slide-in {
    animation: slideInUp 0.3s ease-out;
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.2s ease-out;
}

/* Task Item Styles */
.task-item {
    transition: all 0.3s ease;
}

.task-item:hover {
    transform: translateX(4px);
}

.task-checkbox {
    transition: all 0.2s ease;
}

.task-checkbox:checked {
    animation: scaleIn 0.2s ease;
}

/* Modal Styles */
.modal-backdrop {
    backdrop-filter: blur(4px);
}

/* Button Hover Effects */
.btn-hover {
    transition: all 0.2s ease;
}

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

/* Loading Spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    animation: spin 1s linear infinite;
}

/* Priority Badge Styles */
.priority-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-weight: 500;
}

.priority-high {
    background: #fee2e2;
    color: #dc2626;
}

.priority-medium {
    background: #fed7aa;
    color: #ea580c;
}

.priority-low {
    background: #dbeafe;
    color: #2563eb;
}

/* Category Colors */
.category-İş { background: #e0e7ff; color: #4338ca; }
.category-Kişisel { background: #fce7f3; color: #be185d; }
.category-Alışveriş { background: #d1fae5; color: #047857; }
.category-Sağlık { background: #fee2e2; color: #dc2626; }
.category-Eğitim { background: #fef3c7; color: #d97706; }
.category-Diğer { background: #f3f4f6; color: #4b5563; }

/* Tab Active State */
.tab-active {
    background: white;
    color: #ea580c;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Form Input Focus Effects */
.form-input:focus {
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* Success Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1000;
    animation: slideInUp 0.3s ease-out;
}

.toast-success {
    border-left: 4px solid #10b981;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
}

.empty-state svg {
    margin: 0 auto 1rem;
    opacity: 0.3;
}