/* Beyond Reveal — Discovery Sprint form
   Built to match the theme design system. */

.br-form-section{ padding-top: 72px; padding-bottom: 96px; }

.br-form{
  max-width: 920px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 28px;
}

.br-block{
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 32px;
}
.br-block-head{
  display: grid; grid-template-columns: 44px 1fr;
  gap: 18px; align-items: flex-start;
  margin: 0 0 24px;
}
.br-step{
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--violet); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
  margin-top: 2px;
}
.br-block-head h3{
  margin: 0 0 4px;
  color: #fff;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.015em;
}
.br-block-head h3 em{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--violet-2);
}
.br-block-head p{
  margin: 0;
  color: var(--ink-mid);
  font-size: 14px;
  line-height: 1.6;
}

/* Fields inherit `.field` / `.field-row` / labels from the theme,
   but we need dark-card versions of the inputs. */
.br-block .field label{
  color: var(--violet-2);
}
.br-block .field input,
.br-block .field textarea,
.br-block .field select{
  background: #0d1228;
  color: var(--ink);
  border-color: var(--rule-strong);
}
.br-block .field input:focus,
.br-block .field textarea:focus,
.br-block .field select:focus{
  background: #0f1530;
  border-color: var(--violet);
}
.br-block .field textarea{ min-height: 110px; }

/* ======================================================================= */
/* CALENDAR                                                                 */
/* ======================================================================= */
.br-calendar{
  background: #0d1228;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 18px;
}
.br-cal-nav{
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.br-cal-nav button{
  background: transparent;
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 15px;
  transition: border-color .2s ease, color .2s ease;
}
.br-cal-nav button:hover:not(:disabled){ border-color: var(--violet); color: #fff; }
.br-cal-nav button:disabled{ opacity: .35; cursor: not-allowed; }
.br-cal-title{
  font-weight: 700; color: #fff; font-size: 15px; letter-spacing: -0.005em;
}

.br-cal-grid{
  display: flex; flex-direction: column; gap: 4px;
}
.br-cal-row{
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
}
.br-cal-head .br-cal-h{
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-low);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 0;
}
.br-cal-cell{
  aspect-ratio: 1/1;
  display: grid; place-items: center;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink);
  background: #131a36;
  border: 1px solid transparent;
  user-select: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.br-cal-cell > span{ pointer-events: none; }
.br-cal-available{ cursor: pointer; color: #fff; background: #131a36; }
.br-cal-available:hover, .br-cal-available:focus{
  border-color: var(--violet);
  background: #161d3d;
  outline: none;
}
.br-cal-weekend,
.br-cal-past,
.br-cal-blocked,
.br-cal-booked,
.br-cal-outside,
.br-cal-outside-window{
  color: var(--ink-low);
  background: #0f1530;
  cursor: not-allowed;
}
.br-cal-blocked, .br-cal-booked{
  text-decoration: line-through;
  opacity: .55;
}
.br-cal-outside{ background: transparent; color: transparent; }
.br-cal-cell.is-selected{
  background: var(--violet);
  color: #fff;
  border-color: var(--violet-2);
  box-shadow: 0 0 0 2px rgba(124,108,242,0.35);
}

.br-cal-legend{
  margin-top: 14px;
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: 12px; color: var(--ink-mid);
}
.br-cal-legend .sw{
  display: inline-block; width: 12px; height: 12px; border-radius: 3px;
  margin-right: 6px; vertical-align: -2px;
}
.br-cal-legend .sw.available{ background: #131a36; border: 1px solid var(--rule-strong); }
.br-cal-legend .sw.blocked{ background: #0f1530; border: 1px solid var(--rule); }
.br-cal-legend .sw.selected{ background: var(--violet); }

.br-selected-date{
  margin-top: 16px;
  background: var(--violet-soft);
  border: 1px solid rgba(124,108,242,0.35);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.br-sd-label{
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--violet-2);
}
.br-sd-value{ color: #fff; font-weight: 600; }

/* ======================================================================= */
/* STEPS                                                                    */
/* ======================================================================= */
.br-steps{ display: flex; flex-direction: column; gap: 18px; margin-bottom: 18px; }
.br-step-card{
  background: #0d1228;
  border: 1px solid var(--rule-strong);
  border-radius: 12px;
  padding: 22px;
  position: relative;
}
.br-step-head{
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.br-step-label{
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--violet-2); font-weight: 700;
}
.br-step-remove{
  background: transparent; border: 1px solid var(--rule-strong);
  color: var(--ink-mid); width: 28px; height: 28px; border-radius: 50%;
  font-size: 18px; line-height: 1; cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.br-step-remove:hover{ color: #fff; border-color: var(--orange); }

.br-add-step{
  align-self: flex-start;
}

/* ======================================================================= */
/* SUMMARY + PAY                                                            */
/* ======================================================================= */
.br-summary{
  background: #0d1228;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 18px;
}
.br-sum-row{
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.br-sum-row:last-of-type{ border-bottom: none; }
.br-sum-row span{ color: var(--ink-mid); }
.br-sum-row strong{ color: #fff; font-weight: 600; }
.br-sum-row.total{
  padding-top: 14px;
  border-top: 2px solid var(--rule-strong);
  margin-top: 6px;
  font-size: 17px;
}
.br-sum-row.total span{ color: #fff; font-weight: 600; }
.br-sum-row.total strong{ color: var(--violet-2); font-size: 20px; }
.br-sum-note{
  margin-top: 8px;
  font-family: var(--serif); font-style: italic;
  font-size: 13px; color: var(--ink-mid);
}

.br-paypal-button{
  margin-top: 14px;
  min-height: 50px;
}

.br-validation{
  background: rgba(236,106,58,0.12);
  border: 1px solid rgba(236,106,58,0.35);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 14px;
  color: #ffd2bd;
  font-size: 14px;
}
.br-validation ul{ margin: 6px 0 0; padding-left: 20px; }
.br-validation strong{ color: #fff; }

/* Confirmation list (thank-you) */
.br-confirm-list{
  list-style: none; padding: 0; margin: 18px 0 0;
  display: flex; flex-direction: column; gap: 10px;
}
.br-confirm-list li{
  display: flex; justify-content: space-between;
  background: #0d1228;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
}
.br-confirm-list li span{ color: var(--ink-mid); }
.br-confirm-list li strong{ color: #fff; }

@media (max-width: 720px){
  .br-block{ padding: 24px 20px; }
  .br-block-head{ grid-template-columns: 32px 1fr; gap: 14px; }
  .br-step{ width: 30px; height: 30px; font-size: 13px; }
  .br-block-head h3{ font-size: 20px; }
  .br-cal-cell{ font-size: 13px; border-radius: 6px; }
  .br-selected-date{ flex-direction: column; align-items: flex-start; }
}
