/* =====================================================
   PRICING CALENDAR CSS
   Premium tarih secici - Sade, profesyonel
   ===================================================== */

.pc-calendar {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header */
.pc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f3f4f6;
}

.pc-month-label {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.pc-nav {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.pc-nav:hover {
  background: #f9fafb;
}

/* Weekdays */
.pc-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.pc-weekdays span {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  padding: 4px 0;
}

/* Days grid */
.pc-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

/* Day cell */
.pc-day {
  min-height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
  padding: 6px 4px;
  gap: 2px;
}

.pc-day.pc-empty {
  background: transparent;
  cursor: default;
}

/* Available day */
.pc-day.pc-available {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.pc-day.pc-available:hover {
  background: #dcfce7;
}

/* Sold out day */
.pc-day.pc-soldout {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  cursor: not-allowed;
}

.pc-day.pc-soldout .pc-day-num {
  color: #92400e;
}

.pc-day.pc-soldout .pc-day-price {
  color: #b45309;
}

/* Closed day */
.pc-day.pc-closed {
  background: #fef2f2;
  cursor: not-allowed;
}

.pc-day.pc-closed .pc-day-num {
  color: #9ca3af;
}

.pc-day.pc-closed .pc-day-price {
  color: #9ca3af;
}

/* Past day */
.pc-day.pc-past {
  background: #f9fafb;
  cursor: not-allowed;
}

.pc-day.pc-past .pc-day-num,
.pc-day.pc-past .pc-day-price {
  color: #d1d5db;
}

/* Selected day */
.pc-day.pc-selected {
  background: #2563eb;
  border-color: #2563eb;
}

.pc-day.pc-selected .pc-day-num,
.pc-day.pc-selected .pc-day-price {
  color: #fff;
}

/* Day number */
.pc-day-num {
  font-size: 13px;
  font-weight: 500;
  color: #111827;
}

/* Day price */
.pc-day-price {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}

/* Day status (for closed/soldout days) */
.pc-day-status {
  font-size: 9px;
  color: #dc2626;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pc-day.pc-soldout .pc-day-status {
  color: #b45309;
}

/* Capacity badge */
.pc-day-cap {
  font-size: 10px;
  font-weight: 500;
  color: #6b7280;
  background: rgba(0,0,0,0.05);
  padding: 1px 4px;
  border-radius: 3px;
}

.pc-day.pc-selected .pc-day-cap {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* Legend */
.pc-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}

.pc-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6b7280;
}

.pc-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.pc-dot-available {
  background: #86efac;
}

.pc-dot-soldout {
  background: #fcd34d;
}

.pc-dot-closed {
  background: #fecaca;
}

/* Loading state */
.pc-loading {
  text-align: center;
  padding: 40px;
  color: #6b7280;
  font-size: 14px;
}

/* Error state */
.pc-error {
  text-align: center;
  padding: 40px;
  color: #dc2626;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 480px) {
  .pc-day {
    min-height: 52px;
    padding: 4px 2px;
  }

  .pc-day-num {
    font-size: 12px;
  }

  .pc-day-price {
    font-size: 10px;
  }

  .pc-legend {
    flex-wrap: wrap;
    gap: 12px;
  }
}
