.hero { padding: 36px 0; background: #eaf3ff; border-bottom: 1px solid var(--color-border); }
.hero h1 { margin: 0 0 10px; font-size: 40px; }
.doctor-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: #dbe3ee; }
.slot-list { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 42px;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #ffffff;
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
}
.slot:hover,
.slot:focus {
  background: #eaf3ff;
  color: var(--color-primary);
  outline: 2px solid transparent;
}
button.slot-button,
.slot-button {
  appearance: none;
  font: inherit;
  background: #ffffff;
  color: #0f172a;
  border-color: var(--color-primary);
}
button.slot-button:hover,
button.slot-button:focus,
.slot-button:hover,
.slot-button:focus {
  background: var(--color-primary);
  color: #ffffff;
}
button.slot-button.selected,
.slot-button.selected,
button.slot-button.is-selected,
.slot-button.is-selected {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}
.slot[disabled],
.slot.disabled {
  border-color: var(--color-border);
  background: #f5f7fa;
  color: var(--color-muted);
  cursor: not-allowed;
}
.detail-list { display: grid; grid-template-columns: max-content 1fr; gap: 10px 16px; }
.detail-list dt { font-weight: 700; color: var(--color-muted); }
.detail-list dd { margin: 0; }
.portal-search-form { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 14px; align-items: end; }
.search-panel { margin-bottom: 28px; }
.location-hint { margin-bottom: 0; }
.empty-state { padding: 36px 0; text-align: center; color: var(--color-muted); }
.portal-results h3 { margin-top: 28px; }
.load-more { margin-top: 16px; }
.doctor-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr); gap: 16px; margin-bottom: 20px; }
.doctor-profile { display: flex; gap: 18px; align-items: flex-start; }
.week-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 28px; }
.day-card h3 { margin-top: 0; font-size: 18px; }

.selectable-slots button.reschedule-slot-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 56px;
  padding: 12px 18px;
  border: 1px solid #2563eb;
  border-radius: 10px;
  background: #ffffff !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  opacity: 1 !important;
  visibility: visible !important;
}

.selectable-slots button.reschedule-slot-button .slot-time-label {
  display: inline-block;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  opacity: 1 !important;
  visibility: visible !important;
  line-height: 1;
}

.selectable-slots button.reschedule-slot-button:hover,
.selectable-slots button.reschedule-slot-button:focus,
.selectable-slots button.reschedule-slot-button.selected,
.selectable-slots button.reschedule-slot-button.is-selected {
  background: #2563eb !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.selectable-slots button.reschedule-slot-button:hover .slot-time-label,
.selectable-slots button.reschedule-slot-button:focus .slot-time-label,
.selectable-slots button.reschedule-slot-button.selected .slot-time-label,
.selectable-slots button.reschedule-slot-button.is-selected .slot-time-label {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.service-choice-list {
  display: grid;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.service-choice-list label {
  cursor: pointer;
}

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

.service-choice-list span {
  display: block;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border-color, #ddd);
  border-radius: 0.5rem;
}

.service-choice-list input:checked + span {
  border-color: var(--primary-color, #7b4b6a);
  background: var(--surface-accent, #f7eef4);
  font-weight: 600;
}

/* beauty-booking-home-ui-v3 */
:root {
  --bb-home-bg: #fffaf7;
  --bb-home-cream: #f8efe8;
  --bb-home-soft-pink: #f6ddd7;
  --bb-home-rose: #c9787d;
  --bb-home-rose-dark: #9f5358;
  --bb-home-taupe: #8a6f66;
  --bb-home-text: #1f1f1f;
  --bb-home-muted: #6b625d;
  --bb-home-border: #ead8cf;
  --bb-home-white: #ffffff;
  --bb-home-success-bg: #edf8ef;
  --bb-home-success-border: #b9e4c2;
  --bb-home-success-text: #23633a;
}

.messages .message {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 1180px;
  min-height: 58px;
  margin-inline: auto;
  padding: 0.95rem 3.25rem 0.95rem 1rem;
  border: 1px solid var(--bb-home-success-border);
  border-radius: 18px;
  background: var(--bb-home-success-bg);
  color: var(--bb-home-success-text);
  box-shadow: 0 14px 40px rgba(35, 99, 58, 0.08);
}

.messages .message::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bb-home-success-text);
  color: #fff;
  font-weight: 900;
  flex: 0 0 auto;
}

.messages .message::after {
  content: "×";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  color: rgba(35, 99, 58, 0.65);
  font-size: 1.25rem;
  transform: translateY(-50%);
}

.bb-home-page {
  background:
    radial-gradient(circle at 10% 28%, rgba(246, 221, 215, 0.65), transparent 20rem),
    radial-gradient(circle at 92% 40%, rgba(248, 239, 232, 0.9), transparent 28rem),
    var(--bb-home-bg);
}

.bb-home-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 86px);
  overflow: hidden;
  padding: clamp(3.2rem, 7vw, 5.8rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(ellipse at 18% 30%, rgba(246, 221, 215, 0.72), transparent 26rem),
    radial-gradient(ellipse at 88% 22%, rgba(239, 232, 223, 0.84), transparent 28rem),
    linear-gradient(180deg, var(--bb-home-bg), #fff 88%);
}

.bb-home-hero::before {
  content: "";
  position: absolute;
  left: -9rem;
  top: 8rem;
  width: 27rem;
  height: 30rem;
  border-radius: 48% 52% 55% 45% / 45% 42% 58% 55%;
  background: linear-gradient(145deg, rgba(246, 221, 215, 0.9), rgba(248, 239, 232, 0.45));
  z-index: -2;
}

.bb-home-hero::after {
  content: "";
  position: absolute;
  right: -7rem;
  top: 6rem;
  width: 31rem;
  height: 35rem;
  border-radius: 52% 48% 44% 56% / 44% 54% 46% 56%;
  background: linear-gradient(145deg, rgba(248, 239, 232, 0.96), rgba(246, 221, 215, 0.52));
  z-index: -2;
}

.bb-home-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.bb-home-art,
.bb-home-face {
  position: absolute;
  color: rgba(159, 83, 88, 0.38);
  pointer-events: none;
  z-index: -1;
}

.bb-home-art-left {
  left: 2.5vw;
  top: 22%;
  width: min(18vw, 220px);
  min-width: 140px;
}

.bb-home-face {
  right: 3vw;
  top: 19%;
  width: min(24vw, 280px);
  opacity: 0.95;
}

.bb-home-title {
  max-width: 930px;
  margin: 0 auto;
  color: var(--bb-home-text);
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(3rem, 7.4vw, 6.6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.bb-home-divider {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin: clamp(1.15rem, 3vw, 1.8rem) auto 1.15rem;
  color: var(--bb-home-rose);
}

.bb-home-divider span {
  display: block;
  width: clamp(4rem, 11vw, 8.5rem);
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.bb-home-divider svg {
  width: 38px;
  height: 38px;
}

.bb-home-subtitle {
  max-width: 720px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  color: var(--bb-home-muted);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.bb-home-search-card {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: clamp(1rem, 2.5vw, 1.65rem);
  border: 1px solid rgba(234, 216, 207, 0.95);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 28px 80px rgba(138, 111, 102, 0.16);
  backdrop-filter: blur(12px);
}

.bb-home-search-form {
  display: grid;
  gap: 1.25rem;
}

.bb-home-search-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr 1fr;
  gap: 0.85rem;
}

.bb-home-field { text-align: left; }

.bb-home-label {
  margin-bottom: 0.48rem;
  color: var(--bb-home-taupe);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.bb-home-input-wrap {
  position: relative;
}

.bb-home-input-wrap > span {
  position: absolute;
  left: 1rem;
  top: 50%;
  color: var(--bb-home-rose);
  font-weight: 900;
  transform: translateY(-50%);
  pointer-events: none;
}

.bb-home-input,
.bb-home-select,
.bb-home-date {
  min-height: 58px;
  border: 1px solid var(--bb-home-border);
  border-radius: 15px;
  background: #fffdfb;
  color: var(--bb-home-text);
  font-size: 0.96rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.bb-home-input-wrap .bb-home-input,
.bb-home-input-wrap .bb-home-date {
  padding-left: 2.7rem;
}

.bb-home-input:focus,
.bb-home-select:focus,
.bb-home-date:focus {
  border-color: var(--bb-home-rose);
  box-shadow: 0 0 0 4px rgba(201, 120, 125, 0.13);
}

.bb-home-search-button {
  justify-self: center;
  min-width: min(100%, 300px);
  min-height: 58px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--bb-home-rose), var(--bb-home-rose-dark));
  color: #fff;
  font-size: 1.02rem;
  font-weight: 850;
  box-shadow: 0 18px 38px rgba(159, 83, 88, 0.28);
}

.bb-home-search-button:hover {
  background: linear-gradient(135deg, #bd6d72, #8e484d);
  box-shadow: 0 22px 42px rgba(159, 83, 88, 0.34);
}

.bb-home-search-button span {
  margin-right: 0.45rem;
}

.bb-home-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: min(1120px, 100%);
  margin: clamp(1.3rem, 3vw, 2rem) auto 0;
}

.bb-home-benefit {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  text-align: left;
  border: 1px solid rgba(234, 216, 207, 0.8);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.bb-home-benefit-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bb-home-cream);
  color: var(--bb-home-rose-dark);
  font-weight: 900;
  flex: 0 0 auto;
}

.bb-home-benefit strong {
  display: block;
  color: var(--bb-home-text);
  font-size: 0.98rem;
}

.bb-home-benefit p {
  margin: 0.15rem 0 0;
  color: var(--bb-home-muted);
  font-size: 0.9rem;
}

.bb-home-results {
  margin-top: 1rem;
}
