/* file: wp-content/plugins/shenanigans-calendar/css/calendar.css */

.shen-calendar-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  font-family: Arial, Helvetica, sans-serif;
}

.shen-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.shen-calendar-title {
  font-size: 42px;
  font-weight: 700;
  color: #173b73;
  line-height: 1.1;
}

.shen-calendar-subtitle {
  font-size: 18px;
  color: #3574b8;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.shen-calendar-brand {
  text-align: right;
}

.shen-calendar-brand-name {
  font-size: 42px;
  color: #173b73;
  font-family: "Brush Script MT", cursive;
}

.shen-calendar-legend {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-color {
  width: 24px;
  height: 24px;
  border-radius: 4px;
}

.legend-available {
  background: #cfe8b0;
}

.legend-booked {
  background: #e3e3e3;
}

.shen-calendar-months {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 30px;
}

.shen-month {
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  overflow: hidden;
}

.shen-month-header {
  background: #173b73;
  color: #ffffff;
  text-align: center;
  padding: 14px;
  font-size: 28px;
  font-weight: 700;
}

.shen-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #f7f7f7;
  border-bottom: 1px solid #d9d9d9;
}

.shen-weekdays div {
  text-align: center;
  padding: 10px 5px;
  font-weight: 600;
  color: #173b73;
}

.shen-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.shen-day {
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  font-size: 18px;
}

.shen-day.available {
  background: #cfe8b0;
}

.shen-day.booked {
  background: #e3e3e3;
}

.shen-day.empty {
  background: #f8f8f8;
}

.shen-weekly-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.shen-week-column {
  padding: 10px;
}

.shen-week-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #173b73;
  margin-bottom: 20px;
}

.shen-week-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #ffffff;
}

.shen-week-dates {
  font-size: 18px;
  color: #333333;
}

.shen-status {
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.shen-status.available {
  background: #cfe8b0;
  color: #2f4f1f;
}

.shen-status.booked {
  background: #e3e3e3;
  color: #555555;
}

.shen-calendar-footer {
  margin-top: 30px;
  padding: 15px;
  text-align: center;
  background: #eaf3fb;
  border-radius: 6px;
  color: #173b73;
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 992px) {

  .shen-calendar-months,
  .shen-weekly-section {
    grid-template-columns: 1fr;
  }

  .shen-calendar-header {
    text-align: center;
  }

  .shen-calendar-brand {
    width: 100%;
    text-align: center;
    margin-top: 20px;
  }

  .shen-calendar-legend {
    justify-content: center;
  }

  .shen-calendar-title {
    font-size: 32px;
  }

  .shen-calendar-brand-name {
    font-size: 32px;
  }

  .shen-month-header {
    font-size: 24px;
  }

  .shen-week-title {
    font-size: 24px;
  }
}

@media (max-width: 576px) {

  .shen-calendar-wrapper {
    padding: 10px;
  }

  .shen-day {
    min-height: 40px;
    font-size: 14px;
  }

  .shen-week-dates {
    font-size: 14px;
  }

  .shen-status {
    font-size: 12px;
    padding: 6px 10px;
  }

  .shen-calendar-title {
    font-size: 26px;
  }

  .shen-calendar-brand-name {
    font-size: 26px;
  }
}
