.hidden {
  display: none !important;
}

.scholarship-page {
  overflow: hidden;
  background: #ffffff;
}

.scholarship-logo {
  min-width: 66px;
}

.scholarship-tab {
  color: var(--blue) !important;
}

.scholarship-hero {
  position: relative;
  min-height: 760px;
  padding: 150px 0 90px;
  background:
    radial-gradient(circle at 7% 18%, rgba(13, 110, 253, 0.18), transparent 25%),
    radial-gradient(circle at 92% 12%, rgba(255, 121, 0, 0.2), transparent 24%),
    linear-gradient(150deg, #f7fbff 0%, #ffffff 52%, #fff8f0 100%);
}

.scholarship-hero::before,
.scholarship-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.scholarship-hero::before {
  width: 320px;
  height: 320px;
  left: -210px;
  bottom: 20px;
  border: 50px solid rgba(13, 110, 253, 0.06);
}

.scholarship-hero::after {
  width: 250px;
  height: 250px;
  right: -145px;
  top: 180px;
  border: 42px solid rgba(255, 121, 0, 0.08);
}

.scholarship-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: center;
  gap: 68px;
}

.campaign-kicker {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  margin-bottom: 22px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, #ff9638, var(--orange));
  box-shadow: 0 10px 24px rgba(255, 121, 0, 0.24);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scholarship-copy .section-label {
  color: var(--blue);
}

.scholarship-copy h1 {
  max-width: 650px;
  margin: 15px 0 24px;
  color: var(--dark-blue);
  font-size: clamp(2.7rem, 5.6vw, 5.3rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.scholarship-copy h1 span {
  display: block;
  color: var(--orange);
}

.hero-description {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  color: #3f4b61;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-trust span::first-letter {
  color: var(--blue);
}

.benefit-board {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  color: white;
  background:
    radial-gradient(circle at 90% 10%, rgba(20, 157, 255, 0.38), transparent 28%),
    linear-gradient(145deg, #061b49 0%, #073f99 57%, #075fcb 100%);
  box-shadow: 0 30px 65px rgba(7, 31, 77, 0.25);
}

.benefit-board::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  top: -96px;
  right: -45px;
  border: 26px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.benefit-board-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.benefit-board-header p {
  margin-bottom: 3px;
  color: #dceaff;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.benefit-board-header h2 {
  color: white;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.board-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  color: #8b5000;
  background: linear-gradient(145deg, #fff3a0, #ffc13d);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.34);
  font-size: 1.45rem;
}

.tier-list {
  display: grid;
  gap: 8px;
}

.tier-row {
  display: grid;
  grid-template-columns: 38px 1fr 1.35fr;
  align-items: center;
  gap: 11px;
  min-height: 68px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.tier-row.active {
  z-index: 1;
  transform: scale(1.035);
  color: var(--dark-blue);
  background: white;
  box-shadow: 0 16px 30px rgba(1, 17, 48, 0.3);
}

.tier-gold {
  border-color: rgba(255, 210, 70, 0.48);
  background: linear-gradient(90deg, rgba(255, 171, 31, 0.36), rgba(255, 255, 255, 0.12));
}

.tier-row small,
.tier-row strong {
  display: block;
}

.tier-row small {
  margin-bottom: 2px;
  color: #cfe2ff;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tier-row.active small {
  color: var(--muted);
}

.tier-row strong {
  font-size: 1.08rem;
}

.tier-row b {
  font-size: 0.93rem;
  line-height: 1.25;
  text-align: right;
}

.tier-medal {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #754000;
  background: #ffc13d;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.34);
}

.tier-medal.silver {
  color: #4d5766;
  background: #dbe3ed;
}

.tier-medal.bronze {
  color: #6b2d08;
  background: #ff8a38;
}

.tier-medal.blue {
  color: white;
  background: #1ca7ff;
}

.board-caption {
  margin-top: 18px;
  color: #d6e7ff;
  font-size: 0.74rem;
  text-align: center;
}

.evaluation-section {
  padding: 100px 0;
  background:
    radial-gradient(circle at 90% 18%, rgba(13, 110, 253, 0.09), transparent 22%),
    #f7faff;
}

.evaluation-heading {
  max-width: 690px;
  margin: 0 auto 46px;
  text-align: center;
}

.evaluation-heading h2 {
  margin: 13px 0 14px;
  color: var(--dark-blue);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.evaluation-heading > p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.evaluation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
}

.upload-card,
.result-card,
.scholarship-chat-card {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(13, 110, 253, 0.13);
  border-radius: 28px;
  background: white;
  box-shadow: 0 20px 48px rgba(9, 31, 77, 0.1);
}

.evaluation-upload-card {
  align-self: stretch;
}

.evaluation-side-column {
  display: grid;
  gap: 30px;
  min-width: 0;
  align-content: start;
}

.scholarship-chat-card {
  scroll-margin-top: 110px;
}

.step-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 27px;
}

.step-heading > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 15px;
  color: white;
  background: linear-gradient(145deg, var(--blue), #0753b8);
  box-shadow: 0 9px 20px rgba(13, 110, 253, 0.23);
  font-weight: 900;
}

.step-heading p {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-heading h3 {
  color: var(--dark-blue);
  font-size: 1.35rem;
}

.drop-zone {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border: 2px dashed rgba(13, 110, 253, 0.34);
  border-radius: 22px;
  color: var(--dark-blue);
  background: linear-gradient(145deg, #f9fcff, #eff6ff);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  text-align: center;
}

.drop-zone:hover,
.drop-zone.dragging,
.drop-zone:focus-visible {
  border-color: var(--orange);
  background: #fff8f1;
  outline: none;
  transform: translateY(-2px);
}

.upload-symbol {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  border-radius: 20px;
  color: white;
  background: linear-gradient(145deg, #ff9433, var(--orange));
  box-shadow: 0 12px 25px rgba(255, 121, 0, 0.22);
  font-size: 2rem;
  font-weight: 900;
}

.drop-zone strong {
  font-size: 1.1rem;
}

.drop-zone span {
  margin-top: 5px;
  color: var(--muted);
}

.drop-zone small {
  margin-top: 15px;
  color: #6e7889;
}

.file-preview {
  display: grid;
  grid-template-columns: 116px 1fr;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border: 1px solid rgba(13, 110, 253, 0.16);
  border-radius: 20px;
  background: #f8fbff;
}

.file-preview img {
  width: 116px;
  height: 116px;
  border-radius: 14px;
  object-fit: cover;
  background: #e8edf4;
}

.file-meta {
  min-width: 0;
}

.file-meta strong,
.file-meta span {
  display: block;
}

.file-meta strong {
  overflow: hidden;
  color: var(--dark-blue);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-meta span {
  margin: 5px 0 11px;
  color: var(--muted);
  font-size: 0.8rem;
}

.supporting-documents {
  display: grid;
  gap: 11px;
  margin-top: 20px;
}

.supporting-documents-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 2px;
}

.supporting-documents-heading strong {
  color: var(--dark-blue);
  font-size: 0.92rem;
}

.supporting-documents-heading small {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.supporting-upload {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(13, 110, 253, 0.18);
  border-radius: 15px;
  background: #f8fbff;
}

.supporting-upload:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.supporting-upload-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #0753b8;
  background: #e6f1ff;
  font-size: 0.68rem;
  font-weight: 900;
}

.supporting-upload-copy {
  min-width: 0;
}

.supporting-upload-copy strong,
.supporting-upload-copy small {
  display: block;
}

.supporting-upload-hint {
  display: block;
  margin-top: 4px;
  color: #52657f;
  font-size: 0.7rem;
  line-height: 1.4;
}

.supporting-upload-copy strong {
  color: var(--dark-blue);
  font-size: 0.83rem;
}

.supporting-upload-copy small {
  overflow: hidden;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.supporting-upload-copy small.selected {
  color: #087647;
  font-weight: 800;
}

.supporting-upload input[type="file"] {
  grid-column: 1 / -1;
  width: 100%;
  color: var(--muted);
  font: inherit;
  font-size: 0.74rem;
}

.supporting-upload input[type="file"]::file-selector-button {
  margin-right: 10px;
  border: 0;
  border-radius: 8px;
  padding: 8px 11px;
  color: white;
  background: var(--blue);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.text-button {
  padding: 0;
  border: none;
  color: var(--blue);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
}

.text-button:hover {
  text-decoration: underline;
}

.privacy-notice {
  margin-top: 20px;
  padding: 17px 18px;
  border-left: 4px solid var(--orange);
  border-radius: 13px;
  color: #4e586a;
  background: var(--light-orange);
}

.privacy-notice strong {
  display: block;
  margin-bottom: 5px;
  color: var(--dark-blue);
  font-size: 0.87rem;
}

.privacy-notice p {
  font-size: 0.78rem;
  line-height: 1.55;
}

.consent-check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin: 18px 0;
  color: #475467;
  cursor: pointer;
  font-size: 0.82rem;
  line-height: 1.5;
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--blue);
}

.form-status {
  min-height: 20px;
  margin-bottom: 10px;
  color: #b42318;
  font-size: 0.84rem;
  font-weight: 700;
}

.form-status.success {
  color: #087647;
}

.analyze-button {
  width: 100%;
}

.analyze-button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.35);
  opacity: 0.52;
  transform: none;
}

.result-card {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 121, 0, 0.12), transparent 25%),
    white;
}

.empty-result,
.benefit-result {
  flex: 1;
}

.empty-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 390px;
  padding: 30px;
  color: var(--muted);
  text-align: center;
}

.result-placeholder {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 12px solid #e6f1ff;
  border-radius: 50%;
  color: #a3b9d6;
  background: #f4f9ff;
  font-size: 2.6rem;
  font-weight: 900;
}

.empty-result h4 {
  margin-bottom: 9px;
  color: var(--dark-blue);
  font-size: 1.25rem;
}

.empty-result p {
  max-width: 330px;
  line-height: 1.6;
}

.benefit-result {
  text-align: center;
}

.result-eyebrow {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.average-score {
  margin: 4px 0 8px;
  color: var(--blue);
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1;
}

.confidence-chip {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: #175cd3;
  background: #eaf2ff;
  font-size: 0.7rem;
  font-weight: 800;
}

.award-panel {
  margin-top: 22px;
  padding: 26px 22px;
  border-radius: 22px;
  color: white;
  background: linear-gradient(145deg, #08245a, var(--blue));
  box-shadow: 0 18px 34px rgba(13, 110, 253, 0.2);
}

.award-star {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 50%;
  color: #7d4700;
  background: linear-gradient(145deg, #ffe786, #ffb821);
  font-size: 1.35rem;
}

.award-panel p {
  color: #d9eaff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.award-panel h4 {
  margin: 7px 0;
  color: white;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.award-panel > span:last-child {
  color: #e7f1ff;
  font-size: 0.85rem;
}

.analysis-note {
  min-height: 20px;
  margin: 16px 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.result-action {
  width: 100%;
}

.reset-button {
  margin-top: 18px;
}

.scholarship-chat-card {
  background:
    radial-gradient(circle at 94% 7%, rgba(13, 110, 253, 0.12), transparent 26%),
    white;
}

.scholarship-chat-card.scholarship-chat-locked {
  border-style: dashed;
  background: #fbfdff;
}

.scholarship-chat-context {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  padding: 13px 15px;
  border: 1px solid #c9dcfa;
  border-radius: 16px;
  color: #123466;
  background: #edf5ff;
}

.scholarship-chat-context > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #784600;
  background: linear-gradient(145deg, #ffe996, #ffc33b);
  font-weight: 900;
}

.scholarship-chat-context small,
.scholarship-chat-context strong {
  display: block;
}

.scholarship-chat-context small {
  margin-bottom: 3px;
  color: #52709a;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.scholarship-chat-context strong {
  font-size: 0.83rem;
  line-height: 1.4;
}

.scholarship-chat-log {
  display: flex;
  min-height: 190px;
  max-height: 340px;
  flex-direction: column;
  gap: 11px;
  overflow-y: auto;
  padding: 18px;
  border: 1px solid #e4eaf3;
  border-radius: 18px;
  background: #f7f9fc;
  scrollbar-color: #aec5e8 transparent;
}

.scholarship-chat-message {
  display: flex;
  max-width: 92%;
  gap: 9px;
  align-items: flex-start;
}

.scholarship-chat-message p {
  margin: 0;
  padding: 11px 13px;
  border-radius: 5px 15px 15px;
  color: #344054;
  background: white;
  box-shadow: 0 5px 13px rgba(9, 31, 77, 0.07);
  font-size: 0.8rem;
  line-height: 1.55;
}

.assistant-avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  color: white;
  background: linear-gradient(145deg, var(--blue), #074795);
  font-size: 0.75rem;
  font-weight: 900;
}

.user-message {
  align-self: flex-end;
  justify-content: flex-end;
}

.user-message p {
  border-radius: 15px 5px 15px 15px;
  color: white;
  background: var(--blue);
}

.scholarship-chat-form {
  margin-top: 15px;
}

.scholarship-chat-form > label {
  display: block;
  margin-bottom: 7px;
  color: var(--dark-blue);
  font-size: 0.8rem;
  font-weight: 900;
}

.scholarship-chat-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 9px;
}

.scholarship-chat-composer input,
.scholarship-chat-composer select {
  min-width: 0;
  width: 100%;
  border: 1px solid #cfd8e6;
  border-radius: 13px;
  padding: 0.78rem 0.85rem;
  color: #101828;
  background: white;
  font: inherit;
  font-size: 0.82rem;
}

.scholarship-chat-composer input:focus,
.scholarship-chat-composer select:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(13, 110, 253, 0.12);
}

.chat-send-button {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 13px;
  color: white;
  background: linear-gradient(145deg, var(--orange), #dd6500);
  box-shadow: 0 8px 17px rgba(255, 121, 0, 0.2);
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 900;
}

.chat-send-button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.chat-skip-button {
  margin-top: 9px;
}

.scholarship-chat-status {
  min-height: 19px;
  margin-top: 8px;
  color: #b42318;
  font-size: 0.75rem;
  font-weight: 800;
}

.scholarship-chat-review,
.scholarship-ticket {
  margin-top: 16px;
  border-radius: 18px;
}

.scholarship-chat-review {
  padding: 19px;
  border: 1px solid #d7e2f1;
  background: #f8fbff;
}

.scholarship-chat-review h4 {
  margin-bottom: 14px;
  color: var(--dark-blue);
}

.scholarship-chat-review dl,
.scholarship-ticket dl {
  display: grid;
  gap: 10px;
}

.scholarship-chat-review dl > div,
.scholarship-ticket dl > div {
  display: grid;
  grid-template-columns: minmax(100px, 0.75fr) minmax(0, 1.25fr);
  gap: 12px;
  align-items: start;
}

.scholarship-chat-review dt,
.scholarship-ticket dt {
  color: #667085;
  font-size: 0.72rem;
  font-weight: 800;
}

.scholarship-chat-review dd,
.scholarship-ticket dd {
  overflow-wrap: anywhere;
  color: #1d2939;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: right;
}

.scholarship-chat-review-actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  text-align: center;
}

.scholarship-ticket {
  overflow: hidden;
  border: 1px solid #b7dfca;
  background: white;
  box-shadow: 0 15px 30px rgba(8, 118, 71, 0.12);
}

.scholarship-ticket-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 18px;
  color: white;
  background: linear-gradient(145deg, #08623d, #0a8c58);
}

.scholarship-ticket-heading > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #08623d;
  background: white;
  font-weight: 900;
}

.scholarship-ticket-heading small,
.scholarship-ticket-heading h4 {
  display: block;
  color: white;
}

.scholarship-ticket-heading small {
  margin-bottom: 2px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.scholarship-ticket-heading h4 {
  font-size: 1.05rem;
}

.scholarship-ticket dl {
  padding: 18px;
}

.scholarship-ticket .ticket-price-row {
  margin-top: 3px;
  padding-top: 12px;
  border-top: 1px dashed #cfd8e6;
}

.scholarship-ticket .ticket-price-row dd {
  color: #087647;
  font-size: 1.05rem;
}

.scholarship-ticket > p {
  margin: 0;
  padding: 0 18px 18px;
  color: #667085;
  font-size: 0.7rem;
  line-height: 1.5;
}

.scholarship-registration {
  margin-top: 30px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(13, 110, 253, 0.16);
  border-radius: 28px;
  background: white;
  box-shadow: 0 20px 48px rgba(9, 31, 77, 0.1);
  scroll-margin-top: 110px;
}

.registration-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 30px;
  align-items: start;
}

.registration-summary {
  position: sticky;
  top: 110px;
  padding: 30px;
  border-radius: 23px;
  color: white;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 184, 33, 0.26), transparent 30%),
    linear-gradient(145deg, #08245a, #0753b8);
}

.saved-document-badge {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  color: #07553b;
  background: #dff9ed;
  font-size: 0.72rem;
  font-weight: 900;
}

.registration-summary h4 {
  margin: 20px 0 13px;
  color: white;
  font-size: 1.45rem;
  line-height: 1.25;
}

.registration-summary > strong {
  display: block;
  margin-bottom: 14px;
  color: #ffd76a;
  font-size: 1.1rem;
}

.registration-summary p {
  color: #d6e7ff;
  font-size: 0.85rem;
  line-height: 1.65;
}

.scholarship-contract-form {
  display: grid;
  gap: 20px;
}

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

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

.scholarship-contract-form > label,
.contract-fields label,
.contract-location label:not(.location-choice) {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 0.84rem;
  font-weight: 800;
}

.scholarship-contract-form label > span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
}

.scholarship-contract-form input,
.scholarship-contract-form select,
.scholarship-contract-form textarea {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 11px;
  color: #101828;
  background: white;
  padding: 0.78rem 0.85rem;
  font: inherit;
  font-weight: 500;
}

.scholarship-contract-form textarea {
  resize: vertical;
}

.scholarship-contract-form input:focus,
.scholarship-contract-form select:focus,
.scholarship-contract-form textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(13, 110, 253, 0.12);
}

.contract-location {
  margin: 0;
  border: 1px solid #e4e7ec;
  border-radius: 18px;
  padding: 20px;
}

.contract-location legend {
  padding: 0 7px;
  color: var(--dark-blue);
  font-size: 0.9rem;
  font-weight: 900;
}

.location-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.location-choice {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  align-items: start;
  border: 1px solid #d0d5dd;
  border-radius: 13px;
  padding: 13px;
  cursor: pointer;
}

.location-choice:has(input:checked) {
  border-color: var(--blue);
  background: #eff6ff;
}

.location-choice input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--blue);
}

.location-choice strong,
.location-choice small {
  display: block;
}

.location-choice strong {
  color: var(--dark-blue);
  font-size: 0.82rem;
}

.location-choice small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.4;
}

.current-location-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: #f8fafc;
}

.current-location-panel[hidden] {
  display: none;
}

.location-button {
  border: 0;
  border-radius: 9px;
  color: white;
  background: var(--blue);
  padding: 0.7rem 0.85rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.location-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

#locationStatus {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

#locationStatus.success {
  color: #087647;
  font-weight: 800;
}

.contract-form-status {
  min-height: 21px;
  margin: 0;
  color: #b42318;
  font-size: 0.84rem;
  font-weight: 700;
}

.contract-form-status.success {
  color: #087647;
}

.submit-contract {
  width: 100%;
}

.submit-contract:disabled {
  cursor: wait;
  opacity: 0.65;
}

.contract-success {
  grid-column: 2;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 35px;
  border: 1px solid #abefc6;
  border-radius: 22px;
  color: #07553b;
  background: #ecfdf3;
  text-align: center;
}

.contract-success > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  border-radius: 50%;
  color: white;
  background: #17b26a;
  font-size: 1.5rem;
  font-weight: 900;
}

.contract-success h4 {
  margin-bottom: 9px;
  color: #07553b;
  font-size: 1.45rem;
}

.contract-success p {
  max-width: 480px;
  line-height: 1.6;
}

.requirements-section {
  padding: 95px 0;
  background: white;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.requirements-grid article {
  padding: 32px;
  border: 1px solid rgba(13, 110, 253, 0.13);
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff, #f8fbff);
  box-shadow: 0 14px 32px rgba(9, 31, 77, 0.07);
}

.requirements-grid article > span {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 18px;
  color: white;
  background: linear-gradient(145deg, #ff9433, var(--orange));
  font-size: 1.45rem;
  font-weight: 900;
}

.requirements-grid h3 {
  margin-bottom: 10px;
  color: var(--dark-blue);
}

.requirements-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.promotion-terms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 30px;
  padding: 20px 24px;
  border-radius: 18px;
  color: white;
  background: var(--dark-blue);
  font-size: 0.82rem;
}

.promotion-terms span {
  color: #cedcf4;
}

.scholarship-footer {
  padding-top: 55px;
}

.scholarship-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 48px;
}

.scholarship-footer .footer-logo {
  width: fit-content;
}

@media (max-width: 1080px) {
  .scholarship-hero-grid {
    grid-template-columns: 1fr 430px;
    gap: 36px;
  }

  .scholarship-copy h1 {
    font-size: clamp(2.6rem, 5vw, 4rem);
  }
}

@media (max-width: 950px) {
  .scholarship-hero {
    padding-top: 125px;
  }

  .scholarship-hero-grid,
  .evaluation-grid,
  .registration-layout {
    grid-template-columns: 1fr;
  }

  .scholarship-copy {
    text-align: center;
  }

  .scholarship-copy h1,
  .hero-description {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  .benefit-board {
    max-width: 650px;
    margin: 0 auto;
  }

  .result-card {
    min-height: 560px;
  }

  .registration-summary {
    position: static;
  }

  .contract-success {
    grid-column: 1;
  }
}

@media (max-width: 720px) {
  .scholarship-hero {
    padding-bottom: 70px;
  }

  .scholarship-copy h1 {
    font-size: clamp(2.55rem, 12vw, 3.7rem);
  }

  .benefit-board {
    padding: 20px;
    border-radius: 24px;
  }

  .tier-row {
    grid-template-columns: 35px 1fr;
  }

  .tier-row b {
    grid-column: 2;
    margin-top: -7px;
    text-align: left;
  }

  .evaluation-section,
  .requirements-section {
    padding: 70px 0;
  }

  .evaluation-grid {
    gap: 20px;
  }

  .evaluation-side-column {
    gap: 20px;
  }

  .requirements-grid,
  .scholarship-footer-grid {
    grid-template-columns: 1fr;
  }

  .contract-fields,
  .location-choice-grid {
    grid-template-columns: 1fr;
  }

  .contract-field-wide {
    grid-column: auto;
  }

  .requirements-grid {
    gap: 16px;
  }

  .promotion-terms {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust {
    align-items: center;
    flex-direction: column;
  }

  .benefit-board-header {
    align-items: flex-start;
  }

  .file-preview {
    grid-template-columns: 82px 1fr;
  }

  .file-preview img {
    width: 82px;
    height: 82px;
  }

  .upload-card,
  .result-card,
  .scholarship-chat-card {
    padding: 24px 19px;
  }

  .scholarship-chat-review dl > div,
  .scholarship-ticket dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .scholarship-chat-review dd,
  .scholarship-ticket dd {
    text-align: left;
  }

  .drop-zone {
    min-height: 220px;
    padding: 22px 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .drop-zone,
  .tier-row,
  .btn {
    transition: none;
  }
}
