.room-card-tools,
.room-detail-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.room-card-tools {
  justify-content: flex-end;
  width: 100%;
  margin-bottom: 14px;
}

.room-card-tools form,
.room-detail-tools form,
.compare-heading-actions form {
  margin: 0;
}

.room-tool-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid #cbd9d8;
  border-radius: 999px;
  background: #fff;
  color: var(--ocean);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.room-tool-button svg,
.notification-bell svg,
.experience-empty-icon svg,
.compare-remove svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.room-tool-button[data-favorite-button].is-active svg {
  fill: currentColor;
}

.room-tool-button.is-active {
  border-color: var(--ocean);
  background: #e9f4f3;
  color: var(--ocean-deep);
}

.room-tool-button:hover,
.room-tool-button:focus-visible {
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgb(34 184 200 / .14);
  outline: none;
}

.room-tool-button:disabled {
  cursor: wait;
  opacity: .58;
}

.room-detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.room-detail-title-row h1 {
  flex: 1;
}

.room-detail-tools {
  justify-content: flex-end;
  padding-top: 5px;
}

.compare-tray {
  position: fixed;
  z-index: 18;
  left: 50%;
  bottom: 22px;
  width: min(620px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid rgb(255 255 255 / .7);
  border-radius: 20px;
  background: rgb(7 54 74 / .94);
  color: #fff;
  box-shadow: 0 20px 50px rgb(4 35 49 / .28);
  backdrop-filter: blur(18px);
  transition: opacity .2s ease, transform .2s ease;
}

.compare-tray.is-empty {
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 14px);
}

.compare-tray > div {
  display: flex;
  align-items: center;
  gap: 11px;
}

.compare-tray-count {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background: var(--coral);
  font-weight: 800;
}

.compare-tray p,
.compare-tray strong,
.compare-tray small {
  display: block;
  margin: 0;
}

.compare-tray p {
  line-height: 1.35;
}

.compare-tray small {
  margin-top: 2px;
  color: rgb(255 255 255 / .7);
  font-size: 10px;
}

.compare-tray .button {
  flex: 0 0 auto;
}

.experience-toast {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: 22px;
  max-width: min(390px, calc(100% - 44px));
  padding: 13px 17px;
  border: 1px solid #bce9d8;
  border-radius: 14px;
  background: #e1f7ef;
  color: #176348;
  box-shadow: 0 15px 38px rgb(7 47 63 / .18);
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.experience-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.experience-toast.is-error {
  border-color: #f5c4b6;
  background: #fff0ec;
  color: #9b3c25;
}

.compare-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.compare-heading h2 {
  margin: 0;
  color: var(--ocean);
  font: 600 42px/1 "Cormorant Garamond", Georgia, serif;
}

.compare-heading p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.compare-heading-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.compare-heading-actions button {
  border: 0;
  background: transparent;
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid #dbe5e3;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 36px rgb(7 47 63 / .08);
}

.compare-table {
  width: max(100%, var(--compare-table-width, 780px));
  min-width: var(--compare-table-width, 780px);
  table-layout: fixed;
}

.compare-table .compare-criteria-column {
  width: 150px;
}

.compare-table .compare-room-column {
  width: 280px;
}

.compare-table th,
.compare-table td {
  padding: 16px;
  vertical-align: top;
  text-align: left;
  border-right: 1px solid #e8efed;
}

.compare-table th:first-child,
.compare-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #f4f8f7;
}

.compare-table thead th {
  position: relative;
  background: #fff;
  text-transform: none;
  letter-spacing: 0;
}

.compare-table thead th:first-child {
  z-index: 3;
}

.compare-table thead img {
  width: 100%;
  height: 150px;
  margin-bottom: 13px;
  border-radius: 14px;
}

.compare-table thead strong {
  display: block;
  color: var(--ocean);
  font: 600 24px/1.08 "Cormorant Garamond", Georgia, serif;
}

.compare-remove {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / .8);
  border-radius: 50%;
  background: rgb(6 54 74 / .88);
  color: #fff;
}

.compare-price {
  color: var(--ocean);
  font-size: 17px;
}

.compare-rating {
  color: #a16207;
  font-weight: 800;
}

.compare-detail-link {
  display: block;
  margin-top: 11px;
  text-align: center;
}

.experience-empty-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: #e8f4f2;
  color: var(--ocean);
}

.experience-empty-icon svg {
  width: 28px;
  height: 28px;
}

.notification-bell {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ocean);
  transition: background-color .2s ease, color .2s ease;
}

.notification-bell:hover,
.notification-bell:focus-visible {
  background: #e5f1ef;
  outline: 2px solid var(--turquoise);
  outline-offset: 2px;
}

.notification-count {
  position: absolute;
  top: 1px;
  right: -2px;
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid var(--ivory);
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

.notification-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.notification-page-heading h2 {
  margin: 0;
  color: var(--ocean);
  font: 600 40px/1 "Cormorant Garamond", Georgia, serif;
}

.notification-list {
  display: grid;
  gap: 12px;
}

.notification-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 19px;
  border: 1px solid #dce6e4;
  border-radius: 18px;
  background: rgb(255 255 255 / .72);
}

.notification-card.is-unread {
  border-color: #9ed9dc;
  background: #f1fbfa;
  box-shadow: 0 10px 25px rgb(7 47 63 / .07);
}

.notification-card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #e3f2f0;
  color: var(--ocean);
}

.notification-card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notification-card-meta,
.notification-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.notification-card-meta strong {
  color: var(--ocean);
  font-size: 14px;
}

.notification-card-meta time {
  color: var(--muted);
  font-size: 10px;
}

.notification-card p {
  margin: 7px 0 11px;
  color: #53666d;
  font-size: 13px;
}

.notification-card-actions form {
  margin: 0;
}

.notification-card-actions button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.security-forgot-link {
  justify-self: end;
  margin-top: -5px;
  color: var(--ocean);
  font-size: 11px;
  font-weight: 700;
}

.password-reset-page {
  min-height: calc(100vh - 78px);
  display: grid;
  place-items: center;
  padding: 48px 20px;
  background:
    radial-gradient(circle at 12% 10%, rgb(137 204 198 / .42), transparent 29%),
    radial-gradient(circle at 88% 86%, rgb(244 181 128 / .35), transparent 30%),
    #e9f0ed;
}

.password-reset-shell {
  width: min(960px, 100%);
  min-height: 590px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .72);
  border-radius: 30px;
  background: rgb(255 255 255 / .8);
  box-shadow: 0 24px 70px rgb(7 47 63 / .16);
  backdrop-filter: blur(20px);
}

.password-reset-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  padding: 42px;
  color: #fff;
  background:
    linear-gradient(160deg, rgb(4 43 59 / .7), rgb(7 79 102 / .94)),
    url("../images/content/azure-sunrise-beach.webp") center / cover;
}

.password-reset-aside h1 {
  max-width: 340px;
  margin: 0 0 15px;
  color: #fff;
  font: 600 50px/.94 "Cormorant Garamond", Georgia, serif;
}

.password-reset-aside > div > p:not(.eyebrow) {
  max-width: 360px;
  color: rgb(255 255 255 / .75);
  font-size: 13px;
}

.password-reset-steps {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.password-reset-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 11px;
  opacity: .58;
}

.password-reset-steps li.is-current,
.password-reset-steps li.is-complete {
  opacity: 1;
}

.password-reset-steps li > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / .55);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.password-reset-steps li.is-current > span {
  border-color: var(--coral);
  background: var(--coral);
}

.password-reset-steps strong,
.password-reset-steps small {
  display: block;
}

.password-reset-steps strong {
  font-size: 12px;
}

.password-reset-steps small {
  color: rgb(255 255 255 / .65);
  font-size: 9px;
}

.password-reset-card {
  align-self: center;
  padding: 52px;
}

.password-reset-card h2 {
  margin: 0 0 10px;
  color: var(--ocean);
  font: 600 46px/1 "Cormorant Garamond", Georgia, serif;
}

.password-reset-card > p:not(.eyebrow) {
  margin: 0 0 23px;
  color: var(--muted);
  font-size: 13px;
}

.password-reset-card .security-form {
  display: grid;
  gap: 12px;
}

.password-reset-card .security-form label {
  color: #526169;
  font-size: 11px;
  font-weight: 700;
}

.password-reset-card .security-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfd9d9;
  border-radius: 11px;
  padding: 11px 13px;
  background: #fff;
  outline: none;
}

.password-reset-card .security-form input:focus {
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgb(34 184 200 / .14);
}

.password-reset-card .otp-code-input {
  text-align: center;
  letter-spacing: .42em;
  font-size: 23px;
  font-weight: 800;
}

.password-reset-resend {
  margin-top: 14px;
  text-align: center;
}

.password-reset-resend button,
.password-reset-cancel button {
  border: 0;
  background: transparent;
}

.password-reset-cancel {
  margin-top: 23px;
  text-align: center;
}

.password-reset-cancel button {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.favorite-room-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.favorite-room-card,
.appointment-card {
  overflow: hidden;
  border: 1px solid #dce6e4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(7 47 63 / .06);
}

.favorite-room-card > img {
  width: 100%;
  height: 180px;
}

.favorite-room-card > div {
  padding: 18px;
}

.favorite-room-card h3,
.appointment-card h3 {
  margin: 5px 0 7px;
  color: var(--ocean);
  font: 600 27px/1.05 "Cormorant Garamond", Georgia, serif;
}

.favorite-room-card p,
.appointment-card p {
  margin: 5px 0;
  color: var(--muted);
  font-size: 11px;
}

.favorite-room-card > div > strong {
  display: block;
  margin-top: 13px;
  color: var(--ocean);
  font-size: 15px;
}

.favorite-room-card > div > strong small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.favorite-room-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
}

.favorite-room-actions form {
  margin: 0;
}

.favorite-remove {
  min-height: 40px;
  border: 0;
  background: transparent;
  color: #a1442d;
  font-size: 10px;
  font-weight: 700;
}

.booking-change-status,
.booking-change-form {
  margin-top: 13px;
  padding: 13px;
  border-radius: 13px;
  background: #f2f7f6;
}

.booking-change-status > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.booking-change-status strong {
  color: var(--ocean);
  font-size: 11px;
}

.booking-change-status form {
  margin-top: 7px;
}

.booking-change-status button {
  border: 0;
  background: transparent;
  padding: 0;
}

.booking-change-form summary {
  color: var(--ocean);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.booking-change-form form {
  display: grid;
  grid-template-columns: minmax(180px, .6fr) 1.4fr auto;
  align-items: end;
  gap: 11px;
  margin-top: 12px;
}

.booking-change-form label {
  display: grid;
  gap: 5px;
  color: #526169;
  font-size: 10px;
  font-weight: 700;
}

.booking-change-form input,
.booking-change-form textarea {
  width: 100%;
  border: 1px solid #cfd9d9;
  border-radius: 10px;
  padding: 9px 10px;
  background: #fff;
  outline: none;
}

.booking-change-form p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 10px;
}

.appointment-list {
  display: grid;
  gap: 13px;
}

.appointment-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  padding: 12px;
}

.appointment-card > img {
  width: 150px;
  height: 145px;
  border-radius: 13px;
}

.appointment-card > div {
  padding: 5px 8px 5px 17px;
}

.appointment-card form {
  margin-top: 12px;
}

.appointment-lock-note {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
}

.service-booking-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.service-booking-summary {
  position: sticky;
  top: 104px;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(150deg, #073d54, #0b6079);
  color: #fff;
  box-shadow: 0 16px 40px rgb(7 47 63 / .18);
}

.service-booking-summary h2 {
  margin: 0 0 5px;
  color: #fff;
  font: 600 34px/1 "Cormorant Garamond", Georgia, serif;
}

.service-booking-summary > p:not(.eyebrow) {
  color: rgb(255 255 255 / .72);
  font-size: 11px;
}

.service-booking-summary dl {
  display: grid;
  gap: 8px;
  margin: 22px 0;
}

.service-booking-summary dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgb(255 255 255 / .13);
}

.service-booking-summary dt {
  color: rgb(255 255 255 / .62);
  font-size: 10px;
}

.service-booking-summary dd {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
}

.service-booking-rule {
  margin: 0 !important;
  padding: 12px;
  border-radius: 12px;
  background: rgb(255 255 255 / .1);
  line-height: 1.6;
}

.service-booking-filter {
  display: grid;
  grid-template-columns: 1fr 1fr .8fr auto;
  align-items: end;
  gap: 11px;
  padding: 16px;
  border: 1px solid #dbe5e3;
  border-radius: 18px;
  background: #fff;
}

.service-booking-filter label,
.service-appointment-fields label {
  display: grid;
  gap: 6px;
  color: #526169;
  font-size: 10px;
  font-weight: 700;
}

.service-booking-filter select,
.service-booking-filter input,
.service-appointment-fields select,
.service-appointment-fields textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfd9d9;
  border-radius: 10px;
  padding: 9px 10px;
  background: #fff;
  outline: none;
}

.service-selected-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  margin: 18px 0;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(7 47 63 / .06);
}

.service-selected-card img {
  width: 180px;
  height: 155px;
  border-radius: 13px;
}

.service-selected-card > div {
  padding: 8px 8px 8px 0;
}

.service-selected-card h2 {
  margin: 3px 0 7px;
  color: var(--ocean);
  font: 600 30px/1.05 "Cormorant Garamond", Georgia, serif;
}

.service-selected-card p:not(.eyebrow) {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 11px;
}

.service-selected-card strong {
  color: var(--ocean);
}

.service-selected-card strong small {
  color: var(--muted);
  font-weight: 500;
}

.service-appointment-form {
  padding: 22px;
  border: 1px solid #dbe5e3;
  border-radius: 20px;
  background: #fff;
}

.service-appointment-form fieldset {
  margin: 0 0 19px;
  padding: 0;
  border: 0;
}

.service-appointment-form legend {
  margin-bottom: 12px;
  color: var(--ocean);
  font-size: 13px;
  font-weight: 800;
}

.service-slot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.service-slot {
  display: grid;
  gap: 2px;
  min-height: 76px;
  padding: 12px;
  border: 1px solid #d5e1df;
  border-radius: 13px;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.service-slot input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.service-slot strong {
  color: var(--ocean);
  font-size: 12px;
}

.service-slot small {
  color: var(--muted);
  font-size: 9px;
}

.service-slot:has(input:checked) {
  border-color: var(--turquoise);
  background: #eefafa;
  box-shadow: 0 0 0 3px rgb(34 184 200 / .13);
}

.service-slot:focus-within {
  outline: 2px solid var(--turquoise);
  outline-offset: 2px;
}

.service-slot.is-full {
  cursor: not-allowed;
  opacity: .5;
  background: #f2f3f2;
}

.service-slot-empty {
  padding: 15px;
  border-radius: 12px;
  background: #fff4e5;
  color: #8a5c13;
  font-size: 11px;
}

.service-appointment-fields {
  display: grid;
  grid-template-columns: .45fr 1.55fr;
  gap: 13px;
  margin-bottom: 17px;
}

@media (max-width: 960px) {
  .room-row-price {
    align-items: center;
  }

  .room-card-tools {
    width: auto;
    margin: 0;
    order: 5;
  }

  .room-detail-title-row {
    flex-direction: column;
  }

  .room-detail-tools {
    justify-content: flex-start;
  }

  .password-reset-shell {
    grid-template-columns: 1fr;
  }

  .password-reset-aside {
    min-height: 300px;
  }

  .password-reset-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .booking-change-form form {
    grid-template-columns: 1fr 1fr;
  }

  .service-booking-layout {
    grid-template-columns: 1fr;
  }

  .service-booking-summary {
    position: static;
  }

  .service-booking-filter {
    grid-template-columns: 1fr 1fr;
  }

  .service-slot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .room-card-tools {
    width: 100%;
    justify-content: flex-start;
  }

  .room-card-tools form,
  .room-card-tools .room-tool-button {
    flex: 1;
  }

  .compare-tray {
    bottom: 12px;
  }

  .compare-tray .button {
    padding: 10px 13px;
    font-size: 10px;
  }

  .compare-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .notification-page-heading,
  .notification-card-meta,
  .notification-card-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .compare-heading-actions {
    width: 100%;
    justify-content: space-between;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px;
  }

  .experience-toast {
    right: 14px;
    bottom: 92px;
  }

  .password-reset-page {
    padding: 0;
  }

  .password-reset-shell {
    min-height: 100vh;
    border-radius: 0;
  }

  .password-reset-aside {
    min-height: 250px;
    padding: 28px 22px;
  }

  .password-reset-aside h1 {
    font-size: 40px;
  }

  .password-reset-aside .password-reset-steps {
    display: none;
  }

  .password-reset-card {
    padding: 34px 22px 46px;
  }

  .password-reset-card h2 {
    font-size: 40px;
  }

  .favorite-room-grid {
    grid-template-columns: 1fr;
  }

  .booking-change-form form {
    grid-template-columns: 1fr;
  }

  .appointment-card {
    grid-template-columns: 1fr;
  }

  .appointment-card > img {
    width: 100%;
    height: 180px;
  }

  .appointment-card > div {
    padding: 15px 5px 5px;
  }

  .service-booking-filter,
  .service-appointment-fields,
  .service-selected-card {
    grid-template-columns: 1fr;
  }

  .service-selected-card img {
    width: 100%;
    height: 190px;
  }

  .service-selected-card > div {
    padding: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .compare-tray,
  .experience-toast,
  .room-tool-button {
    transition: none;
  }
}
