/* Shared tile-based slot picker – mobile-first, no dropdowns */

.bsp-picker {
  display: grid;
  gap: 15px;
}

.bsp-field label {
  display: block;
  margin: 0 0 8px;
  font-size: 15px;
  color: #111;
}

.bsp-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.bsp-day-card,
.bsp-time-card {
  width: 100%;
  box-sizing: border-box;
  min-height: 56px;
  border: 1px solid rgba(12, 34, 56, .14);
  border-radius: 16px;
  background: #fff;
  color: #0c2238;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 12px;
  line-height: 1.2;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.bsp-day-card:hover,
.bsp-time-card:hover {
  border-color: rgba(12, 34, 56, .34);
}

.bsp-day-card.is-active,
.bsp-time-card.is-active {
  background: #0c2238;
  color: #fff;
  border-color: #0c2238;
  box-shadow: 0 10px 24px rgba(12, 34, 56, .16);
}

.bsp-empty-card {
  grid-column: 1 / -1;
  min-height: 56px;
  border: 1px dashed rgba(12, 34, 56, .16);
  border-radius: 16px;
  background: rgba(247, 243, 234, .52);
  color: rgba(17, 17, 17, .46);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 12px;
}

.bsp-form-fields {
  display: none;
  border-top: 1px solid rgba(12, 34, 56, .10);
  padding-top: 16px;
  margin-top: 2px;
  gap: 15px;
}

.bsp-form-fields.is-visible {
  display: grid;
}

.bsp-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 13px 14px;
  border-radius: 14px;
  background: #f7f3ea;
  color: rgba(17, 17, 17, .68);
  font-size: 14px;
}

.bsp-selected strong {
  display: block;
  color: #0c2238;
  margin-bottom: 2px;
}

.bsp-change-slot {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #0c2238;
  text-decoration: underline;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  padding: 8px 0 8px 8px;
  min-height: 44px;
  touch-action: manipulation;
}

.bsp-form-fields .bsp-field input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(17, 17, 17, .14);
  border-radius: 16px;
  background: #fff;
  color: #111;
  padding: 15px 16px;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  min-height: 54px;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.bsp-field input:focus {
  outline: none;
  border-color: rgba(12, 34, 56, .38);
  box-shadow: 0 0 0 4px rgba(12, 34, 56, .08);
}

.bsp-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  width: 100%;
  border: 0;
  border-radius: 18px;
  background: #0c2238;
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
  touch-action: manipulation;
}

.bsp-submit:hover {
  opacity: .94;
}

.bsp-submit:active {
  transform: translateY(1px);
}

.bsp-footnote {
  margin: 0;
  font-size: 14px;
  color: rgba(17, 17, 17, .54);
  line-height: 1.55;
  text-align: center;
}

@media (min-width: 640px) {
  .bsp-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
  }
}
