/* Окно записи. Стиль взят с сайта HAPPY: тот же золотой акцент,
   Unbounded в заголовках, мягкие скругления. */

.zp-back {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(24, 20, 12, .55);
  backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 16px;
}
.zp-back.on { display: flex; }

.zp-box {
  position: relative;
  width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto;
  background: #FFFDF8; border-radius: 22px;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 64px rgba(40, 32, 16, .28);
}
.zp-x {
  position: absolute; top: 12px; right: 14px;
  width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: #F3EEE2; color: #6B6455; font-size: 22px; line-height: 1;
  cursor: pointer;
}
.zp-x:hover { background: #E9E2D2; }

.zp-title {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 700; font-size: 22px; color: #2C2718;
  margin: 0 40px 18px 0;
}

.zp-step { margin-bottom: 20px; }
.zp-step-t {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  color: #8A8270; margin-bottom: 10px;
}
.zp-step-t span {
  width: 22px; height: 22px; border-radius: 50%;
  background: #B0A235; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}

.zp-row { display: flex; flex-wrap: wrap; gap: 8px; }

.zp-card {
  flex: 1 1 150px; min-width: 140px;
  border: 1.5px solid #E6DFCF; border-radius: 14px;
  background: #fff; padding: 12px 14px; cursor: pointer;
  text-align: left; transition: border-color .15s, background .15s;
}
.zp-card b { display: block; font-size: 15px; font-weight: 700; color: #2C2718; }
.zp-card i { display: block; font-style: normal; font-size: 12px; color: #8A8270; margin-top: 2px; }
.zp-card u {
  display: block; text-decoration: none;
  font-size: 15px; font-weight: 700; color: #B0A235; margin-top: 6px;
}
.zp-card:hover { border-color: #C9BE83; }
.zp-card.on { border-color: #B0A235; background: #FBF8EC; }
.zp-any b { font-size: 13px; color: #6B6455; font-weight: 600; }

.zp-days {
  display: flex; gap: 8px; overflow-x: auto;
  padding-bottom: 6px; scrollbar-width: thin;
}
.zp-day {
  flex: 0 0 auto; width: 62px;
  border: 1.5px solid #E6DFCF; border-radius: 14px;
  background: #fff; padding: 8px 0; cursor: pointer; text-align: center;
}
.zp-day i { display: block; font-style: normal; font-size: 11px; color: #8A8270; }
.zp-day b { display: block; font-size: 20px; font-weight: 700; color: #2C2718; line-height: 1.2; }
.zp-day u { display: block; text-decoration: none; font-size: 11px; color: #8A8270; }
.zp-day:hover { border-color: #C9BE83; }
.zp-day.on { border-color: #B0A235; background: #FBF8EC; }

.zp-time {
  flex: 0 0 auto;
  border: 1.5px solid #E6DFCF; border-radius: 12px;
  background: #fff; padding: 11px 16px; cursor: pointer;
}
.zp-time b { font-size: 15px; font-weight: 700; color: #2C2718; }
.zp-time:hover { border-color: #C9BE83; }
.zp-time.on { border-color: #B0A235; background: #FBF8EC; }

.zp-note {
  font-size: 13px; color: #8A8270; line-height: 1.5;
  background: #F6F2E6; border-radius: 12px; padding: 10px 12px; margin-bottom: 10px;
}
.zp-load { font-size: 14px; color: #8A8270; padding: 14px 0; }

.zp-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.zp-in {
  flex: 1 1 180px;
  border: 1.5px solid #E6DFCF; border-radius: 12px;
  padding: 13px 14px; font-size: 15px; font-family: inherit; color: #2C2718;
  background: #fff;
}
.zp-in:focus { outline: none; border-color: #B0A235; }
.zp-go {
  flex: 1 1 100%;
  border: 0; border-radius: 12px; cursor: pointer;
  background: #B0A235; color: #fff;
  padding: 14px; font-size: 15px; font-weight: 700; font-family: inherit;
}
.zp-go:hover { background: #9C8F2C; }
.zp-go:disabled { opacity: .6; cursor: default; }
.zp-msg { flex: 1 1 100%; font-size: 13px; color: #B4553A; }

.zp-done { text-align: center; padding: 20px 0 10px; }
.zp-done-t {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 700; font-size: 20px; color: #2C2718; margin-bottom: 8px;
}
.zp-done-x { font-size: 17px; font-weight: 700; color: #B0A235; margin-bottom: 12px; }
.zp-done-p { font-size: 14px; color: #6B6455; line-height: 1.6; max-width: 380px; margin: 0 auto; }

@media (max-width: 520px) {
  .zp-box { padding: 24px 16px 18px; border-radius: 18px; }
  .zp-title { font-size: 19px; }
  .zp-card { flex: 1 1 100%; }
}

.zp-why {
  flex: 1 1 100%;
  font-size: 12.5px; color: #8A8270; line-height: 1.5;
  background: #F6F2E6; border-radius: 12px; padding: 10px 12px; margin-bottom: 4px;
}

/* Полоса дней в нижней форме сайта — вместо календаря браузера. */
.dl-days { margin-top: 2px; }
.dl-days .zp-day {
  border-color: #e3decb;
  background: #fbf8ef;
}
.dl-days .zp-day:hover { border-color: #D8CC57; }
.dl-days .zp-day.on { border-color: #B0A235; background: #fff; }
