:root {
  --blue: #17378f;
  --green: #009b50;
  --lime: #8cc63e;
  --ink: #172033;
  --muted: #667085;
  --line: #e5e7eb;
  --soft: #f4f6f8;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f7f8fa;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
.wrap {
  width: min(920px, calc(100% - 32px));
  margin: 32px auto 60px;
}
.brand {
  text-align: center;
  margin: 8px 0 28px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: clamp(27px, 5vw, 42px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -2px;
  color: #2863a8;
}
.logo .green {
  color: #0b9b50;
}
.logo small {
  font-size: 15px;
  letter-spacing: -0.5px;
  color: #83b82d;
  align-self: flex-end;
  margin: 0 0 3px 2px;
}
.logo-line {
  width: 290px;
  max-width: 80%;
  height: 4px;
  margin: 5px auto 0;
  border-radius: 5px;
  background: linear-gradient(90deg, #009b50, #9bc83c);
}
.brand-logo {
  display: block;
  width: min(420px, 82%);
  height: auto;
  max-height: 105px;
  object-fit: contain;
  margin: 0 auto 8px;
}
.panel {
  background: #fff;
  border: 1px solid #e9edf2;
  border-radius: 18px;
  padding: clamp(22px, 4vw, 42px);
  box-shadow: 0 12px 36px rgba(16, 24, 40, 0.06);
}
h1 {
  text-align: center;
  font-size: clamp(24px, 4vw, 31px);
  margin: 0 0 10px;
  color: #101828;
}
.subtitle {
  text-align: center;
  color: var(--muted);
  margin: 0 0 32px;
  line-height: 1.5;
}
.stepbar {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 0 auto 30px;
  max-width: 430px;
}
.step {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 9px;
  background: #f0f2f5;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}
.step.active {
  background: #eaf0ff;
  color: var(--blue);
}
.step.done {
  background: #e8f7ef;
  color: #087443;
  cursor: pointer;
}
.field {
  margin: 0 0 22px;
}
label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 9px;
}
select,
input {
  width: 100%;
  height: 49px;
  border: 1px solid #d8dde5;
  border-radius: 9px;
  padding: 0 14px;
  background: #fff;
  color: #172033;
  font-size: 15px;
  outline: none;
}
.class-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.class-option {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px;
  border: 1px solid #d8dde5;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  margin: 0;
}
.class-option:has(input:checked) {
  border-color: var(--blue);
  background: #f1f5ff;
  color: var(--blue);
  box-shadow: 0 0 0 2px rgba(23, 55, 143, 0.08);
}
.class-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--blue);
}
.route-dropdown {
  position: relative;
}
.route-input-wrap {
  position: relative;
}
.route-input-wrap input {
  padding-right: 42px;
  cursor: text;
}
.route-chevron {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #667085;
  pointer-events: none;
  font-size: 18px;
}
.route-options {
  position: absolute;
  z-index: 20;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #d8dde5;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.14);
  padding: 5px;
}
.route-option {
  display: block;
  width: 100%;
  border: 0;
  background: #fff;
  text-align: left;
  padding: 11px 12px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 400;
  color: #172033;
  cursor: pointer;
}
.route-option:hover,
.route-option:focus {
  background: #f0f4ff;
  color: var(--blue);
  outline: none;
}
.route-option.selected {
  background: #edf8f2;
  color: #087443;
  font-weight: 700;
}
.route-empty {
  padding: 13px;
  color: #667085;
  font-size: 13px;
}
.route-help {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 0;
}
@media (max-width: 620px) {
  .class-options {
    grid-template-columns: 1fr;
  }
  .class-option {
    padding: 13px 10px;
    font-size: 14px;
  }
}
select:focus,
input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 55, 143, 0.1);
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.hint {
  font-size: 12px;
  color: var(--muted);
  margin: 7px 0 0;
  line-height: 1.5;
}
.notice {
  background: #fff8e8;
  border: 1px solid #f4dfae;
  color: #775515;
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 13px;
  line-height: 1.55;
  margin: 20px 0;
}
.notice p {
  margin: 0 0 8px;
}
.notice p:last-child {
  margin-bottom: 0;
}
.notice ul {
  margin: 0;
  padding-left: 20px;
}
.notice li {
  margin-bottom: 4px;
}
.notice li:last-child {
  margin-bottom: 0;
}
.summary {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin: 22px 0;
}
.summary-head {
  padding: 14px 17px;
  background: #f7f8fb;
  font-weight: 700;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 17px;
  border-top: 1px solid #edf0f3;
  font-size: 14px;
}
.summary-row span:first-child {
  color: #667085;
}
.summary-row.total span:first-child {
  color: #087443 !important;
}
.total {
  background: #edf8f2;
  color: #087443;
  font-weight: 800;
  font-size: 17px;
}
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}
button {
  border: 0;
  border-radius: 9px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.15s;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.primary {
  background: var(--blue);
  color: white;
  flex: 1;
}
.primary:hover {
  background: #102b74;
}
.whatsapp {
  background: var(--green);
  color: #fff;
  flex: 1;
}
.whatsapp:hover {
  background: #087d43;
}
.secondary {
  background: #edf0f4;
  color: #344054;
}
.smallprint {
  font-size: 12px;
  color: #667085;
  line-height: 1.6;
  margin-top: 18px;
}
.hidden {
  display: none !important;
}
.error {
  color: #c62828;
  font-size: 13px;
  margin-top: 7px;
}
@media (max-width: 620px) {
  .wrap {
    margin-top: 18px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .actions {
    flex-direction: column-reverse;
  }
  .actions button {
    width: 100%;
  }
  .summary-row {
    font-size: 13px;
    flex-direction: column;
    gap: 5px;
  }
  .panel {
    border-radius: 14px;
  }
}
