/* Calendar 2 (shared) */
.w3-cal2 {
  width: min(100%, 380px);
  max-width: 100%;
  min-width: 350px;
  margin: 0 auto;
}

@media (max-width: 420px) {
  .w3-cal2 {
    min-width: 0;
    width: 100%;
  }
}

.w3-cal2-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.w3-cal2-label {
  font-size: 16px;
  font-weight: 600;
  color: #2b2b2b;
}

.w3-cal2-prev,
.w3-cal2-next {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: 1px solid #d7d2c8;
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.w3-cal2-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 6px;
  font-size: 12px;
  color: #777;
}

.w3-cal2-weekday {
  text-align: center;
}

.w3-cal2-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(40px, 1fr));
  gap: 6px;
}

.w3-cal2-day {
  border: 1px solid #d7d2c8;
  border-radius: 4px;
  background: #f7f7f7;
  color: #555;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  cursor: pointer;
  min-width: 0;
}

.w3-cal2-day-number {
  font-size: 14px;
  font-weight: 600;
}

.w3-cal2-day--available {
  background: #dff6e5;
  color: #1f6a3a;
  border-color: #bfe9cc;
}

.w3-cal2-day--none {
  background: #f1f1f1;
  color: #9c9c9c;
}

.w3-cal2-day--blocked {
  border-color: #f08c2f !important;
  color: #f08c2f !important;
  background: rgba(240, 140, 47, 0.16) !important;
}

.w3-cal2-day--selected {
  border-color: #2b2b2b;
  background: #2b2b2b;
  color: #fff;
}
