:root {
  --bg: #F8F7F5;
  --surface: #FFFFFF;
  --surface-soft: #FBFAF8;
  --blue: #8FAED1;
  --blue-light: #AFC6E0;
  --blue-soft: #D6E3F1;
  --blue-dark: #6F95BF;
  --blue-deep: #4F7DAE;
  --text: #3F3A36;
  --text-secondary: #6F685F;
  --text-muted: #8C847B;
  --line: #E8E3DC;
  --green-soft: #EAF6EE;
  --green-text: #4F8A63;
  --shadow-sm: 0 8px 20px rgba(63, 58, 54, 0.05);
  --shadow-md: 0 18px 45px rgba(63, 58, 54, 0.08);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-pill: 999px;
  --page-width: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;

  background:
    radial-gradient(circle at 78% 12%, rgba(143, 174, 209, 0.16), transparent 30%),
    radial-gradient(circle at 12% 42%, rgba(214, 227, 241, 0.42), transparent 28%),
    linear-gradient(
      180deg,
      #F8F7F5 0%,
      #EFF4FA 36%,
      #F8F7F5 72%,
      #FBFAF8 100%
    );

  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.booking-shell {
  width: min(calc(100% - 64px), var(--page-width));
  margin: 0 auto;
}

/* nav */
.booking-header {
  padding: 20px 0 10px;
  background: var(--bg);
  border-bottom: 1px solid rgba(232, 227, 220, 0.7);
}

.booking-nav {
  width: min(calc(100% - 64px), var(--page-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.booking-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.booking-brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.booking-brand-name {
  font-size: 28px;
  font-weight: 600;
  color: var(--blue);
}

.booking-nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.booking-nav-links a,
.booking-nav-link,
.booking-login {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.booking-nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.booking-login {
  padding: 12px 18px;
  border: 1px solid var(--blue-light);
  border-radius: 16px;
  color: var(--blue-deep);
}

.booking-nav-cta {
  background: var(--blue);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* main */
.booking-main {
  padding: 22px 0 46px;
}

.booking-back-row {
  margin-bottom: 16px;
}

.booking-back-link {
  font-size: 15px;
  color: var(--text-secondary);
}

.booking-page-head {
  margin-bottom: 18px;
}

.booking-page-head h1 {
  margin: 0 0 6px;
  font-size: 58px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--text);
}

.booking-page-head p {
  margin: 0;
  font-size: 18px;
  color: #6F685F;
}

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

/* shared cards */
.booking-cleaner-card,
.booking-step-card,
.summary-card,
.help-card {
  background: linear-gradient(
    180deg,
    #FFFFFF 0%,
    #F8FBFF 100%
  );

  border: 1px solid rgba(143,174,209,0.22);

  border-radius: 28px;

  box-shadow:
    0 12px 35px rgba(143,174,209,0.08);
}

/* cleaner summary top */
.booking-cleaner-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  padding: 18px;
  margin-bottom: 18px;
}

.booking-cleaner-avatar img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
}

.booking-cleaner-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.booking-cleaner-top h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.verified-badge {
  color: var(--blue-deep);
  font-size: 14px;
}

.booking-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  margin-bottom: 14px;
}

.stars {
  color: #E5A93C;
  letter-spacing: 1px;
  font-size: 16px;
}

.muted {
  color: var(--text-muted);
}

.booking-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.booking-service-tags span {
  background: linear-gradient(
    135deg,
    rgba(143,197,209,0.85),
    rgba(173,217,226,0.65)
  );

  color: #ffffff;

  border: 1px solid rgba(143,197,209,0.35);

  padding: 10px 16px;

  border-radius: 999px;

  font-size: 14px;
  font-weight: 600;

  backdrop-filter: blur(12px);

  box-shadow:
    0 6px 18px rgba(143,197,209,0.12);

  transition: all 0.2s ease;
}

.booking-service-tags span:hover {
  transform: translateY(-2px);

  box-shadow:
    0 10px 25px rgba(143,197,209,0.18);

  background: linear-gradient(
    135deg,
    rgba(143,197,209,0.95),
    rgba(173,217,226,0.75)
  );
}

.booking-cleaner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* steps */
.booking-step-card {
  padding: 26px;
  margin-bottom: 18px;
  overflow: hidden;
}

.step-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    #8FAED1,
    #6F95BF
  );
  color: white;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(143,174,209,0.25);
}

.step-title-row h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 600;
}

.step-title-row small {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}

/* services */
.service-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-option {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 16px;
  min-height: 126px;
  background: var(--surface);
}

.service-option.small {
  grid-column: 1 / 2;
}

.service-option.active {
  border: 1.5px solid var(--blue);
  box-shadow: 0 0 0 3px rgba(143, 174, 209, 0.08);
}

.service-option strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 600;
}

.service-option p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.service-option span {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-deep);
}

.service-option i {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue-deep);
  color: #fff;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 13px;
}

/* date and time */
.date-time-layout {
display: grid;
grid-template-columns: 1fr 340px;
gap: 24px;
}

.calendar-card {
border: 1px solid rgba(143,174,209,0.18);
border-radius: 24px;
padding: 24px;
background: linear-gradient(
180deg,
#FFFFFF 0%,
#F8FBFF 100%
);
box-shadow: 0 10px 30px rgba(143,174,209,0.08);
}

.times-card {
border: 1px solid rgba(143,174,209,0.18);
border-radius: 24px;
padding: 24px;
background: linear-gradient(
180deg,
#FFFFFF 0%,
#F5F9FD 100%
);
box-shadow: 0 10px 30px rgba(143,174,209,0.08);
}

.calendar-head {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 24px;
}

.calendar-head button {
width: 42px;
height: 42px;
border: none;
border-radius: 12px;
background: #F5F9FD;
color: #6F95BF;
font-size: 20px;
cursor: pointer;
transition: 0.2s ease;
}

.calendar-head button:hover {
background: #8FAED1;
color: white;
}

.calendar-head strong {
font-size: 28px;
font-weight: 700;
color: #3F3A36;
}

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

.calendar-weekdays {
margin-bottom: 16px;
}

.calendar-weekdays span {
text-align: center;
font-size: 13px;
font-weight: 600;
color: #8C847B;
}

.calendar-grid span {
height: 48px;
display: grid;
place-items: center;
border-radius: 14px;
font-size: 15px;
cursor: pointer;
transition: all 0.2s ease;
}

.calendar-grid span:hover {
background: #EEF5FC;
color: #4F7DAE;
}

.selected-day {
  background: linear-gradient(
    135deg,
    #4f60ae,
    #3d6297
  );

  color: white !important;

  font-weight: 700;

  box-shadow:
    0 10px 24px rgba(79,125,174,0.35);
}

.times-card strong {
display: block;
font-size: 24px;
font-weight: 700;
color: #3F3A36;
margin-bottom: 8px;
}

.times-card p {
margin-bottom: 20px;
color: #8C847B;
font-size: 14px;
line-height: 1.6;
}

.booking-success-note {
margin-top: 20px;
padding: 18px 22px;
border-radius: 18px;
background: linear-gradient(
135deg,
#E8F7EE,
#F3FCF6
);
border: 1px solid #CFE9D7;
color: #2F7A4F;
font-size: 15px;
font-weight: 600;
}


/* address */
.address-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  background: var(--surface);
  margin-bottom: 12px;
}

.address-box.active {
  border-color: var(--blue-light);
  background: rgba(214, 227, 241, 0.15);
}

.address-box label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.address-box p {
  margin: 8px 0 0 28px;
  font-size: 14px;
  color: var(--text-secondary);
}

.address-box a {
  display: inline-block;
  margin-left: 28px;
  margin-top: 8px;
  font-size: 14px;
  color: var(--blue-deep);
  font-weight: 500;
}

/* extras */
.extras-layout {
  display: grid;
  grid-template-columns: 1fr 140px;
  align-items: center;
  gap: 24px;
}

.extras-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.extras-list label {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;

  padding: 16px 18px;

  background: #FFFFFF;

  border: 1px solid #DCE7F3;

  border-radius: 16px;

  cursor: pointer;

  transition: 0.2s ease;
}

.extras-list label:hover {
  border-color: #8FAED1;
  background: #F8FBFF;
}

.extras-list input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 12px;
}

.extras-list span {
  font-weight: 600;
  color: #4F7DAE;
}

.extras-illustration {
  position: relative;
  width: 160px;
  height: 120px;
  margin-left: auto;
}

.extras-bottle,
.extras-bucket,
.extras-sponge {
  position: absolute;
}

.extras-bottle {
  width: 34px;
  height: 72px;
  right: 54px;
  bottom: 18px;
  background: var(--blue-light);
  border-radius: 10px 10px 14px 14px;
}

.extras-bottle.small {
  width: 26px;
  height: 48px;
  right: 18px;
  bottom: 18px;
  background: #C6D6E8;
}

.extras-bucket {
  width: 56px;
  height: 38px;
  left: 42px;
  bottom: 12px;
  background: #EDF3FA;
  border-radius: 0 0 12px 12px;
  border-top: 4px solid #D9E5F1;
}

.extras-sponge {
  width: 28px;
  height: 18px;
  left: 12px;
  bottom: 18px;
  background: #F2D39A;
  border-radius: 6px;
}

/* note */
.note-box {
  position: relative;
}

.note-box textarea {
  width: 100%;
  min-height: 120px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 16px 28px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  resize: none;
  outline: none;
}

.note-box textarea::placeholder {
  color: var(--text-muted);
}

.note-box span {
  position: absolute;
  right: 16px;
  bottom: 14px;
  font-size: 12px;
  color: var(--text-muted);
}

/* sidebar */
.booking-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 18px;
}

.summary-card,
.help-card {
  padding: 22px;
}

.summary-card h3,
.help-card h3 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 600;
}

.summary-cleaner {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(232, 227, 220, 0.8);
  margin-bottom: 18px;
}

.summary-cleaner img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.summary-cleaner strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.summary-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.summary-section {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(232, 227, 220, 0.8);
  margin-bottom: 18px;
}

.summary-section strong {
  display: block;
  font-size: 15px;
  margin-bottom: 10px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 15px;
  color: var(--text);
}

.summary-stack {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--text);
}

.price-breakdown {
  padding: 18px;
  background: var(--surface-soft);
  border: 1px solid rgba(232, 227, 220, 0.85);
  border-radius: 18px;
  margin-bottom: 16px;
}

.price-breakdown .summary-row {
  margin-bottom: 10px;
}

.price-breakdown .summary-row:last-child {
  margin-bottom: 0;
}

.price-breakdown .total {
  font-weight: 700;
  font-size: 17px;
}

.refund-box {
  padding: 14px 16px;
  background: var(--green-soft);
  border-radius: 16px;
  margin-bottom: 16px;
}

.refund-box strong {
  display: block;
  font-size: 14px;
  color: var(--green-text);
  margin-bottom: 4px;
}

.refund-box p {
  margin: 0;
  font-size: 13px;
  color: var(--green-text);
}

.summary-trust-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.summary-trust-list span {
  font-size: 14px;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}

.summary-trust-list span::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue-deep);
  font-weight: 700;
}

.confirm-booking-btn {
  display: block;
  text-align: center;
  background: var(--blue-deep);
  color: #fff;
  padding: 18px 20px;
  border-radius: 18px;
  font-size: 17px;
  font-weight: 600;
}

.charge-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.help-card p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.help-phone {
  display: block;
  color: var(--blue-deep);
  font-weight: 600;
  margin-bottom: 10px;
}

.help-link {
  color: var(--blue-deep);
  font-weight: 500;
  font-size: 15px;
}

/* footer */
.booking-footer {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-inner {
  width: min(calc(100% - 64px), var(--page-width));
  margin: 0 auto;
  padding: 40px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand h2 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 600;
  color: var(--blue);
}

.footer-brand p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.footer-column a,
.footer-column p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.newsletter-column {
  max-width: 260px;
}

.newsletter-box {
  display: flex;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}

.newsletter-box input {
  border: 0;
  background: transparent;
  padding: 14px 14px;
  font-family: inherit;
  width: 100%;
  outline: none;
}

.newsletter-box button {
  border: 0;
  background: var(--blue-deep);
  color: #fff;
  width: 56px;
  font-size: 22px;
  cursor: pointer;
}

.footer-bottom {
  width: min(calc(100% - 64px), var(--page-width));
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

/* responsive */
@media (max-width: 1200px) {
  .booking-layout,
  .date-time-layout,
  .extras-layout {
    grid-template-columns: 1fr;
  }

  .booking-sidebar {
    position: static;
  }

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

  .service-option.small {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .booking-nav,
  .booking-shell,
  .footer-inner,
  .footer-bottom {
    width: min(calc(100% - 32px), var(--page-width));
  }

  .booking-nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .booking-nav-links {
    width: 100%;
    order: 3;
    flex-wrap: wrap;
    gap: 16px;
  }

  .booking-nav-right {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

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

  .booking-cleaner-avatar img {
    width: 96px;
    height: 96px;
  }

  .booking-cleaner-top h2,
  .booking-page-head h1 {
    font-size: 38px;
  }

  .footer-inner,
  .footer-links,
  .footer-bottom {
    flex-direction: column;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .service-option-grid {
    grid-template-columns: 1fr;
  }

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

  .date-time-layout {
    display: block !important;
  }

  .calendar-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px !important;
    overflow: visible !important;
  }

  .calendar-weekdays,
  .calendar-grid {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    column-gap: 2px !important;
    row-gap: 8px !important;
    width: 100% !important;
  }

  .calendar-weekdays span {
    font-size: 8px !important;
    text-align: center !important;
  }

  .calendar-grid span {
    width: 100% !important;
    height: 28px !important;
    min-width: 0 !important;
    padding: 0 !important;
    font-size: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

  .booking-step-card,
  .summary-card,
  .help-card {
    padding: 18px;
  }

  .booking-page-head h1,
  .booking-cleaner-top h2 {
    font-size: 32px;
  }

  .booking-cleaner-meta {
    flex-direction: column;
    gap: 10px;
  }

  .booking-nav-right {
    justify-content: flex-start;
  }


.service-option {
  cursor: pointer;
  transition: 0.2s ease;
  position: relative;
}

.service-option:hover {
  border-color: #8FAED1;
  transform: translateY(-2px);
}

.service-option.active {
  border-color: #8FAED1;
  background: #F5F9FD;
}

.service-option i {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #8FAED1;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
}

.time-slot-grid button {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 10px;
  font-family: inherit;
  cursor: pointer;
  transition: 0.2s ease;
}

.time-slot-grid button:hover {
  border-color: #8FAED1;
  background: #F5F9FD;
}

.time-slot-grid button.active {
  background: linear-gradient(
    135deg,
    #acc4b4,
    #7cbc93
  );

  border-color: #4F8A63;

  color: white;

  font-weight: 700;

  box-shadow:
    0 10px 24px rgba(79,138,99,0.25);
}

.calendar-grid span {
  cursor: pointer;
  border-radius: 10px;
  transition: 0.2s ease;
  padding: 6px;
}

.calendar-grid span:hover {
  background: #F5F9FD;
}

.calendar-grid .selected-day {
  background: #8FAED1;
  color: #fff;
}

.customer-details-grid {
  display: grid;
  gap: 18px;
}

.booking-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.booking-input-group label {
  font-size: 14px;
  font-weight: 600;
  color: #3F3A36;
}

.booking-input-group input {
  height: 58px;
  border: 1px solid #DCE7F3;
  border-radius: 16px;
  padding: 0 18px;
  background: #FFFFFF;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  transition: 0.2s ease;
}

.booking-input-group input:focus {
  outline: none;
  border-color: #8FAED1;
  box-shadow: 0 0 0 4px rgba(143,174,209,0.12);
}

.booking-input-group input:focus {
  outline: none;
  border-color: #8FAED1;
  box-shadow: 0 0 0 4px rgba(143, 174, 209, 0.15);
  background: white;
}

.booking-input-group input::placeholder {
  color: #8C847B;
}

.booking-two-column-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.booking-two-column-row .booking-step-card {
  background: linear-gradient(
    180deg,
    #FFFFFF 0%,
    #F8FBFF 100%
  );
  border: 1px solid rgba(143,174,209,0.18);
  border-radius: 26px;
  box-shadow: 0 10px 30px rgba(143,174,209,0.08);
}

@media (max-width: 900px) {
  .booking-two-column-row {
    grid-template-columns: 1fr;
  }
}

.customer-address-input {
  width: 100%;
  min-height: 120px;
  padding: 18px;
  background: #FFFFFF;
  border: 1px solid #DCE7F3;
  border-radius: 18px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  resize: vertical;
  transition: 0.2s ease;
}

.customer-address-input:focus {
  outline: none;
  border-color: #8FAED1;
  box-shadow: 0 0 0 4px rgba(143,174,209,0.12);
}

.customer-address-input::placeholder {
  color: #8C847B;
}

.customer-postcode-input {
flex: 1;
min-width: 0;
height: 56px;
padding: 0 18px;
border-radius: 14px;
border: 1px solid #E8E3DC;
background: #FFFFFF;
font-family: "Poppins", sans-serif;
font-size: 15px;
color: #3F3A36;
}

.customer-postcode-input:focus {
outline: none;
border-color: #8FAED1;
box-shadow: 0 0 0 4px rgba(143,174,209,0.15);
}

.address-box.active {
display: flex;
flex-direction: column;
gap: 12px;
}

.postcode-row {
display: flex;
align-items: center;
gap: 12px;
width: 100%;
}

.postcode-check-btn {
  flex-shrink: 0;
  height: 58px;
  min-width: 180px;

  border: none;
  border-radius: 16px;

  background: linear-gradient(
    135deg,
    #4f95ae,
    #4a8ca8
  );

  color: #FFFFFF;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 700;

  cursor: pointer;

  box-shadow:
    0 10px 24px rgba(79,125,174,0.25);

  transition: 0.2s ease;
}

.postcode-check-btn:hover {
  transform: translateY(-2px);

  box-shadow:
    0 14px 28px rgba(79,125,174,0.35);

  background: linear-gradient(
    135deg,
    #3D6997,
    #315781
  );
}

.postcode-helper {
margin: 0;
color: #6F685F;
font-size: 14px;
line-height: 1.6;
}

.postcode-search-box {
  width: 100%;
  background: linear-gradient(
    135deg,
    rgba(143,174,209,0.08),
    rgba(143,174,209,0.03)
  );
  border: 1px solid rgba(143,174,209,0.18);
  border-radius: 18px;
  padding: 18px;
}
.postcode-row {
display: flex;
gap: 12px;
align-items: center;
}

.customer-postcode-input {
flex: 1;
height: 52px;
padding: 0 16px;
border: 1px solid #E8E3DC;
border-radius: 12px;
background: white;
font-family: "Poppins", sans-serif;
font-size: 15px;
}

.postcode-check-btn {
height: 52px;
padding: 0 20px;
border: none;
border-radius: 12px;
background: #8fc5d1;
color: white;
font-family: "Poppins", sans-serif;
font-weight: 600;
cursor: pointer;
}

.postcode-helper {
margin-top: 10px;
font-size: 13px;
color: #6F685F;
}

#customer-note {
  width: 100%;
  min-height: 140px;
  padding: 18px;
  background: #FFFFFF;
  border: 1px solid #DCE7F3;
  border-radius: 18px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
}

#customer-note:focus {
  outline: none;
  border-color: #8FAED1;
  box-shadow: 0 0 0 4px rgba(143,174,209,0.12);
}

.summary-card {
  background: linear-gradient(
    180deg,
    #FFFFFF 0%,
    #F7FAFE 100%
  );

  border: 1px solid rgba(143,174,209,0.22);
}

.help-card {
  background: linear-gradient(
    180deg,
    #FFFFFF 0%,
    #F7FAFE 100%
  );

  border: 1px solid rgba(143,174,209,0.22);
}

.booking-sidebar {
  gap: 22px;
}

.booking-two-column-row {
  align-items: stretch;
}

.booking-two-column-row .booking-step-card {
  min-height: auto;
}

.extras-step,
.note-box {
  min-height: auto;
}

.extras-layout {
  min-height: 160px;
  align-items: center;
}

.note-box textarea,
#customer-note {
  min-height: 140px;
}

.calendar-grid .selected-day {
  background: linear-gradient(
    135deg,
    #83a5c9,
    #525fc6
  ) !important;
  color: #FFFFFF !important;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(79,125,174,0.35);
}

.recurring-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.recurring-option {
  border: 1px solid #E8E3DC;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 16px;
  cursor: pointer;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: 0.2s ease;
}

.recurring-option input {
  margin-top: 4px;
  accent-color: #8FAED1;
}

.recurring-option strong {
  display: block;
  color: #3F3A36;
  font-size: 15px;
  margin-bottom: 4px;
}

.recurring-option p {
  margin: 0;
  color: #6F685F;
  font-size: 13px;
  line-height: 1.5;
}

.recurring-option.active {
  border-color: #8FAED1;
  background: #F3F8FD;
  box-shadow: 0 12px 28px rgba(143, 174, 209, 0.14);
}

@media (max-width: 900px) {
  .recurring-options {
    grid-template-columns: 1fr;
  }
}

/* BOOKING PAGE - MOBILE FIX */
@media (max-width: 780px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .booking-header {
    display: none;
  }

  .booking-main {
    padding: 18px 0 36px;
  }

  .booking-shell {
    width: calc(100% - 28px);
  }

  .booking-page-head {
    display: none;
  }

  .booking-layout {
    display: block;
  }

  .booking-left,
  .booking-sidebar {
    width: 100%;
    max-width: 100%;
  }

  .booking-cleaner-card,
  .booking-step-card,
  .summary-card,
  .help-card {
    width: 100%;
    max-width: 100%;
    border-radius: 28px;
    padding: 22px;
    overflow: hidden;
  }

  .booking-cleaner-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .booking-cleaner-avatar img {
    width: 92px;
    height: 92px;
  }

  .booking-cleaner-top h2 {
    font-size: 34px;
  }

  .booking-rating-row {
    flex-wrap: wrap;
    font-size: 16px;
  }

  .stars {
    font-size: 20px;
  }

  .booking-service-tags {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .booking-service-tags span {
    text-align: center;
    font-size: 13px;
    padding: 12px 10px;
  }

  .booking-cleaner-meta {
    display: grid;
    gap: 12px;
    font-size: 16px;
  }

  .step-title-row {
    align-items: flex-start;
    gap: 14px;
  }

  .step-number {
    width: 52px;
    height: 52px;
    min-width: 52px;
    font-size: 20px;
  }

  .step-title-row h3 {
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -0.04em;
  }

  .service-option-grid,
  .customer-details-grid,
  .booking-two-column-row,
  .date-time-layout,
  .extras-layout,
  .recurring-options {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .service-option,
  .recurring-option {
    width: 100%;
    min-width: 0;
    padding: 18px;
  }

  .recurring-option {
    min-height: auto;
    align-items: flex-start;
  }

  .recurring-option strong,
  .recurring-option p {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .postcode-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .customer-postcode-input,
  .postcode-check-btn {
    width: 100%;
    min-width: 0;
  }

  .calendar-card,
  .times-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 18px;
  }

  .calendar-head {
    gap: 10px;
  }

  .calendar-head strong {
    font-size: 28px;
    text-align: center;
  }

  .calendar-head button {
    width: 46px;
    height: 46px;
    min-width: 46px;
  }

  .calendar-weekdays,
  .calendar-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
  }

  .calendar-weekdays span {
    font-size: 11px;
    text-align: center;
  }

  .calendar-grid span,
  .calendar-grid button {
    width: 100%;
    min-width: 0;
    height: 42px;
    font-size: 14px;
  }

  .time-slot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .customer-address-input,
  #customer-note {
    min-height: 130px;
    font-size: 15px;
  }

  .extras-illustration {
    display: none;
  }

  .booking-sidebar {
    margin-top: 20px;
  }

  .summary-card {
    position: static;
  }
}

@media (max-width: 420px) {
  .booking-shell {
    width: calc(100% - 22px);
  }

  .booking-cleaner-card,
  .booking-step-card,
  .summary-card,
  .help-card {
    padding: 18px;
  }

  .step-title-row h3 {
    font-size: 30px;
  }

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

/* FINAL BOOKING MOBILE OVERRIDE - FIX REPEAT + CALENDAR */
@media (max-width: 780px) {
  .recurring-options {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .recurring-option {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: 22px 1fr !important;
    gap: 12px !important;
    padding: 16px !important;
    overflow: hidden !important;
  }

  .recurring-option div {
    min-width: 0 !important;
  }

  .recurring-option strong,
  .recurring-option p {
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .calendar-weekdays,
  .calendar-grid {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 5px !important;
    width: 100% !important;
  }

  .calendar-weekdays span {
    font-size: 10px !important;
    text-align: center !important;
  }

  .calendar-grid span {
    width: 100% !important;
    min-width: 0 !important;
    height: 38px !important;
    padding: 0 !important;
    font-size: 12px !important;
    border-radius: 10px !important;
  }

  .calendar-card {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding: 14px !important;
  }
}

/* FINAL MOBILE CALENDAR FIX */
@media (max-width: 780px) {
  .calendar-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  .calendar-weekdays,
  .calendar-grid {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 4px !important;
  }

  .calendar-grid span {
    width: auto !important;
    height: 32px !important;
    min-width: 0 !important;
    padding: 0 !important;
  }
}

body.app-mode footer {
  display: none !important;
}

.user-profile,
.topbar .user-profile {
  display: none !important;
}

