#rdv .rdv-page {
  display: grid;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

#rdv .rdv-page-hero {
  min-height: 190px;
  border-color: rgba(108, 167, 235, .17);
  background:
    radial-gradient(ellipse at 88% 10%, rgba(56, 129, 218, .2), transparent 36%),
    linear-gradient(130deg, rgba(20, 45, 74, .82), rgba(9, 20, 35, .97) 68%);
}

#rdv .rdv-page-hero::after {
  background: radial-gradient(circle, rgba(77, 151, 244, .2), transparent 68%);
}

#rdv .rdv-page-hero h2 {
  max-width: 650px;
  font-size: clamp(1.9rem, 3vw, 2.55rem);
}

#rdv .rdv-page-hero p {
  max-width: 640px;
  font-size: .92rem;
}

#rdv .rdv-page-hero .premium-section-hero__metric {
  border-color: rgba(118, 176, 241, .17);
  background: rgba(5, 16, 29, .58);
}

#rdv .rdv-page-hero .premium-section-hero__metric strong {
  color: #a9d6ff;
}

#rdv .rdv-grid {
  gap: 14px;
  margin-top: 0 !important;
}

#rdv .rdv-card {
  min-width: 0;
  padding: 21px !important;
  border: 1px solid rgba(147, 179, 219, .12) !important;
  border-radius: 24px !important;
  background: linear-gradient(155deg, rgba(17, 32, 51, .97), rgba(9, 19, 32, .98)) !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .18) !important;
}

#rdv .rdv-card-head {
  align-items: center;
  margin-bottom: 17px !important;
}

#rdv .rdv-card-head > div {
  min-width: 0;
}

#rdv .rdv-card-head .card-eyebrow {
  color: #91c9ff;
  font-size: .68rem;
  letter-spacing: .12em;
}

#rdv .rdv-card-title {
  margin: 4px 0 0;
  color: #f7faff;
  font-size: 1.23rem;
  font-weight: 850;
  letter-spacing: -.03em;
}

#rdv .rdv-card-sub {
  max-width: 520px;
  color: rgba(218, 232, 250, .53);
  font-size: .78rem;
  line-height: 1.45;
}

#rdv .rdv-card-head > .btn {
  flex: 0 0 auto;
  min-height: 38px;
  border-radius: 12px;
}

#rdv .rdv-notification-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
  padding: 13px 15px;
  border: 1px solid rgba(147, 179, 219, .12);
  border-radius: 15px;
  background: rgba(255, 255, 255, .025);
}

#rdv .rdv-notification-controls strong {
  color: #f2f7ff;
  font-size: .84rem;
}

#rdv #rdvPushStatus {
  margin: 4px 0 0;
  color: rgba(215, 230, 248, .58);
  font-size: .75rem;
  line-height: 1.45;
}

#rdv #rdvPushStatus.is-error {
  color: #ffaaa5;
}

#rdv #rdvPushToggle {
  flex: 0 0 auto;
}

#rdv .rdv-block {
  min-height: 52px;
}

#rdv .rdv-empty {
  padding: 17px;
  border-color: rgba(147, 179, 219, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .022);
  color: rgba(215, 230, 248, .54);
  font-size: .82rem;
  line-height: 1.5;
}

#rdv .rdv-list {
  gap: 10px;
}

#rdv .rdv-item {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(151, 183, 222, .12);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .016));
  box-shadow: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

#rdv #rdvSlotsList .rdv-item {
  border-color: rgba(91, 160, 255, .16);
  background:
    radial-gradient(ellipse at 100% 0, rgba(54, 126, 216, .1), transparent 40%),
    linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .015));
}

#rdv .rdv-item__head {
  align-items: flex-start;
}

#rdv .rdv-item__title {
  margin: 0 0 8px;
  color: #f6f9ff;
  font-size: .98rem;
  letter-spacing: -.015em;
}

#rdv .rdv-item__meta {
  color: rgba(219, 232, 249, .63);
  font-size: .8rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

#rdv .rdv-item__line {
  gap: 8px;
  margin-top: 7px;
  color: rgba(219, 232, 249, .57);
  font-size: .78rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

#rdv .rdv-item__line strong {
  flex: 0 0 auto;
  min-width: 70px;
  color: rgba(231, 241, 253, .8);
  font-size: .73rem;
}

#rdv .rdv-note-chip {
  max-width: 100%;
  margin-bottom: 9px;
  border-color: rgba(105, 173, 255, .17);
  background: rgba(72, 145, 225, .1);
  color: #b3d9ff;
  font-size: .72rem;
  white-space: normal;
  line-height: 1.35;
}

#rdv .rdv-coach-badge {
  border-color: rgba(113, 175, 241, .16);
  background: rgba(72, 145, 225, .09);
  color: #a9d6ff;
  font-size: .7rem;
  white-space: nowrap;
}

#rdv .rdv-status {
  padding: 6px 9px;
  font-size: .7rem;
  white-space: nowrap;
}

#rdv .rdv-actions {
  gap: 8px;
  margin-top: 13px;
}

#rdv .rdv-actions .btn {
  min-height: 42px;
  padding-inline: 14px;
  border-radius: 12px;
  font-size: .8rem;
  font-weight: 800;
}

#rdv .rdv-cta {
  min-width: 0;
  background: linear-gradient(135deg, #347fe8, #285fba);
  box-shadow: 0 9px 22px rgba(36, 101, 195, .2);
}

#rdv .rdv-slot-taken {
  padding: 8px 10px;
  border-color: rgba(255, 117, 128, .2);
  background: rgba(255, 95, 114, .08);
  font-size: .72rem;
}

#rdv .rdv-form {
  gap: 11px;
  margin-top: 0;
  padding: 15px;
  border-color: rgba(151, 183, 222, .1);
  border-radius: 17px;
  background: rgba(255, 255, 255, .022);
}

#rdv .rdv-form .field {
  min-width: 0;
  margin: 0;
}

#rdv .rdv-form .field__label {
  margin-bottom: 6px;
  color: rgba(225, 238, 253, .78);
  font-size: .75rem;
  font-weight: 800;
}

#rdv .rdv-form input {
  min-height: 46px;
  min-width: 0;
  border-color: rgba(159, 190, 230, .13) !important;
  border-radius: 12px !important;
  background: rgba(4, 13, 24, .62) !important;
}

#rdv .rdv-form input:focus {
  border-color: rgba(91, 160, 255, .62) !important;
  box-shadow: 0 0 0 3px rgba(47, 125, 246, .12) !important;
}

#rdv .rdv-form input[type="datetime-local"] {
  font-size: .83rem;
}

#rdv .rdv-form .form-actions {
  margin-top: 2px;
}

#rdv .rdv-form .form-actions .btn {
  min-height: 46px;
  border-radius: 13px;
  font-weight: 800;
}

#rdv #coachPanel {
  display: grid;
  gap: 14px;
  margin-top: 0 !important;
}

#rdv #coachPanel > .rdv-grid {
  margin-top: 0 !important;
}

#rdv #coachPanel > .rdv-card {
  margin-top: 0 !important;
}

@media (max-width: 760px) {
  #rdv .rdv-page {
    gap: 11px;
  }

  #rdv .rdv-page-hero {
    min-height: 0;
    padding: 20px 18px !important;
    border-radius: 23px !important;
  }

  #rdv .rdv-page-hero h2 {
    font-size: 1.68rem !important;
    line-height: 1.08;
  }

  #rdv .rdv-page-hero p {
    margin-top: 9px;
    font-size: .83rem;
    line-height: 1.5;
  }

  #rdv .rdv-page-hero .premium-section-hero__metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100% !important;
  }
  #rdv .rdv-notification-controls {
    align-items: stretch;
    flex-direction: column;
  }
  #rdv #rdvPushToggle {
    width: 100%;
    min-width: 0 !important;
    padding: 10px 13px;
    border-radius: 15px;
    text-align: left;
  }

  #rdv .rdv-page-hero .premium-section-hero__metric strong {
    font-size: 1.6rem;
  }

  #rdv .rdv-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  #rdv .rdv-card {
    padding: 15px !important;
    border-radius: 20px !important;
  }

  #rdv .rdv-card-head {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px !important;
  }

  #rdv .rdv-card-title {
    font-size: 1.08rem;
  }

  #rdv .rdv-card-sub {
    font-size: .71rem;
  }

  #rdv .rdv-card-head > .btn {
    min-height: 36px;
    padding: 6px 9px;
    font-size: .69rem;
  }

  #rdv .rdv-item {
    padding: 13px;
    border-radius: 16px;
  }

  #rdv .rdv-item__head {
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
  }

  #rdv .rdv-item__head > div:first-child {
    min-width: 0;
    flex: 1;
  }

  #rdv .rdv-item__title {
    font-size: .9rem;
  }

  #rdv .rdv-item__meta {
    font-size: .74rem;
  }

  #rdv .rdv-item__line {
    gap: 5px;
    font-size: .72rem;
  }

  #rdv .rdv-item__line strong {
    min-width: 62px;
    font-size: .68rem;
  }

  #rdv .rdv-coach-badge {
    max-width: 112px;
    white-space: normal;
    text-align: center;
    font-size: .63rem;
  }

  #rdv .rdv-status {
    padding: 5px 7px;
    font-size: .63rem;
  }

  #rdv .rdv-actions {
    flex-direction: row;
  }

  #rdv .rdv-actions .btn {
    width: auto;
    flex: 1 1 auto;
    min-height: 44px;
  }

  #rdv .rdv-form {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 12px;
  }

  #rdv .rdv-form .field--full {
    grid-column: auto;
  }

  #rdv .rdv-form .form-actions .btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  #rdv .rdv-item__head {
    flex-direction: column;
  }

  #rdv .rdv-coach-badge {
    max-width: none;
    align-self: flex-start;
  }

  #rdv .rdv-card-head {
    align-items: flex-start;
  }
}
