.schedule-body {
  background: #f8fbff;
}

.schedule-shell {
  min-height: calc(100vh - 76px);
}

.schedule-panel {
  display: grid;
  min-height: calc(100vh - 76px);
  grid-template-columns: minmax(0, 1fr) 28vw;
  background: #ffffff;
}

.schedule-main {
  padding: clamp(1.5rem, 3vw, 3rem) clamp(1rem, 7vw, 8.5rem) 2rem;
}

.schedule-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 5vw, 4.5rem);
}

.schedule-brand img {
  width: min(210px, 48vw);
  height: auto;
}

.schedule-progress {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #052b50;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-progress-track {
  width: min(23vw, 340px);
  height: 10px;
  overflow: hidden;
  border: 1px solid #c5d0dc;
  border-radius: 999px;
  background: #ffffff;
}

.schedule-progress-bar {
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: #1177e8;
  transition: width 0.24s ease;
}

.schedule-form {
  display: flex;
  min-height: 640px;
  flex-direction: column;
}

.schedule-step {
  display: none;
}

.schedule-step.is-active {
  display: block;
}

.schedule-kicker {
  margin-bottom: 0.55rem;
  color: #22547f;
  font-weight: 800;
}

.schedule-step h1,
.schedule-step h2 {
  color: #052b50;
  font-weight: 900;
  letter-spacing: 0;
}

.schedule-step h1 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.18;
}

.schedule-step h2 {
  margin-top: 2rem;
  margin-bottom: 0.55rem;
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
}

.schedule-copy {
  max-width: 720px;
  margin-bottom: 1.8rem;
  color: #687589;
}

.option-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 1.8rem;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 20px 46px rgba(7, 52, 94, 0.1);
}

.option-card-grid.two {
  margin-bottom: 1rem;
}

.option-card {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.25rem;
  border: 1px solid #cbd5df;
  border-radius: 8px;
  color: #052b50;
  font-weight: 850;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease,
    background-color 0.18s ease;
}

.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-card:has(input:checked) {
  border-color: #1177e8;
  background: #f1f7ff;
  box-shadow: 0 12px 28px rgba(17, 119, 232, 0.13);
}

.option-card:hover {
  transform: translateY(-1px);
  border-color: #1177e8;
}

.option-icon {
  display: inline-grid;
  width: 24px;
  flex: 0 0 24px;
  place-items: center;
  color: #1177e8;
}

.calendar-card,
.summary-card {
  max-width: 760px;
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid #d8e5f2;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(7, 52, 94, 0.09);
}

.calendar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  color: #052b50;
  text-transform: uppercase;
}

.icon-btn {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #d8e5f2;
  border-radius: 50%;
  background: #ffffff;
  color: #1177e8;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.55rem;
  text-align: center;
}

.calendar-weekdays {
  margin-bottom: 0.7rem;
  color: #9aa8bd;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.calendar-day {
  min-height: 46px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #052b50;
  font-weight: 800;
}

.calendar-day.is-muted {
  color: #b6c2d3;
}

.calendar-day.is-disabled {
  color: #c8d1dd;
  cursor: not-allowed;
}

.calendar-day:not(.is-disabled):hover,
.calendar-day.is-selected {
  background: #dcecff;
  color: #006bff;
}

.time-grid {
  display: grid;
  max-width: 760px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.time-grid label {
  cursor: pointer;
}

.time-grid input {
  position: absolute;
  opacity: 0;
}

.time-grid span {
  display: grid;
  min-height: 62px;
  place-items: center;
  border: 1px solid #cbd5df;
  border-radius: 8px;
  background: #ffffff;
  color: #052b50;
  font-weight: 850;
}

.time-grid input:checked + span,
.time-grid span:hover {
  border-color: #1177e8;
  background: #f1f7ff;
  color: #006bff;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.schedule-form .form-control {
  border-radius: 8px;
  border-color: #cbd5df;
}

.summary-card dl {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 0.9rem 1.2rem;
  margin: 0;
}

.summary-card dt {
  color: #687589;
}

.summary-card dd {
  margin: 0;
  color: #052b50;
  font-weight: 800;
}

.schedule-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 2rem;
}

.primary-btn,
.ghost-btn {
  min-width: 146px;
  min-height: 50px;
  border-radius: 999px;
  font-weight: 850;
}

.primary-btn {
  border: 0;
  background: #1177e8;
  color: #ffffff;
}

.ghost-btn {
  border: 1px solid #d3deea;
  background: #ffffff;
  color: #052b50;
}

.schedule-visual {
  position: relative;
  overflow: hidden;
  border-left: 1px solid #d6e6f6;
  background: #eef6ff;
}

.visual-ring,
.visual-shape,
.mini-scheduler {
  position: absolute;
}

.visual-ring {
  border: 6px solid;
  border-radius: 40%;
}

.ring-blue {
  right: 64%;
  bottom: 14%;
  width: 210px;
  height: 180px;
  border-color: #0672f8;
  transform: rotate(-18deg);
}

.ring-lime {
  top: 6%;
  right: -55px;
  width: 150px;
  height: 168px;
  border-color: #bdf000;
  transform: rotate(6deg);
}

.visual-shape {
  right: 42%;
  bottom: 12%;
  width: 210px;
  height: 185px;
  border-radius: 36px;
  background: #7c3ff2;
  transform: rotate(4deg) skewY(-8deg);
}

.mini-scheduler {
  top: 34%;
  right: clamp(1rem, 6vw, 5.5rem);
  width: min(360px, 80%);
  padding: 1.7rem;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 46px rgba(7, 52, 94, 0.13);
  color: #052b50;
}

.mini-avatars {
  display: flex;
  margin-bottom: -1.4rem;
}

.mini-avatars span {
  width: 38px;
  height: 38px;
  margin-right: -10px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd1c5, #22547f);
}

.mini-avatars span + span {
  background: linear-gradient(135deg, #d5e8ff, #7c3ff2);
}

.mini-scheduler strong {
  display: block;
  margin-left: 7.2rem;
  font-size: 0.9rem;
}

.mini-month {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  margin: 1.9rem 0 1rem;
  color: #006bff;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.7rem;
  text-align: center;
}

.mini-days span,
.mini-days small {
  color: #a9b7cb;
  font-size: 0.72rem;
}

.mini-days small {
  display: grid;
  min-height: 25px;
  place-items: center;
  color: #22547f;
}

.mini-days .active {
  border-radius: 50%;
  background: #dcecff;
  color: #006bff;
  font-weight: 900;
}

@media (max-width: 1199.98px) {
  .schedule-panel {
    grid-template-columns: 1fr;
  }

  .schedule-visual {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .schedule-main {
    padding: 1.2rem 1rem 1.5rem;
  }

  .schedule-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.1rem;
    margin-bottom: 2rem;
  }

  .schedule-progress {
    width: 100%;
  }

  .schedule-progress-track {
    width: 100%;
  }

  .schedule-form {
    min-height: auto;
  }

  .option-card-grid,
  .option-card-grid.two,
  .time-grid,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .option-card-grid {
    padding: 1rem;
  }

  .calendar-grid {
    gap: 0.25rem;
  }

  .calendar-day {
    min-height: 40px;
  }

  .summary-card dl {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .schedule-actions {
    flex-direction: column-reverse;
  }

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }
}
