/* Temel gövde stilleri */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- TAKVİM IZGARASI (Yeni Eklendi) --- */
.calendar-grid { 
    display: grid; 
    grid-template-columns: repeat(7, 1fr); 
    gap: 4px; 
}

.day-cell { 
    aspect-ratio: 1; 
    border: 1px solid #e5e7eb; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    user-select: none; 
    transition: all 0.1s; 
    border-radius: 6px;
}

.day-cell:hover { background-color: #f3f4f6; }
.day-cell.selected { background-color: #4ade80; color: white; font-weight: bold; border-color: #22c55e; }
.day-cell.holiday { background-color: #fca5a5; color: #fff; pointer-events: none; opacity: 0.6; }
.day-cell.user-holiday { background-color: #f87171 !important; color: white !important; border-color: #dc2626 !important; }
.day-cell.weekend { background-color: #e5e7eb; color: #9ca3af; pointer-events: none; }

/* --- TABLO ETKİLEŞİMLERİ (Yeni Eklendi) --- */
/* Tablo karartma efekti */
.dimmed-table td, .dimmed-table th { 
    filter: grayscale(100%); 
    opacity: 0.3; 
    transition: all 0.3s; 
}

/* Seçili kişi vurgusu */
.dimmed-table td.highlight-cell { 
    filter: none; 
    opacity: 1; 
    transform: scale(1.05); 
    font-weight: bold; 
    box-shadow: 0 0 10px rgba(0,0,0,0.1); 
    z-index: 10; 
    position: relative; 
    background-color: white; /* Okunabilirlik için */
}

/* İsim Hücresi */
.name-cell { 
    white-space: nowrap; 
    padding: 0.5rem; 
    font-weight: 600; 
    cursor: context-menu; /* Sağ tık imleci */
    text-align: center; 
    user-select: none; 
    -webkit-user-select: none; /* Safari/Mobile */
    touch-action: manipulation; /* Zoom engelleme */
}

/* Kura Hücresi */
.kura-cell { 
    cursor: pointer; 
    transition: all 0.2s; 
    position: relative; 
}
.kura-cell:hover { transform: scale(1.05); z-index: 5; box-shadow: 0 0 10px rgba(0,0,0,0.2); }
.kura-cell::after { content: '👆 Seç'; font-size: 8px; display: block; opacity: 0; transition: opacity 0.2s; }
.kura-cell:hover::after { opacity: 1; }

/* --- SAĞ TIK MENÜSÜ (Context Menu) --- */
#contextMenu { 
    position: absolute; 
    z-index: 100; 
    display: none; 
    min-width: 200px; 
    background: white; 
    border: 1px solid #e5e7eb; 
    border-radius: 8px; 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); 
    overflow: hidden; 
}

.ctx-item { 
    padding: 12px 15px; /* Tablette parmakla basmak kolay olsun diye biraz büyüttük */
    cursor: pointer; 
    font-size: 14px; 
    color: #374151; 
    transition: background 0.1s; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-bottom: 1px solid #f3f4f6;
}
.ctx-item:last-child { border-bottom: none; }
.ctx-item:hover { background-color: #f3f4f6; }

/* --- ESKİ STİLLER (Korundu) --- */
.assignment-cell { font-size: 0.875rem; color: #374151; padding: 1rem 1.5rem; }
.assignment-cell.hafta-sonu { background-color: #f3f4f6; color: #6b7280; font-style: italic; }
.assignment-cell.başlamadı { background-color: #fef9c3; color: #713f12; }
.assignment-cell.poliklinik-1 { color: #2563eb; font-weight: 500;} 
.assignment-cell.poliklinik-2 { color: #059669; font-weight: 500;} 
.assignment-cell.poliklinik-3 { color: #d97706; font-weight: 500;} 
.assignment-cell.yaşam-polk { color: #16a34a; font-weight: 600;} 
.assignment-cell.getat-poliklinik { color: #db2777; font-weight: 600;} 
.assignment-cell.yedek-poliklinik { color: #4b5563; font-weight: 500; background-color: #e5e7eb; }
