/* ========== 1. CSS DEĞİŞKENLERİ ========== */
:root {
    --primary: #D4A5A5;
    --primary-dark: #B58484;
    --secondary: #805AD5;
    --text-main: #2D3748;
    --text-light: #718096;
    --text-muted: #6B7280;
    --bg-body: #FDFBF9;
    --bg-surface: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-sidebar: #FFFFFF;
    --border: #E2E8F0;
    --shadow: 0 20px 40px -5px rgba(212, 165, 165, 0.15);
    --radius: 16px;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
    --breakpoint-mobile: 480px;
    --breakpoint-tablet: 1024px;
    --touch-target-min: 44px;
    --sidebar-width: 260px;
    --header-height: 70px;
}

/* ========== 2. TEMEL STİLLER (Reset, Body, Tipografi) ========== */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; scroll-behavior: smooth; }

/* ========== 3. MODAL BİLDİRİM SİSTEMİ ========== */
.notification-overlay {
    position: fixed; inset: 0; z-index: 50000;
    background: rgba(0,0,0,0.5);
    display: none; align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
    opacity: 0; transition: opacity 0.3s ease;
}
.notification-overlay.active {
    display: flex; opacity: 1;
}
.notification-modal {
    background: #fff; border-radius: 20px; padding: 36px 32px 28px;
    max-width: 420px; width: 90%; text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    transform: scale(0.9); transition: transform 0.3s ease;
    position: relative;
}
.notification-overlay.active .notification-modal {
    transform: scale(1);
}
.notification-close {
    position: absolute; top: 12px; right: 16px;
    background: none; border: none; font-size: 24px;
    color: var(--text-light); cursor: pointer;
    width: 36px; height: 36px; display: flex;
    align-items: center; justify-content: center;
    border-radius: 50%; transition: 0.2s;
    min-width: var(--touch-target-min);
    min-height: var(--touch-target-min);
}
.notification-close:hover { background: #f3f4f6; color: var(--text-main); }
.notification-icon {
    width: 64px; height: 64px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; font-size: 28px;
}
.notification-icon.success { background: #d1fae5; color: var(--success); }
.notification-icon.error { background: #fee2e2; color: var(--danger); }
.notification-icon.warning { background: #fef3c7; color: var(--warning); }
.notification-icon.confirm { background: #dbeafe; color: var(--info); }
.notification-title {
    font-size: 18px; font-weight: 700; color: var(--text-main); margin-bottom: 8px;
}
.notification-message {
    font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 20px;
}
.notification-actions {
    display: flex; gap: 12px; justify-content: center;
}
.notification-actions button {
    padding: 12px 28px; border-radius: 10px; border: none;
    font-weight: 600; font-size: 14px; cursor: pointer;
    transition: 0.2s; min-height: var(--touch-target-min);
}
.notification-actions .btn-confirm {
    background: var(--info); color: #fff;
}
.notification-actions .btn-confirm:hover { background: #2563eb; }
.notification-actions .btn-cancel-modal {
    background: #f3f4f6; color: var(--text-main);
}
.notification-actions .btn-cancel-modal:hover { background: #e5e7eb; }

@media (max-width: 480px) {
    .notification-modal {
        width: 100%; max-width: 95vw; padding: 28px 20px 20px;
    }
}

/* ========== 4. ORTAK BUTON STİLLERİ ========== */
.btn-main {
    background: var(--text-main); color: white; padding: 12px 32px;
    border-radius: 30px; text-decoration: none; font-weight: 600; font-size: 14px;
    transition: all 0.3s ease; border: none; cursor: pointer;
    min-height: var(--touch-target-min);
    display: inline-flex; align-items: center; justify-content: center;
}
.btn-main:hover { background: var(--primary); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(212, 165, 165, 0.3); }

/* ========== 5. DOKUNMATIK & ERİŞİLEBİLİRLİK ========== */
button, a, [role="button"], .srv-card, .time-slot, .nav-item, .calendar-day:not(.empty), .action-btn {
    min-width: var(--touch-target-min);
    min-height: var(--touch-target-min);
}
@media (hover: none) {
    button:active, a:active, .srv-card:active, .time-slot:active {
        opacity: 0.7; transform: scale(0.97);
    }
}
.input-error { border-color: var(--danger) !important; }
.field-error-msg {
    color: var(--danger); font-size: 12px; margin-top: 4px; display: block;
}
