/* Calendar - Minimal Clean */
.org-calendar { user-select: none; }

.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-header h4 { font-size: 16px; font-weight: 700; color: #111; letter-spacing: -0.3px; margin: 0; }
.cal-nav { display: flex; gap: 4px; }
.cal-nav button { width: 32px; height: 32px; border-radius: 6px; border: 1px solid #E5E5E5; background: #fff; color: #737373; font-size: 13px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.15s; }
.cal-nav button:hover { border-color: #2563EB; color: #2563EB; }

.cal-legend { display: flex; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.cal-legend-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #737373; }
.cal-legend-dot { width: 10px; height: 10px; border-radius: 3px; }
.cal-legend-dot.bos { background: #2563EB; }
.cal-legend-dot.beklemede { background: #EA580C; }
.cal-legend-dot.dolu { background: #DC2626; }
.cal-legend-dot.bloklu { background: #A3A3A3; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-day-name { text-align: center; font-size: 11px; font-weight: 600; color: #A3A3A3; padding: 6px 0; text-transform: uppercase; letter-spacing: 0.5px; }

.cal-day { border: 1px solid #E5E5E5; border-radius: 6px; padding: 4px; min-height: 62px; background: #fff; transition: all 0.15s; }
.cal-day.empty { border-color: transparent; background: transparent; }
.cal-day.past { opacity: 0.35; pointer-events: none; }
.cal-day.today { border-color: #2563EB; }
.cal-day-num { font-size: 11px; font-weight: 600; color: #111; margin-bottom: 3px; text-align: right; }
.cal-day.today .cal-day-num { color: #2563EB; }

.cal-slots { display: flex; flex-direction: column; gap: 2px; }
.cal-slot { padding: 2px 4px; border-radius: 3px; font-size: 10px; font-weight: 600; text-align: center; cursor: pointer; transition: all 0.1s; line-height: 1.3; }

.cal-slot.bos { background: #EFF6FF; color: #2563EB; }
.cal-slot.bos:hover { background: #2563EB; color: #fff; }
.cal-slot.beklemede { background: #FFF7ED; color: #EA580C; cursor: default; }
.cal-slot.onaylandi { background: #FEF2F2; color: #DC2626; cursor: default; }
.cal-slot.bloklu { background: #F5F5F5; color: #A3A3A3; cursor: default; }

.cal-slot.beklemede.clickable, .cal-slot.onaylandi.clickable { cursor: pointer; }
.cal-slot.beklemede.clickable:hover { background: #EA580C; color: #fff; }

/* Rezervasyon Modal */
.rez-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 10000; display: none; align-items: center; justify-content: center; padding: 20px; }
.rez-modal-overlay.active { display: flex; }
.rez-modal { background: #fff; border-radius: 12px; width: 100%; max-width: 440px; padding: 28px; position: relative; animation: modalIn 0.2s ease; max-height: 90vh; overflow-y: auto; border: 1px solid #E5E5E5; }
@keyframes modalIn { from { opacity: 0; transform: scale(0.97) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.rez-modal-close { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 6px; border: 1px solid #E5E5E5; background: #fff; color: #737373; font-size: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.rez-modal h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; color: #111; letter-spacing: -0.3px; }
.rez-modal .rez-subtitle { font-size: 13px; color: #737373; margin-bottom: 20px; }

.rez-date-info { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #EFF6FF; border-radius: 8px; margin-bottom: 18px; border: 1px solid #DBEAFE; }
.rez-date-info i { color: #2563EB; font-size: 20px; }
.rez-date-info .rez-date-text { font-size: 14px; font-weight: 600; color: #111; }
.rez-date-info .rez-slot-text { font-size: 12px; color: #737373; }

.rez-form-group { margin-bottom: 14px; }
.rez-form-group label { display: block; font-size: 13px; font-weight: 600; color: #111; margin-bottom: 5px; }
.rez-form-group select, .rez-form-group input, .rez-form-group textarea { width: 100%; padding: 10px 12px; border: 1px solid #E5E5E5; border-radius: 6px; font-family: 'DM Sans', sans-serif; font-size: 14px; color: #111; transition: border-color 0.15s; }
.rez-form-group select:focus, .rez-form-group input:focus, .rez-form-group textarea:focus { outline: none; border-color: #2563EB; box-shadow: 0 0 0 3px rgba(37,99,235,0.08); }
.rez-form-group textarea { resize: vertical; min-height: 70px; }

.rez-submit { width: 100%; padding: 12px; background: #2563EB; color: #fff; border: none; border-radius: 8px; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.15s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.rez-submit:hover { background: #1D4ED8; }
.rez-submit:disabled { opacity: 0.5; cursor: not-allowed; }

@media (max-width: 767px) {
    .cal-day { min-height: 50px; padding: 3px; }
    .cal-day-num { font-size: 10px; }
    .cal-slot { font-size: 9px; padding: 2px 3px; }
    .cal-legend { gap: 8px; }
    .cal-header h4 { font-size: 14px; }
    .rez-modal { padding: 20px; }
}

@media (max-width: 480px) {
    .cal-grid { gap: 2px; }
    .cal-day { min-height: 44px; border-radius: 4px; }
    .cal-day-name { font-size: 9px; }
}
