/* ── VARIABLES ───────────────────────────────────────────────────── */
.pds-form {
  --navy:   #0d1b2a;
  --navy2:  #152536;
  --navy3:  #1e3347;
  --gold:   #e8912a;
  --gold2:  #f5a93e;
  --white:  #ffffff;
  --text:   #1a2940;
  --text2:  #4a6278;
  --mute:   #8a9bac;
  --line:   #dde4ea;
  --bg:     #f4f7fa;
  --card:   #ffffff;
  --red:    #e84242;
  --green:  #22c55e;
  --radius: 12px;
  --rsm:    8px;
  font-family: 'Open Sans', sans-serif;
  max-width: 720px;
  margin: 0 auto;
  color: var(--text);
}
.pds-form *, .pds-form *::before, .pds-form *::after { box-sizing: border-box; }

/* ── HERO ──────────────────────────────────────────────────────────── */
.pds-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 60%, var(--navy3) 100%);
  border-radius: 16px; padding: 2.5rem; margin-bottom: 1.5rem;
  position: relative; overflow: hidden;
}
.pds-hero::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  border: 1px solid rgba(232,145,42,0.15);
}
.pds-hero::after {
  content: ''; position: absolute; top: -20px; right: -20px;
  width: 110px; height: 110px; border-radius: 50%;
  border: 1px solid rgba(232,145,42,0.25);
}
.pds-hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.pds-hero-tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px; background: rgba(232,145,42,0.12);
  border: 1px solid rgba(232,145,42,0.3); border-radius: 30px;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); font-family: 'Raleway', sans-serif; font-weight: 600;
  margin-bottom: 1.1rem;
}
.pds-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pds-pulse 2s infinite; display: inline-block; }
@keyframes pds-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.75)} }
.pds-hero h1 { font-family: 'Raleway', sans-serif; font-size: 38px; font-weight: 800; color: var(--white); line-height: 1.05; letter-spacing: -.5px; margin: 0 0 .6rem; }
.pds-hero h1 span { color: var(--gold); }
.pds-hero p { font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 300; line-height: 1.7; max-width: 400px; margin: 0; }
.pds-hero-stat { background: rgba(255,255,255,0.05); border: 1px solid rgba(232,145,42,0.2); border-radius: 10px; padding: .9rem 1.2rem; text-align: center; flex-shrink: 0; }
.pds-hero-stat-n { font-family: 'Raleway', sans-serif; font-size: 26px; font-weight: 800; color: var(--gold); line-height: 1; }
.pds-hero-stat-l { font-size: 9px; color: rgba(255,255,255,0.4); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 3px; }

/* ── STEP BAR ──────────────────────────────────────────────────────── */
.pds-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-bottom: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.pds-step { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 12px 8px; border-right: 1px solid var(--line); font-family: 'Raleway', sans-serif; font-size: 10px; font-weight: 600; color: var(--mute); letter-spacing: .3px; text-transform: uppercase; position: relative; }
.pds-step:last-child { border-right: none; }
.pds-step-n { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: var(--mute); }
.pds-step.active { background: var(--navy); color: var(--white); }
.pds-step.active .pds-step-n { background: var(--gold); border-color: var(--gold); color: var(--white); }
.pds-step.active::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--gold); }
.pds-step.done { background: #f0fdf4; color: #166534; }
.pds-step.done .pds-step-n { background: var(--green); border-color: var(--green); color: var(--white); }

/* ── CARDS ─────────────────────────────────────────────────────────── */
.pds-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; margin-bottom: 1.1rem; position: relative; transition: box-shadow .2s, border-color .2s; }
.pds-card:hover { box-shadow: 0 4px 28px rgba(13,27,42,0.08); border-color: #c8d4de; }
.pds-card-top-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold2), transparent); border-radius: var(--radius) var(--radius) 0 0; }
.pds-card-head { display: flex; align-items: center; gap: 13px; margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--bg); }
.pds-card-icon { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--navy), var(--navy3)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 12px rgba(13,27,42,0.2); }
.pds-card-icon svg { width: 17px; height: 17px; }
.pds-card-step { font-family: 'Raleway', sans-serif; font-size: 10px; font-weight: 700; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 2px; }
.pds-card-title { font-family: 'Raleway', sans-serif; font-size: 15px; font-weight: 700; color: var(--navy); letter-spacing: -.1px; }
.pds-card-desc { font-size: 11px; color: var(--mute); margin-top: 2px; }

/* ── GRIDS ─────────────────────────────────────────────────────────── */
.pds-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pds-g1 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.pds-full { grid-column: 1 / -1; }

/* ── FIELDS ────────────────────────────────────────────────────────── */
.pds-fg { display: flex; flex-direction: column; gap: 6px; }
.pds-lbl { font-size: 10.5px !important; font-weight: 700 !important; font-family: 'Raleway', sans-serif !important; letter-spacing: .8px !important; color: var(--text2) !important; text-transform: uppercase !important; display: flex !important; align-items: center !important; gap: 5px !important; margin: 0 !important; }
.pds-req { color: var(--red); font-size: 14px; line-height: 1; font-weight: 400; }

/* ── INPUTS ────────────────────────────────────────────────────────── */
.pds-form .pds-input,
.pds-form .pds-select,
.pds-form .pds-textarea {
  width: 100%; padding: 11px 15px;
  font-family: 'Open Sans', sans-serif; font-size: 13.5px; font-weight: 400;
  color: var(--text); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: var(--rsm);
  outline: none; transition: all .2s; margin: 0;
}
.pds-form .pds-input:hover,
.pds-form .pds-select:hover,
.pds-form .pds-textarea:hover { border-color: #b0bec8; background: #eef2f6; }
.pds-form .pds-input:focus,
.pds-form .pds-select:focus,
.pds-form .pds-textarea:focus { background: var(--white); border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,145,42,0.12); }
.pds-form .pds-input.is-err,
.pds-form .pds-select.is-err { border-color: var(--red); box-shadow: 0 0 0 3px rgba(232,66,66,0.1); }
.pds-form .pds-textarea { resize: vertical; min-height: 105px; line-height: 1.65; }
.pds-form .pds-select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23e8912a' stroke-width='2.5' 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 14px center;
  padding-right: 40px; cursor: pointer;
}
.paf-err { font-size: 11px; color: var(--red); font-weight: 500; display: block; margin-top: 2px; }

/* ── UPLOAD ────────────────────────────────────────────────────────── */
.pds-upload { border: 2px dashed #c8d4de; border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; background: var(--bg); transition: all .2s; }
.pds-upload:hover { border-color: var(--gold); background: #fef9f3; }
.pds-upload.is-err { border-color: var(--red); }
.pds-upload-icon { width: 50px; height: 50px; margin: 0 auto 12px; background: linear-gradient(135deg, var(--navy), var(--navy3)); border-radius: 12px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(13,27,42,0.2); }
.pds-upload-icon svg { width: 22px; height: 22px; }
.pds-upload-title { font-family: 'Raleway', sans-serif; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.pds-upload-sub { font-size: 11px; color: var(--mute); margin-bottom: 14px; line-height: 1.6; }
.pds-file-input { display: block; margin: 0 auto; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--rsm); padding: 9px 16px; font-size: 12px; color: var(--text2); cursor: pointer; transition: border-color .2s; font-family: 'Open Sans', sans-serif; }
.pds-file-input:hover { border-color: var(--gold); }

/* ── SUCCESS ───────────────────────────────────────────────────────── */
.pds-success { background: #f0fdf4; border: 1.5px solid #86efac; border-radius: var(--radius); padding: 2rem; text-align: center; margin-bottom: 1.5rem; }
.pds-success-icon { width: 56px; height: 56px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; box-shadow: 0 6px 20px rgba(34,197,94,0.3); }
.pds-success-icon svg { width: 26px; height: 26px; }
.pds-success h2 { font-family: 'Raleway', sans-serif; font-size: 22px; font-weight: 800; color: #166534; margin-bottom: .4rem; }
.pds-success p { font-size: 13px; color: #4d7c5a; line-height: 1.7; }
.pds-reapply-link { font-family: 'Raleway', sans-serif; font-size: 12px; font-weight: 700; color: var(--gold); text-decoration: none; letter-spacing: .5px; text-transform: uppercase; }
.pds-reapply-link:hover { color: var(--gold2); }

/* ── ERROR BANNER ──────────────────────────────────────────────────── */
.pds-banner-err { background: #fff7ed; border: 1.5px solid #fdba74; border-radius: var(--rsm); padding: 14px 18px; font-size: 13px; color: #9a3412; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 8px; }
.pds-banner-err svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── SUBMIT ────────────────────────────────────────────────────────── */
.pds-footer { margin-top: 1.5rem; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pds-submit { font-family: 'Raleway', sans-serif !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: .5px !important; text-transform: uppercase !important; padding: 13px 34px !important; background: linear-gradient(135deg, var(--gold), var(--gold2)) !important; color: var(--white) !important; border: none !important; border-radius: var(--rsm) !important; cursor: pointer !important; transition: all .2s !important; box-shadow: 0 4px 16px rgba(232,145,42,0.35) !important; }
.pds-submit:hover { transform: translateY(-2px) !important; box-shadow: 0 8px 24px rgba(232,145,42,0.45) !important; }
.pds-submit:active { transform: translateY(0) !important; }
.pds-footer-secure { font-size: 11px; color: var(--mute); display: flex; align-items: center; gap: 5px; }
.pds-footer-secure svg { width: 12px; height: 12px; }

/* ── RESPONSIVE ────────────────────────────────────────────────────── */
@media (max-width: 580px) {
  .pds-g2 { grid-template-columns: 1fr; }
  .pds-hero h1 { font-size: 28px; }
  .pds-hero-top { flex-direction: column; }
  .pds-hero-stat { display: none; }
  .pds-card { padding: 1.25rem; }
  .pds-steps { grid-template-columns: repeat(2,1fr); }
}
