.school-request-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 12%, rgba(36, 116, 199, 0.12), transparent 30rem),
    radial-gradient(circle at 88% 32%, rgba(36, 114, 91, 0.1), transparent 28rem),
    #f7fafc;
}

.school-request-nav {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.request-hero {
  padding: 72px 0 84px;
}

.request-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(620px, 1.35fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: start;
}

.request-intro {
  position: sticky;
  top: 132px;
  padding-block: 34px;
}

.request-intro h1 {
  max-width: 680px;
  margin: 16px 0 22px;
  color: var(--navy-950);
  font-size: clamp(2.35rem, 4vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

[dir="rtl"] .request-intro h1 {
  letter-spacing: 0;
}

.request-lead {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.request-steps {
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.request-steps li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--navy-800);
  font-weight: 750;
}

.request-steps span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #cdddeb;
  border-radius: 50%;
  color: var(--blue-700);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.request-card {
  overflow: hidden;
  border: 1px solid rgba(201, 218, 233, 0.92);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 80px rgba(20, 54, 86, 0.14);
}

.request-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 34px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #f4f9ff, #f1faf6);
}

.request-card-heading h2,
.request-card-heading p {
  margin: 0;
}

.request-card-heading h2 {
  margin-top: 4px;
  color: var(--navy-950);
  font-size: 1.45rem;
}

.request-kicker {
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.request-card form {
  padding: 8px 34px 34px;
}

.form-summary:empty {
  display: none;
}

.form-summary {
  margin: 22px 0 0;
  padding: 14px 18px;
  border: 1px solid #f1b8b8;
  border-radius: 12px;
  color: #9d2828;
  background: #fff4f4;
}

.form-summary ul {
  margin: 0;
  padding-inline-start: 20px;
}

.form-section {
  min-width: 0;
  margin: 0;
  padding: 26px 0 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.form-section legend {
  margin: 0;
  padding: 0;
  color: var(--navy-950);
  font-size: 1.18rem;
  font-weight: 800;
}

.form-section > p {
  margin: 4px 0 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.field-wide {
  grid-column: 1 / -1;
}

.field-group label {
  display: block;
  margin-bottom: 8px;
  color: #263d55;
  font-size: 0.9rem;
  font-weight: 750;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #cbd9e6;
  border-radius: 12px;
  outline: 0;
  color: var(--ink);
  background: #fff;
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field-group textarea {
  min-height: 116px;
  resize: none;
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: #8a9bab;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--blue-600);
  background: #fbfdff;
  box-shadow: 0 0 0 4px rgba(36, 116, 199, 0.12);
}

.school-request-page .field-group .bootstrap-select {
  position: relative;
  display: block;
  width: 100% !important;
}

.school-request-page .bootstrap-select .dropdown-menu {
  position: absolute;
  inset-block-start: 100%;
  inset-inline-start: 0;
  z-index: 1000;
  display: none;
  width: 100%;
  min-width: 100%;
  margin: 5px 0 0;
  list-style: none;
  background: #fff;
}

.school-request-page .bootstrap-select .dropdown-menu.show {
  display: block;
}

.school-request-page .bootstrap-select .dropdown-menu.inner {
  position: static;
  display: block;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.school-request-page .bootstrap-select .dropdown-menu li {
  margin: 0;
  list-style: none;
}

.school-request-page .bootstrap-select .dropdown-item {
  display: block;
  width: 100%;
  border: 0;
  text-decoration: none;
  cursor: pointer;
}

.school-request-page .field-group .bootstrap-select > .dropdown-toggle {
  min-height: 50px;
  padding: 12px 42px 12px 14px;
  border: 1px solid #cbd9e6;
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  text-align: start;
  box-shadow: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

[dir="rtl"] .school-request-page .field-group .bootstrap-select > .dropdown-toggle {
  padding-right: 14px;
  padding-left: 42px;
}

.school-request-page .field-group .bootstrap-select > .dropdown-toggle:focus,
.school-request-page .field-group .bootstrap-select.show > .dropdown-toggle {
  border-color: var(--blue-600);
  background: #fbfdff;
  box-shadow: 0 0 0 4px rgba(36, 116, 199, 0.12) !important;
  outline: 0 !important;
}

.school-request-page .bootstrap-select .dropdown-toggle::after {
  position: absolute;
  top: 50%;
  inset-inline-end: 16px;
  margin: 0;
  transform: translateY(-50%);
}

.school-request-page .bootstrap-select .filter-option-inner-inner {
  overflow: hidden;
  text-overflow: ellipsis;
}

.school-request-page .bootstrap-select .dropdown-menu {
  max-width: 100%;
  padding: 8px;
  border: 1px solid #d7e2ec;
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(17, 48, 78, 0.16);
}

.school-request-page .bootstrap-select .bs-searchbox {
  padding: 4px 4px 10px;
}

.school-request-page .bootstrap-select .bs-searchbox .form-control {
  min-height: 42px;
  border: 1px solid #cbd9e6;
  border-radius: 9px;
  box-shadow: none;
}

.school-request-page .bootstrap-select .dropdown-item {
  padding: 9px 11px;
  border-radius: 8px;
  color: #263d55;
  white-space: normal;
}

.school-request-page .bootstrap-select .dropdown-item.active,
.school-request-page .bootstrap-select .dropdown-item:active,
.school-request-page .bootstrap-select .dropdown-item:hover {
  color: var(--navy-950);
  background: #eaf4ff;
}

.school-request-page .bootstrap-select > select.input-validation-error ~ .dropdown-toggle {
  border-color: #d95353;
  background: #fffafa;
}

.field-group .input-validation-error {
  border-color: #d95353;
  background: #fffafa;
}

.field-group span.field-validation-error {
  display: block;
  margin-top: 6px;
  color: #b52f2f;
  font-size: 0.82rem;
}

.email-verification-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px 17px;
  border: 1px solid #cfe3f7;
  border-radius: 13px;
  color: #24435f;
  background: linear-gradient(135deg, #f2f8ff 0%, #f8fcff 100%);
}

.email-note-icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: #1768ad;
  background: #dceeff;
}

.email-note-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.email-verification-note strong,
.email-verification-note small {
  display: block;
}

.email-verification-note strong {
  margin-bottom: 3px;
  color: #123e66;
  font-size: 0.9rem;
  font-weight: 800;
}

.email-verification-note small {
  color: #526b82;
  font-size: 0.83rem;
  line-height: 1.55;
}

.request-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
}

.request-submit-row p {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.request-submit {
  min-height: 52px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.request-footer {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  text-align: center;
}

.request-footer p {
  margin: 0;
}

@media (max-width: 1020px) {
  .request-hero-grid {
    grid-template-columns: 1fr;
  }

  .request-intro {
    position: static;
    max-width: 760px;
    padding-block: 0;
  }

  .request-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .request-home-link {
    display: none;
  }

  .request-hero {
    padding: 38px 0 54px;
  }

  .request-intro h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .request-steps,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .request-card-heading,
  .request-card form {
    padding-inline: 20px;
  }

  .request-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .request-submit {
    width: 100%;
  }
}
