/* =========================================================
   PRACTICE SELECTOR / FLOW PAGES
   Selector page, accommodations, footer, preparation/info pages
   ========================================================= */

/* =========================================================
   FULL-LENGTH PRACTICE SELECTOR PAGE
   ========================================================= */

.bb-practice-page {
  height: 100vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.bb-practice-main {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 54px 32px 24px 32px;
  box-sizing: border-box;
  scrollbar-gutter: stable;
}

.bb-practice-title {
  margin: 0 auto 32px auto;
  max-width: 640px;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.15;
  color: #111;
  text-align: center;
}

.bb-practice-card {
  background: #fff;
  border: 1px solid #d7dbe5;
  border-radius: 18px;
  padding: 1px 36px 34px 36px;
  box-sizing: border-box;
  max-width: 640px;
  margin: 0 auto;
}

/* layout fine tuning */
.bb-practice-card {
  padding-top: 30px !important;
}

.bb-practice-row + .bb-practice-row {
  margin-top: 24px;
}

.bb-practice-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 0px !important;
  margin-top: 0 !important;
}

.bb-practice-label {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: #111;
}

.bb-practice-required {
  font-size: 15px;
  color: #666;
}

.bb-practice-select {
  width: 100%;
  height: 56px;
  padding: 0 44px 0 16px;
  background: #fff;
  border: 1.5px solid #aeb7c8;
  border-radius: 10px;
  box-sizing: border-box;
  font-size: 18px;
  color: #111;

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'><path d='M3 5.25 7 9.25 11 5.25' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 22px center;
  background-size: 14px 14px;
}

.bb-practice-select:disabled {
  background: #f4f6f9;
  color: #888;
}

.bb-practice-test-block.is-hidden,
.bb-accommodations-block.is-hidden,
.bb-accommodations-details.is-hidden {
  display: none;
}

#bb-practice-test-block {
  margin-top: 40px !important;
}

#bb-practice-test-block .bb-practice-row + .bb-practice-row {
  margin-top: 8px !important;
}

.bb-practice-row-head p,
.bb-practice-label p,
.bb-practice-required p {
  margin: 0 !important;
}

.bb-practice-note {
  margin: 28px 0 0 0;
  font-size: 17px;
  line-height: 1.5;
  color: #333;
}

.bb-practice-note a {
  color: #3553d8;
  text-decoration: none;
}

.bb-practice-note a:hover {
  text-decoration: underline;
}

.bb-practice-note {
  margin-top: 26px;
}

/* =========================================================
   ACCOMMODATIONS
   ========================================================= */

.bb-accommodations-block {
  margin-top: 26px;
}

.bb-accommodations-title {
  margin: 0 0 14px 0;
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

.bb-accommodations-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.bb-accommodations-switch-label {
  font-size: 17px;
  line-height: 1.4;
  color: #111;
}

.bb-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 32px;
  flex: 0 0 auto;
}

.bb-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.bb-switch-slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: #9b9b9b;
  border-radius: 999px;
  transition: 0.2s ease;
}

.bb-switch-slider::before {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.bb-switch input:checked + .bb-switch-slider {
  background: #3553d8;
}

.bb-switch input:checked + .bb-switch-slider::before {
  transform: translateX(28px);
}

.bb-accommodations-note {
  margin: 10px 0 22px 0;
  font-size: 15px;
  line-height: 1.55;
  color: #222;
}

.bb-accommodations-note a {
  color: #3553d8;
  text-decoration: underline;
}

.bb-accommodation-field {
  margin-bottom: 22px;
}

.bb-accommodation-label-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1px;
}

.bb-accommodation-field .bb-practice-select {
  display: block;
  margin-top: -18px !important;
}

.bb-accommodation-label {
  font-size: 17px;
  font-weight: 700;
  color: #111;
}

.bb-accommodation-group {
  margin: 10px 0 22px 0;
}

.bb-accommodation-group-title {
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 700;
  color: #111;
}

.bb-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.35;
  color: #111;
}

.bb-check-row input[type="checkbox"] {
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: #3553d8;
  flex: 0 0 auto;
}

.bb-accommodation-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-left: 6px;
  border: 2px solid #4b63dd;
  border-radius: 50%;
  color: #4b63dd;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto;
}

/* =========================================================
   FOOTER
   ========================================================= */

.bb-practice-footer {
  flex: 0 0 auto;
  height: 92px;
  padding: 0 34px;
  background: #fff;
  border-top: 1px solid #d6dae3;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.bb-practice-footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bb-practice-btn {
  min-width: 80px;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.bb-practice-btn-back {
  background: #3553d8;
  color: #fff;
  border: 1.8px solid #3553d8;
}

.bb-practice-btn-next {
  background: #3553d8;
  color: #fff;
  border: 1.8px solid #3553d8;
}

.bb-practice-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

/* =========================================================
   PREPARING PAGE 
   ========================================================= */

.bb-preparing-page,
.bb-practice-info-page {
  min-height: calc(100vh - 92px);
  padding: 52px 32px 0;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.bb-preparing-card {
  width: min(540px, calc(100vw - 96px));
  margin: 26px auto 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 30px 30px 32px;
  box-sizing: border-box;
}

.bb-preparing-page > h1,
.bb-practice-info-page > h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 400;
  color: #111;
  text-align: center;
}

.bb-preparing-hourglass {
  text-align: center;
  margin-bottom: 18px;
}

.bb-preparing-hourglass img {
  width: 96px;
  height: auto;
  display: inline-block;
}

.bb-preparing-text {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
  color: #111;
}

/* =========================================================
   PRACTICE INFO PAGE
   ========================================================= */

.bb-practice-info-page {
  min-height: calc(100vh - 92px);
  padding: 52px 32px 0;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.bb-practice-info-page > h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 400;
  color: #111;
  text-align: center;
}

.bb-practice-info-card {
  width: min(540px, calc(100vw - 96px));
  margin: 26px auto 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 30px 36px 32px;
  box-sizing: border-box;
}

.bb-practice-info-card h2 {
  margin: 0 0 8px 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: #111;
}

.bb-practice-info-card p {
  margin: 0 0 26px 0;
  font-size: 17px;
  line-height: 1.42;
  font-weight: 400;
  color: #111;
}

.bb-practice-info-lock-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 8px;
}

.bb-practice-info-lock-icon {
  width: 32px;
  height: 32px;
  display: block;
  flex: 0 0 auto;
  margin-top: 0;
}

.bb-practice-info-lock-text {
  flex: 1 1 auto;
}

.bb-practice-info-lock-title {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: #111;
  margin-bottom: 3px;
}

.bb-practice-info-lock-body {
  font-size: 17px;
  line-height: 1.42;
  font-weight: 400;
  color: #111;
}