.bsk-hpv-booking {
  width: 100%;
  margin: 28px 0;
  box-sizing: border-box;
}

.bsk-hpv-booking--wide {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}

.bsk-hpv-booking *,
.bsk-hpv-booking *::before,
.bsk-hpv-booking *::after {
  box-sizing: border-box;
}

.bsk-hpv-card {
  width: 100%;
  margin: 0;
  background: #ffffff;
  border: 1px solid #dfe5ec;
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(22, 39, 63, 0.07);
  padding: clamp(22px, 2.5vw, 34px);
  overflow: hidden;
}

.bsk-hpv-header {
  margin-bottom: 24px;
}

.bsk-hpv-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #496381;
}

.bsk-hpv-header h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.3vw, 42px);
  line-height: 1.12;
  color: #101827;
}

.bsk-hpv-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.bsk-hpv-meta span {
  display: block;
  padding: 13px 15px;
  border-radius: 12px;
  background: #f5f7fa;
  font-size: 15px;
  line-height: 1.45;
  color: #24344b;
}

.bsk-hpv-intro {
  margin: 0;
  color: #35445a;
  font-size: 17px;
  line-height: 1.6;
}

.bsk-hpv-notice {
  margin: 0 0 20px;
  padding: 15px 17px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.5;
  border: 1px solid transparent;
}

.bsk-hpv-notice--error {
  background: #fff5f5;
  border-color: #efc2c2;
  color: #8d2b2b;
}

.bsk-hpv-notice--success {
  background: #eff9f2;
  border-color: #b9ddc1;
  color: #1c6330;
}

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

.bsk-hpv-slot-picker,
.bsk-hpv-panel {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
}

.bsk-hpv-slot-picker__head {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.bsk-hpv-slot-picker label,
.bsk-hpv-panel h3 {
  margin: 0;
  display: block;
  font-size: 21px;
  line-height: 1.3;
  color: #111827;
}

.bsk-hpv-slot-picker__hint {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: #59687d;
}

.bsk-hpv-slot-picker__selected {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #d7dee8;
  color: #304159;
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
}

.bsk-hpv-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 7px;
}

.bsk-hpv-slot {
  appearance: none;
  -webkit-appearance: none;
  min-width: 0;
  min-height: 43px;
  padding: 7px 6px;
  border: 1px solid #d2dbe6;
  border-radius: 10px;
  background: #ffffff;
  color: #1f2937;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.bsk-hpv-slot:hover:not(:disabled) {
  border-color: #2d69b2;
  background: #f4f8fd;
  box-shadow: 0 5px 12px rgba(45, 105, 178, 0.10);
  transform: translateY(-1px);
}

.bsk-hpv-slot:focus-visible {
  outline: 2px solid #245ea8;
  outline-offset: 2px;
}

.bsk-hpv-slot.is-selected,
.bsk-hpv-slot.is-selected:hover,
.bsk-hpv-slot.is-selected:focus,
.bsk-hpv-slot.is-selected:active {
  border-color: #1768cf !important;
  background: #1768cf !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #1768cf !important;
  opacity: 1 !important;
  text-decoration: none !important;
  -webkit-text-fill-color: #ffffff !important;
}


.bsk-hpv-slot.is-selected,
.bsk-hpv-slot.is-selected .bsk-hpv-slot__time,
.bsk-hpv-slot.is-selected .bsk-hpv-slot__state {
  color: #ffffff !important;
}

.bsk-hpv-slot.is-booked,
.bsk-hpv-slot:disabled {
  background: #eef2f6;
  border-color: #e0e6ed;
  color: #9aa5b3;
  cursor: not-allowed;
  box-shadow: none;
  text-decoration: line-through;
}

.bsk-hpv-panel {
  position: sticky;
  top: 24px;
}

.bsk-hpv-panel h3 {
  margin-bottom: 16px;
}

.bsk-hpv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
}

.bsk-hpv-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bsk-hpv-field--full {
  grid-column: 1 / -1;
}

.bsk-hpv-field label {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  color: #111827;
}

.bsk-hpv-field input {
  width: 100%;
  min-height: 47px;
  border: 1px solid #cfd8e3;
  border-radius: 10px;
  padding: 0 13px;
  font-size: 16px;
  color: #111827;
  background: #ffffff;
}

.bsk-hpv-field input:focus {
  outline: 2px solid rgba(36, 94, 168, 0.15);
  border-color: #245ea8;
}

.bsk-hpv-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 17px 0 11px;
  color: #35445a;
  font-size: 14px;
  line-height: 1.5;
}

.bsk-hpv-consent input {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.bsk-hpv-consent a {
  color: #175ea8;
  text-decoration: underline;
}

.bsk-hpv-required {
  margin: 0 0 15px;
  font-size: 13px;
  color: #69778a;
}

.bsk-hpv-submit {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 11px;
  background: #1266d4;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.bsk-hpv-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(18, 102, 212, 0.19);
  background: #0f5aba;
}

.bsk-hpv-full {
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff8e8;
  border: 1px solid #efd993;
  color: #725209;
}

@media (max-width: 1050px) {
  .bsk-hpv-layout {
    grid-template-columns: 1fr;
  }

  .bsk-hpv-panel {
    position: static;
  }
}

@media (max-width: 780px) {
  .bsk-hpv-booking {
    margin: 20px 0;
  }

  .bsk-hpv-card {
    border-radius: 16px;
    padding: 18px 14px;
  }

  .bsk-hpv-meta {
    grid-template-columns: 1fr;
  }

  .bsk-hpv-slot-picker,
  .bsk-hpv-panel {
    padding: 16px;
  }

  .bsk-hpv-slot-picker__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .bsk-hpv-slot-picker__selected {
    width: 100%;
    white-space: normal;
  }

  .bsk-hpv-slot-grid {
    grid-template-columns: repeat(auto-fill, minmax(62px, 1fr));
    gap: 6px;
  }

  .bsk-hpv-slot {
    min-height: 41px;
    font-size: 14px;
  }
}
