@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&display=swap');

.go-calendar-app {
  width: min(1180px, calc(100% - 28px));
  margin: 42px auto;
  color: #0f4f2f;
}

.go-booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 22px;
  align-items: start;
}

.go-calendar-card,
.go-inquiry-card {
  border-radius: 30px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.go-calendar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.go-kicker {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1;
  color: rgba(15, 79, 47, 0.72);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.go-calendar-top h2,
.go-inquiry-card h2 {
  margin: 0;
  font-family: "Amatic SC", cursive;
  font-size: 42px;
  line-height: 1;
  color: #0f4f2f;
}

.go-form-intro {
  margin: 8px 0 18px;
  color: rgba(15,79,47,.78);
  line-height: 1.45;
}

.go-calendar-controls {
  display: flex;
  gap: 10px;
}

.go-calendar-controls button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  background: #0f4f2f;
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.go-calendar-controls button:hover:not(:disabled) {
  background: #0b3f25;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0,0,0,.16);
}

.go-calendar-controls button:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.go-selected-range {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  padding: 11px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.48);
  color: rgba(15,79,47,.86);
  font-size: 14px;
}

.go-selected-range-text {
  flex: 1;
}

.go-clear-selection {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  background: rgba(15,79,47,.10);
  color: #0f4f2f;
  font-weight: 700;
}

.go-clear-selection:hover {
  background: rgba(15,79,47,.16);
}

.go-calendar-month {
  border-radius: 24px;
  padding: 16px;
  background: rgba(255,255,255,.55);
}

.go-month-title {
  text-align: center;
  font-family: "Amatic SC", cursive;
  font-size: 34px;
  font-weight: 700;
  color: #0f4f2f;
  margin: 0 0 14px;
}

.go-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.go-day-name {
  font-size: 13px;
  color: rgba(15, 79, 47, 0.75);
  text-align: center;
  padding-bottom: 6px;
  font-weight: 700;
}

.go-day {
  min-height: 58px;
  border: 0;
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f4f2f;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(15,79,47,.06);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.go-day:hover:not(.is-empty):not(.is-booked):not(.is-blocked) {
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(15,79,47,.16),
    0 8px 20px rgba(15,79,47,.10);
}

.go-day.is-empty {
  background: transparent;
  box-shadow: none;
  cursor: default;
}

.go-day.is-today {
  box-shadow: inset 0 0 0 2px rgba(15,79,47,.35);
}

.go-day.is-booked {
  color: rgba(255,255,255,.96);
  background: linear-gradient(135deg, rgba(15,79,47,.92), rgba(11,63,37,.82));
  cursor: not-allowed;
}

.go-day.is-blocked {
  color: #0f4f2f;
  background: rgba(15,79,47,.20);
  cursor: not-allowed;
}

.go-day.is-selected,
.go-day.is-range {
  color: #fff;
  background: linear-gradient(135deg, rgba(143, 124, 71, .95), rgba(15,79,47,.82));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.28),
    0 8px 20px rgba(15,79,47,.16);
}

.go-day-number {
  position: relative;
  z-index: 1;
}

.go-day-status {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  line-height: 1;
  opacity: .9;
  white-space: nowrap;
}

.go-calendar-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  color: rgba(15,79,47,.82);
  font-size: 14px;
}

.go-calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.go-calendar-legend i {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
}

.go-calendar-legend .go-free {
  background: rgba(255,255,255,.86);
  box-shadow: inset 0 0 0 1px rgba(15,79,47,.15);
}

.go-calendar-legend .go-booked {
  background: #0f4f2f;
}

.go-calendar-legend .go-blocked {
  background: rgba(15,79,47,.20);
  box-shadow: inset 0 0 0 1px rgba(15,79,47,.12);
}

.go-calendar-legend .go-selected {
  background: linear-gradient(135deg, rgba(143, 124, 71, .95), rgba(15,79,47,.82));
}

/* Formular */
.go-inquiry-card {
  position: sticky;
  top: 96px;
}

.go-inquiry-form {
  display: grid;
  gap: 12px;
}

.go-inquiry-form label {
  display: grid;
  gap: 6px;
  color: rgba(15,79,47,.86);
  font-size: 14px;
  font-weight: 700;
}

.go-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.go-inquiry-form input,
.go-inquiry-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  outline: none;
  border-radius: 16px;
  padding: 12px 13px;
  background: rgba(255,255,255,.72);
  color: #0f4f2f;
  box-shadow: inset 0 0 0 1px rgba(15,79,47,.10);
  transition: box-shadow .2s ease, background .2s ease;
}

.go-inquiry-form input:focus,
.go-inquiry-form textarea:focus {
  background: rgba(255,255,255,.90);
  box-shadow:
    inset 0 0 0 2px rgba(15,79,47,.32),
    0 8px 18px rgba(15,79,47,.08);
}

.go-inquiry-form input[readonly] {
  cursor: default;
  background: rgba(15,79,47,.08);
  font-weight: 700;
}

.go-submit-button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  color: #fff;
  background: #0f4f2f;
  font-family: "Amatic SC", cursive;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(15,79,47,.18);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.go-submit-button:hover {
  transform: translateY(-1px);
  background: #0b3f25;
  box-shadow: 0 16px 30px rgba(15,79,47,.22);
}

.go-submit-button:disabled {
  opacity: .6;
  cursor: wait;
}

.go-form-message {
  min-height: 20px;
  font-size: 14px;
  line-height: 1.4;
}

.go-form-message.is-success {
  color: #0f4f2f;
  font-weight: 700;
}

.go-form-message.is-error {
  color: #8a2f20;
  font-weight: 700;
}

@media (max-width: 980px) {
  .go-booking-layout {
    grid-template-columns: 1fr;
  }

  .go-inquiry-card {
    position: static;
  }
}

@media (max-width: 680px) {
  .go-calendar-app {
    width: calc(100% - 18px);
  }

  .go-calendar-card,
  .go-inquiry-card {
    padding: 14px;
    border-radius: 24px;
  }

  .go-calendar-top h2,
  .go-inquiry-card h2 {
    font-size: 34px;
  }

  .go-calendar-month {
    padding: 10px;
    border-radius: 18px;
  }

  .go-calendar-grid {
    gap: 5px;
  }

  .go-day {
    min-height: 44px;
    border-radius: 12px;
    font-size: 14px;
  }

  .go-day-status {
    display: none;
  }

  .go-form-row {
    grid-template-columns: 1fr;
  }
}
