.calendar {
  max-width: 650px;
  margin: 30px 0;
  font-family: 'Inter', sans-serif;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  background: #fff;
}

/* Month Title */
.calendar-header {
  background: var(--theme-color);
  color: white;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 14px 0;
  letter-spacing: 1px;
}

/* Weekday Row */
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #f8f8f8;
  text-align: center;
  font-weight: 600;
  border-bottom: 1px solid #ddd;
}

.calendar-days div {
  padding: 10px 0;
  color: #333;
}

/* Date Boxes Grid */
.calendar-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  min-height: 400px;
}

.date-box {
  border: 1px solid #eee;
  height: 80px;
  position: relative;
  padding: 6px;
  box-sizing: border-box;
  background: white;
}

.date-box.empty {
  background: #fafafa;
}

.date-number {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.holiday {
    color: white;
}

/* Holidays */
.date-box.holiday {
  background: var(--theme-color);
  color: white;
}

.holiday-name {
  position: absolute;
  bottom: 6px;
  left: 8px;
  font-size: 11px;
  font-weight: 500;
  text-align: left;
  line-height: 1.2;
}

/* Responsive */
@media (max-width: 600px) {
  .calendar {
    max-width: 100%;
  }

  .date-box {
    height: 70px;
  }

  .calendar-header {
    font-size: 1.2rem;
    padding: 10px 0;
  }

  .holiday-name {
    font-size: 10px;
    bottom: 3px;
    left: 2px;
  }
}
