.ecg-calendar-widget {
  max-width: 100%;
  padding: 20px;
}

.ecg-calendar-widget h3 {
  font-size: 1.4rem;
  color: #1a2e4a;
  margin-bottom: 8px;
  font-weight: 700;
}

.ecg-calendar-intro {
  color: #5a6a7a;
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.ecg-dates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.ecg-date-card {
  background: #fff;
  border: 2px solid #e4eaf0;
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.ecg-date-card:hover {
  border-color: #2b9bb3;
  box-shadow: 0 4px 12px rgba(43, 155, 179, 0.15);
  transform: translateY(-2px);
}

.ecg-date-card.selected {
  background: #2b9bb3;
  border-color: #2b9bb3;
  color: #fff;
}

.ecg-date-card.selected .ecg-date-day,
.ecg-date-card.selected .ecg-date-number,
.ecg-date-card.selected .ecg-date-month {
  color: #fff;
}

.ecg-date-day {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #5a6a7a;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.ecg-date-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a2e4a;
  line-height: 1;
  margin-bottom: 4px;
}

.ecg-date-month {
  font-size: 0.72rem;
  color: #5a6a7a;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ecg-no-dates {
  background: #fff8ee;
  border-left: 4px solid #e8a042;
  padding: 16px;
  border-radius: 0 8px 8px 0;
  color: #7a5520;
  font-size: 0.88rem;
}

/* Confirmation box */
.ecg-confirmation-box {
  background: #f0f9fb;
  border: 2px solid #2b9bb3;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin-top: 20px;
}

.ecg-confirmation-box p {
  margin-bottom: 12px;
  color: #1a2e4a;
  font-size: 0.92rem;
}

.ecg-selected-date-display {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2b9bb3;
  margin-bottom: 20px;
}

.ecg-book-now-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #2b9bb3;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-right: 10px;
}

.ecg-book-now-btn:hover {
  background: #248a9f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 155, 179, 0.3);
}

.ecg-change-date-btn {
  display: inline-block;
  padding: 14px 24px;
  background: transparent;
  color: #5a6a7a;
  font-size: 0.88rem;
  font-weight: 600;
  border: 2px solid #e4eaf0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ecg-change-date-btn:hover {
  border-color: #5a6a7a;
  color: #1a2e4a;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .ecg-dates-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
  }
  
  .ecg-date-number {
    font-size: 1.5rem;
  }
  
  .ecg-book-now-btn,
  .ecg-change-date-btn {
    display: block;
    width: 100%;
    margin: 8px 0;
  }
}
