@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --brand: #FF6B00;
  --brand-dark: #D45200;
  --brand-light: #FFF3E8;
  --brand-glow: rgba(255,107,0,.18);
  --bg: #F7F8FC;
  --surface: #FFFFFF;
  --surface-2: #F1F4FB;
  --border: #E4E8F2;
  --ink: #0D1321;
  --ink-2: #3B4560;
  --ink-3: #7B87A0;
  --green: #12B76A;
  --green-bg: #ECFDF5;
  --red: #D92D20;
  --red-bg: #FFF1F0;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 8px rgba(13,19,33,.06);
  --shadow-md: 0 8px 28px rgba(13,19,33,.10);
  --shadow-lg: 0 20px 60px rgba(13,19,33,.12);
  --font-head: 'DM Sans', Arial, sans-serif;
  --font-body: 'DM Sans', Arial, sans-serif;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--brand);
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.portal-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--border);
}

.topbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-logo img {
  height: 40px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}

.topbar-logo-fallback {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
}

.topbar-brand {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.3px;
}

.topbar-brand span { color: var(--brand); }

.topbar-mac {
  font-size: 13px;
  color: var(--ink-3);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   HERO SECTION — opportunities.css style
   ============================================================ */

.hero-slider {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #c2410c 0%, #f97316 55%, #fb923c 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: 0 16px 40px rgba(234,88,12,.30);
  margin: 20px 0;
}

/* Decorative circles */
.hero-slider::before,
.hero-slider::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: .10;
  pointer-events: none;
  background: #ffffff;
}

.hero-slider::before {
  width: 320px;
  height: 320px;
  top: -120px;
  right: 40px;
}

.hero-slider::after {
  width: 180px;
  height: 180px;
  bottom: -80px;
  right: 260px;
}

/* Inner flex row: left content ↔ right stats */
.hero-slider-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-slider-left {
  flex: 1;
  min-width: 0;
}

/* Eyebrow pill */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffc89e;
  animation: heroBlink 2s ease infinite;
  flex-shrink: 0;
}

@keyframes heroBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .25; }
}

/* Heading */
.hero-slider h1 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.18;
  margin-bottom: 10px;
  color: #ffffff;
}

/* White → semi-transparent accent word (mirrors .opp-hero-accent) */
.hero-accent {
  color: rgba(255,255,255,.70);
}

/* Subtitle paragraph */
.hero-sub {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,.82);
  max-width: 480px;
  margin-bottom: 0;
}

/* Stats bar (right side) */
.hero-stats {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 14px 22px;
  min-width: 80px;
  transition: background .2s;
}

.hero-stat:hover {
  background: rgba(255,255,255,.20);
}

.hero-stat-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #ffffff;
  line-height: 1;
}

.hero-stat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  white-space: nowrap;
}

/* Nav controls (multi-event carousel) */
.hero-slider-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
}

/* ============================================================
   END HERO SECTION
   ============================================================ */

.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  margin-bottom: 20px;
  animation: fadeSlideDown .3s ease;
}

.alert i {
  font-size: 16px;
  margin-top: 1px;
  flex-shrink: 0;
}

.alert-error {
  background: var(--red-bg);
  color: var(--red);
  border: 1px solid #FFCDD2;
}

.alert-success {
  background: var(--green-bg);
  color: #0A6640;
  border: 1px solid #B7EBD3;
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.main-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

.plans-grid {
  display: grid;
  gap: 14px;
}

.plan-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  padding: 20px;
  display: flex;
  gap: 18px;
  align-items: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.plan-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: transparent;
  border-radius: 4px 0 0 4px;
  transition: background var(--transition);
}

.plan-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.plan-card:hover::before,
.plan-card.selected::before {
  background: var(--brand);
}

.plan-card.selected {
  border-color: var(--brand);
  background: var(--brand-light);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

.plan-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--brand-light);
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--brand);
  flex-shrink: 0;
  transition: all var(--transition);
}

.plan-card.selected .plan-icon,
.plan-card:hover .plan-icon {
  background: var(--brand);
  color: #fff;
}

.plan-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.plan-body {
  flex: 1;
  min-width: 0;
}

.plan-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.badge-discount {
  font-size: 11px;
  font-weight: 700;
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid #A7F3D0;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: .3px;
}

.plan-meta {
  font-size: 13px;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.plan-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.plan-meta i {
  color: var(--brand);
  font-size: 11px;
}

.plan-pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.old-price {
  font-size: 13px;
  color: var(--ink-3);
  text-decoration: line-through;
}

.final-price {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--green);
}

.plan-select-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  display: grid;
  place-items: center;
  color: transparent;
  font-size: 11px;
  flex-shrink: 0;
  transition: all var(--transition);
}

.plan-card.selected .plan-select-indicator {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.empty-plans {
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  text-align: center;
  color: var(--ink-3);
}

.empty-plans i {
  font-size: 36px;
  display: block;
  margin-bottom: 12px;
  opacity: .4;
}

.form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 20px;
}

.form-card-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-card-title i {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-light);
  display: grid;
  place-items: center;
  color: var(--brand);
  font-size: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 7px;
  letter-spacing: .1px;
}

.form-control {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

.form-control::placeholder { color: var(--ink-3); }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237B87A0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 38px;
}

.selected-plan-preview {
  background: var(--brand-light);
  border: 1.5px solid rgba(255,107,0,.2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 18px;
  display: none;
}

.selected-plan-preview.visible {
  display: flex;
  align-items: center;
  gap: 10px;
}

.selected-plan-preview .preview-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  flex: 1;
}

.selected-plan-preview .preview-price {
  font-weight: 800;
  font-size: 16px;
  color: var(--brand);
  font-family: var(--font-head);
}

.upload-area {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: 16px;
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
  background: #FAFBFF;
}

.upload-area:hover,
.upload-area.drag-over,
.upload-area:focus {
  border-color: var(--brand);
  background: rgba(255,107,0,.04);
  box-shadow: 0 0 0 3px var(--brand-glow);
  outline: none;
}

.upload-icon {
  font-size: 34px;
  color: var(--brand);
  margin-bottom: 10px;
  display: block;
}

.upload-label-main {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}

.upload-label-sub {
  font-size: 12px;
  color: var(--ink-3);
  display: block;
}

.upload-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
  flex-wrap: wrap;
}

.upload-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--ink);
  transition: all .17s;
}

.upload-action-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-light);
}

.receipt-preview-wrap {
  display: none;
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  position: relative;
  background: #000;
}

.receipt-preview-wrap.visible {
  display: block;
}

.receipt-preview-wrap img {
  display: block;
  width: 100%;
  max-height: 240px;
  object-fit: contain;
}

.receipt-preview-clear {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0,0,0,.6);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: background .17s;
}

.receipt-preview-clear:hover {
  background: #E53935;
}

.receipt-preview-name {
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 6px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.field-hint {
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-submit {
  width: 100%;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  padding: 14px;
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-body);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition);
  letter-spacing: .2px;
}

.btn-submit:hover:not(:disabled) {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,107,0,.35);
}

.btn-submit:disabled {
  background: #CBD5E1;
  cursor: not-allowed;
}

.form-note {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--brand);
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}

.form-note strong { color: var(--ink); }

.steps-bar {
  display: flex;
  gap: 0;
  margin-bottom: 22px;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
}

.step::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step:last-child::after { display: none; }

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}

.step.active .step-dot {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.step-label {
  display: block;
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 5px;
  font-weight: 600;
  letter-spacing: .3px;
}

.success-panel {
  display: none;
  text-align: center;
  padding: 32px 20px;
}

.success-panel.visible { display: block; }

.success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--green-bg);
  border: 3px solid #A7F3D0;
  color: var(--green);
  font-size: 30px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  animation: popIn .4s cubic-bezier(.175,.885,.32,1.275);
}

@keyframes popIn {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.success-panel h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.success-panel p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto 20px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid var(--brand);
  background: transparent;
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-body);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-outline:hover {
  background: var(--brand);
  color: #fff;
}

.portal-footer {
  text-align: center;
  padding: 24px 0 0;
  color: var(--ink-3);
  font-size: 13px;
  border-top: 1px solid var(--border);
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-mac {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 12px;
  font-family: monospace;
  color: var(--ink-2);
}

@keyframes shimmer {
  0% { background-position: -700px 0; }
  100% { background-position: 700px 0; }
}

.skeleton {
  background: linear-gradient(90deg, #f0f4f8 25%, #e2e8f0 50%, #f0f4f8 75%);
  background-size: 700px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .main-grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    position: static;
  }

  .hero-slider {
    padding: 24px;
  }

  .hero-slider h1 {
    font-size: 22px;
  }

  .hero-stats {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-slider {
    padding: 20px;
  }

  .hero-slider-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats {
    width: 100%;
  }

  .hero-stat {
    flex: 1;
    min-width: 0;
    padding: 12px 10px;
  }

  .hero-stat-num {
    font-size: 22px;
  }

  .hero-slider-actions {
    width: 100%;
  }
}

@media (max-width: 580px) {
  .portal-wrap {
    padding: 0 14px 36px;
  }

  .topbar-mac {
    display: none;
  }

  .form-card {
    padding: 22px;
  }

  .plan-card {
    padding: 16px;
    gap: 14px;
  }

  .plan-icon,
  .plan-logo {
    width: 48px;
    height: 48px;
  }

  .upload-actions {
    flex-direction: column;
  }

  .upload-action-btn {
    width: 100%;
  }

  .portal-footer {
    flex-direction: column;
    gap: 10px;
  }
}