* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f8f9fc;
  color: #1a1a2e;
  min-height: 100vh;
  line-height: 1.5;
}
.page-wrapper { min-height: 100vh; display: flex; flex-direction: column; }

/* Uploaded banner: preserve the complete artwork at every screen size. */
.hero {
  position: relative;
  background: #f8f9fc;
  overflow: hidden;
}
.site-banner { display: block; width: 100%; height: auto; }

/* Container */
.container { max-width: 800px; margin: 32px auto 40px; padding: 0 20px; position: relative; z-index: 10; flex: 1; }

/* Cards */
.card-modern {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  margin-bottom: 20px;
}
.card-header { margin-bottom: 30px; text-align: center; }
.card-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #cc0000 0%, #7a0000 100%);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 15px;
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}
.card-header h2 { font-size: 26px; font-weight: 700; color: #1a1a2e; margin-bottom: 5px; }
.card-header p { color: #666; font-size: 14px; }

/* Form Sections */
.form-section { margin-bottom: 30px; }
.section-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8eaf0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Form Grid */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { font-weight: 600; margin-bottom: 6px; font-size: 13px; color: #333; }
.required { color: #cc0000; }
.form-group input, .form-group select, .form-group textarea {
  padding: 11px 14px;
  border: 2px solid #e8eaf0;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s;
  background: #fafbfc;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: #0066cc;
  background: white;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}
.form-group textarea { resize: vertical; min-height: 70px; }

/* Application multi-select */
.multi-select { position: relative; width: 100%; }
.multi-select-trigger {
  width: 100%; min-height: 44px; padding: 9px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border: 2px solid #e8eaf0; border-radius: 10px; font-size: 14px; font-family: inherit; color: #333; text-align: left;
  background: #fafbfc; cursor: pointer; transition: all 0.2s;
}
.multi-select-trigger:focus, .multi-select.is-open .multi-select-trigger { outline: none; border-color: #0066cc; background: white; box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1); }
.multi-select.has-error .multi-select-trigger { border-color: #cc0000; }
.multi-select-arrow { color: #666; font-size: 11px; flex: 0 0 auto; }
.multi-select-menu { display: none; position: absolute; z-index: 20; top: calc(100% + 5px); left: 0; right: 0; max-height: 240px; overflow-y: auto; padding: 6px; border: 2px solid #e8eaf0; border-radius: 10px; background: #fff; box-shadow: 0 10px 25px rgba(26, 26, 46, 0.14); }
.multi-select.is-open .multi-select-menu { display: block; }
.application-option { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-radius: 7px; color: #333; font-size: 14px; cursor: pointer; }
.application-option:hover { background: #f0f6ff; }
.application-option input { width: 16px; height: 16px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; accent-color: #0066cc; cursor: pointer; }
.multi-select-chip { display: inline-flex; align-items: center; gap: 4px; max-width: 145px; padding: 4px 7px; border-radius: 6px; background: #e8f2ff; color: #0066cc; font-size: 12px; font-weight: 600; }
.multi-select-chip button { padding: 0; border: 0; color: #0066cc; background: transparent; font-size: 16px; line-height: 12px; cursor: pointer; }
.multi-select-summary { color: #333; font-weight: 600; }
.multi-select-trigger > span:first-child { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; min-width: 0; }
@media (max-width: 600px) { .multi-select-menu { max-height:  min(240px, 45vh); } .multi-select-chip { max-width: 125px; } }

/* Consent */
.consent-area { background: #f8f9fc; border-radius: 12px; padding: 18px; }
.consent-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; cursor: pointer; }
.consent-item:last-child { margin-bottom: 0; }
.consent-item input { margin-top: 4px; width: 18px; height: 18px; cursor: pointer; }
.consent-text { font-size: 14px; color: #555; line-height: 1.5; }
.consent-text a { color: #0066cc; }

/* Buttons */
.form-actions { display: flex; justify-content: center; gap: 15px; margin-top: 25px; }
.btn-submit, .btn-prev {
  padding: 14px 40px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.btn-submit {
  background: linear-gradient(135deg, #0066cc 0%, #003d7a 100%);
  color: white;
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0, 102, 204, 0.4); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-prev { background: #f0f0f0; color: #333; }
.btn-prev:hover { background: #e0e0e0; }

/* Review */
.review-content { background: #f8f9fc; border-radius: 12px; padding: 25px; }
.review-section { margin-bottom: 20px; }
.review-section:last-child { margin-bottom: 0; }
.review-section-title { font-weight: 700; color: #0066cc; margin-bottom: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.review-row { display: flex; padding: 8px 0; border-bottom: 1px solid #e8eaf0; }
.review-row:last-child { border: none; }
.review-lbl { font-weight: 600; color: #666; min-width: 160px; }
.review-val { color: #1a1a2e; }

/* Success */
.success-icon-wrapper { text-align: center; margin-bottom: 20px; }
.success-checkmark {
  display: inline-flex;
  width: 80px; height: 80px;
  background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
  color: white;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 800;
  box-shadow: 0 15px 40px rgba(40, 167, 69, 0.4);
  animation: bounceIn 0.6s ease;
}
@keyframes bounceIn { 0% { transform: scale(0); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }
#successSection { text-align: center; }
#successSection h2 { font-size: 30px; font-weight: 800; color: #1a1a2e; margin-bottom: 15px; }
#successSection p { color: #666; font-size: 16px; line-height: 1.6; margin-bottom: 10px; }
.success-sub { font-size: 14px !important; color: #999 !important; margin-bottom: 30px !important; }

/* Footer */
.footer { text-align: center; padding: 30px 20px; color: #999; font-size: 13px; }
