/**
 * calendar.css
 * 통합 캘린더 모듈 스타일
 */

.unified-calendar {
  background: #f8fafc;
  border-radius: 0.5rem;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  max-width: 320px;
  margin: 0 auto;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.calendar-month-label {
  font-weight: 600;
  color: #1e293b;
}

.calendar-prev-btn,
.calendar-next-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 0.25rem;
}

.calendar-prev-btn:hover,
.calendar-next-btn:hover {
  background-color: #f1f5f9;
}

.calendar-days-container {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  text-align: center;
}

.calendar-day {
  padding: 0.5rem 0;
  border-radius: 0.25rem;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background-color 0.2s, color 0.2s;
}

.calendar-day:hover {
    background-color: #ecfdf5; /* emerald-50 */
}

.calendar-day.weekend {
  color: #f87171; /* red-400 */
}

.calendar-day.selected {
  background-color: #10b981; /* emerald-500 */
  color: white;
  font-weight: 700;
}

.calendar-day.in-range {
    background-color: #d1fae5; /* emerald-100 */
    color: #065f46; /* emerald-800 */
}
