/**
 * Public employment application — Siyam Holidays brand
 */
.emp-apply-page {
  --emp-primary: var(--panel-staff, var(--sh-primary, #1e5f9e));
  --emp-dark: var(--sh-dark, #0f2744);
  --emp-accent: var(--sh-accent, #0ea5e9);
  --emp-cta: var(--sh-cta, #e8762b);
  --emp-gold: #fbbf24;
  min-height: 100vh;
  margin: 0;
  font-family: Tahoma, sans-serif;
  color: #1e293b;
  background: var(--emp-dark);
  position: relative;
  overflow-x: hidden;
}

.emp-apply-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(14, 165, 233, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(232, 118, 43, 0.25), transparent 50%),
    linear-gradient(145deg, var(--emp-dark) 0%, var(--emp-primary) 45%, #0c4a6e 100%);
  pointer-events: none;
}

.emp-apply-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

.emp-office-hint {
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  font-size: 0.85rem;
  line-height: 1.45;
}

.emp-apply-wrap {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 40px;
}

/* Top bar */
.emp-apply-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 20px;
  flex-wrap: wrap;
}

.emp-apply-topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none !important;
}

.emp-apply-topbar-brand img {
  max-height: 44px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.emp-apply-topbar-brand span {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.emp-apply-topbar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.emp-apply-topbar-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.emp-apply-topbar-nav a:hover {
  background: rgba(251, 191, 36, 0.25);
  color: var(--emp-gold);
  transform: translateY(-1px);
}

.emp-apply-topbar-nav a.emp-nav-cta {
  background: var(--emp-cta);
  border-color: transparent;
  color: #fff;
}

.emp-apply-topbar-nav a.emp-nav-cta:hover {
  background: var(--sh-cta-hover, #d46920);
  color: #fff;
}

/* Grid */
.emp-apply-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 900px) {
  .emp-apply-grid {
    grid-template-columns: 260px 1fr 320px;
    gap: 20px;
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .emp-apply-grid {
    grid-template-columns: 280px 1fr 360px;
    gap: 24px;
  }
}

.emp-apply-grid--thanks .emp-apply-aside .emp-progress-ring-wrap,
.emp-apply-grid--thanks #stepListDesktop {
  display: none !important;
}

/* Status rail (right panel) */
.emp-status-rail {
  order: 3;
}

@media (max-width: 899px) {
  .emp-status-rail {
    order: 2;
  }
  .emp-apply-card {
    order: 1;
  }
  .emp-apply-aside.emp-aside-desktop {
    display: none;
  }
}

.emp-status-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  position: sticky;
  top: 16px;
}

.emp-status-card-head {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid #f1f5f9;
}

.emp-status-card-head i {
  color: var(--emp-primary);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.emp-status-card-head h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--emp-dark);
}

.emp-status-card-head p {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
}

.emp-status-empty {
  text-align: center;
  padding: 20px 8px;
  color: #64748b;
  font-size: 0.85rem;
}

.emp-status-empty i {
  font-size: 2rem;
  color: var(--emp-accent);
  margin-bottom: 10px;
  display: block;
}

.emp-status-error {
  font-size: 0.85rem;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 10px;
}

.emp-status-result-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.emp-status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.emp-status-badge--pending { background: #fef3c7; color: #92400e; }
.emp-status-badge--interview { background: #dbeafe; color: #1e40af; }
.emp-status-badge--approved { background: #d1fae5; color: #065f46; }
.emp-status-badge--hired { background: #bbf7d0; color: #14532d; }
.emp-status-badge--rejected { background: #fee2e2; color: #991b1b; }
.emp-status-badge--info { background: #e0f2fe; color: #0369a1; }

.emp-status-info-request {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #7dd3fc;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

.emp-status-info-request-title {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0c4a6e;
}

.emp-status-info-request-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #0f172a;
  white-space: pre-wrap;
}

.emp-resubmit-panel h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--emp-dark, #0f172a);
}

.emp-resubmit-ref {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  font-weight: 700;
  font-size: 0.82rem;
  color: #065f46;
}

.emp-resubmit-locked,
.emp-resubmit-data,
.emp-resubmit-upload {
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.emp-resubmit-data {
  background: #fff;
  border-color: #fde68a;
}

.emp-resubmit-upload {
  background: #fff;
  border-color: #bae6fd;
}

.emp-resubmit-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0 0 12px;
  font-size: 0.85rem;
}

.emp-resubmit-meta dt {
  margin: 0;
  font-weight: 600;
  color: #64748b;
}

.emp-resubmit-meta dd {
  margin: 0;
  color: #0f172a;
}

.emp-resubmit-locked-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin: 0 0 8px;
}

.emp-resubmit-locked-docs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.emp-resubmit-locked-doc {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-size: 0.82rem;
}

.emp-resubmit-doc-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
}

.emp-resubmit-lock-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
}

.emp-resubmit-history {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
  background: #fff;
}

.emp-resubmit-history--status {
  margin-top: 12px;
}

.emp-resubmit-history-title {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
}

.emp-resubmit-history-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.emp-resubmit-history-list li {
  padding: 8px 0;
  border-top: 1px solid #f1f5f9;
  font-size: 0.82rem;
}

.emp-resubmit-history-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.emp-resubmit-history-list li strong {
  display: block;
  color: #0f172a;
}

.emp-resubmit-history-list li span {
  color: #64748b;
}

.emp-status-ref-pill {
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  background: #f1f5f9;
  color: var(--emp-dark);
}

.emp-status-ref-pill--lg {
  font-size: 0.9rem;
  padding: 8px 14px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid #6ee7b7;
}

.emp-status-msg {
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 12px;
  line-height: 1.5;
}

.emp-status-meta {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 0.82rem;
}

.emp-status-meta div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
}

.emp-status-meta dt {
  color: #64748b;
  font-weight: 600;
  margin: 0;
}

.emp-status-meta dd {
  margin: 0;
  text-align: right;
  color: #1e293b;
}

.emp-status-timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.emp-status-step {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  position: relative;
  opacity: 0.45;
}

.emp-status-step.done {
  opacity: 1;
}

.emp-status-step.active {
  opacity: 1;
}

.emp-status-step.active .emp-status-step-dot {
  background: var(--emp-cta);
  box-shadow: 0 0 0 4px rgba(232, 118, 43, 0.25);
  animation: empPulse 1.5s ease infinite;
}

.emp-status-step.done .emp-status-step-dot {
  background: #10b981;
}

.emp-status-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 28px;
  bottom: -4px;
  width: 2px;
  background: #e2e8f0;
}

.emp-status-step.done:not(:last-child)::before {
  background: #6ee7b7;
}

.emp-status-step-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #cbd5e1;
  flex-shrink: 0;
  margin-top: 2px;
}

.emp-status-step-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.emp-status-step-body strong {
  font-size: 0.85rem;
  color: var(--emp-dark);
}

.emp-status-step-body span {
  font-size: 0.75rem;
  color: #64748b;
}

@keyframes empPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.emp-status-login-callout {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid #6ee7b7;
  border-radius: 12px;
  padding: 14px;
  margin-top: 12px;
  font-size: 0.88rem;
}

.emp-thanks-layout {
  padding: 8px 0;
}

.emp-thanks-main {
  max-width: 100%;
}

.emp-status-timeline--compact {
  margin: 16px 0;
  text-align: left;
}

.emp-sidebar-track {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
}

/* Sidebar */
.emp-apply-aside {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 20px;
  color: #fff;
}

.emp-progress-ring-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.emp-progress-ring {
  position: relative;
  width: 88px;
  height: 88px;
}

.emp-progress-ring svg {
  transform: rotate(-90deg);
  width: 88px;
  height: 88px;
}

.emp-progress-ring .ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 6;
}

.emp-progress-ring .ring-fill {
  fill: none;
  stroke: var(--emp-gold);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 251.2;
  stroke-dashoffset: 251.2;
  transition: stroke-dashoffset 0.4s ease;
}

.emp-progress-pct {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.emp-progress-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-top: 8px;
}

.emp-step-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.emp-step-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  opacity: 0.65;
  transition: opacity 0.2s;
}

.emp-step-list li:last-child {
  border-bottom: none;
}

.emp-step-list li.active {
  opacity: 1;
  font-weight: 600;
}

.emp-step-list li.done {
  opacity: 0.9;
}

.emp-step-list .emp-step-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.emp-step-list li.active .emp-step-icon {
  background: var(--emp-gold);
  border-color: var(--emp-gold);
  color: var(--emp-dark);
}

.emp-step-list li.done .emp-step-icon {
  background: #34d399;
  border-color: #34d399;
  color: #fff;
}

.emp-step-list li small {
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.35;
  margin-top: 2px;
}

.emp-feature-chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.emp-feature-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.emp-feature-chip i {
  color: var(--emp-gold);
  width: 18px;
  text-align: center;
}

/* Main card */
.emp-apply-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  animation: empCardIn 0.5s ease;
}

@keyframes empCardIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.emp-apply-hero {
  position: relative;
  padding: 32px 28px 28px;
  background: linear-gradient(135deg, var(--emp-dark) 0%, var(--emp-primary) 70%, var(--emp-accent) 130%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.emp-apply-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: var(--emp-cta);
  opacity: 0.2;
  border-radius: 50%;
}

.emp-apply-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(251, 191, 36, 0.25);
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: var(--emp-gold);
  margin-bottom: 12px;
}

.emp-apply-hero h1 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 8px;
  position: relative;
}

.emp-apply-hero .emp-intro {
  font-size: 0.95rem;
  opacity: 0.92;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.5;
  position: relative;
}

.emp-apply-body {
  padding: 24px 24px 28px;
}

@media (min-width: 576px) {
  .emp-apply-body {
    padding: 28px 32px 32px;
  }
}

/* Progress bar (mobile) */
.emp-apply-progress-bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  margin-bottom: 20px;
  overflow: hidden;
}

.emp-apply-progress-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--emp-primary), var(--emp-accent), var(--emp-cta));
  transition: width 0.4s ease;
}

/* Step pills (mobile horizontal scroll) */
.emp-step-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 20px;
  scrollbar-width: thin;
}

@media (min-width: 900px) {
  .emp-step-pills {
    display: none;
  }
}

.emp-step-pill {
  flex-shrink: 0;
  font-size: 0.72rem;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  border: 2px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}

.emp-step-pill.active {
  background: linear-gradient(135deg, #dbeafe, #e0f2fe);
  color: var(--emp-primary);
  border-color: var(--emp-accent);
  font-weight: 700;
}

.emp-step-pill.done {
  background: #ecfdf5;
  color: #047857;
}

/* Form sections */
.emp-form-step {
  animation: empStepFade 0.35s ease;
}

@keyframes empStepFade {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.emp-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #f1f5f9;
}

.emp-section-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--emp-primary), var(--emp-accent));
  box-shadow: 0 4px 12px rgba(30, 95, 158, 0.35);
}

.emp-section-head h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--emp-dark);
}

.emp-section-head p {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: #64748b;
}

/* Fields */
.emp-field {
  margin-bottom: 18px;
}

.emp-field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 16px;
  margin-bottom: 4px;
}

@media (min-width: 640px) {
  .emp-field-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.emp-field-grid .emp-field-half {
  margin-bottom: 14px;
}

.emp-field-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  color: #334155;
  margin-bottom: 8px;
}

.emp-field-label i {
  color: var(--emp-primary);
  width: 18px;
  text-align: center;
  opacity: 0.85;
}

.emp-field .form-control,
.emp-field .form-select {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.emp-field .form-control:focus,
.emp-field .form-select:focus {
  border-color: var(--emp-accent);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
  outline: none;
}

.emp-field-hint {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 6px;
}

/* File upload zone */
.emp-file-zone {
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
  position: relative;
}

.emp-file-zone:hover,
.emp-file-zone.has-file {
  border-color: var(--emp-accent);
  background: #f0f9ff;
}

.emp-file-zone input[type='file'] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.emp-file-zone-icon {
  font-size: 2rem;
  color: var(--emp-primary);
  margin-bottom: 8px;
}

.emp-file-zone-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--emp-dark);
}

.emp-file-preview {
  margin-top: 12px;
  max-width: 120px;
  max-height: 120px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Signature */
.emp-sig-tabs .btn.active {
  background: linear-gradient(135deg, var(--emp-primary), var(--emp-accent));
  color: #fff;
  border-color: var(--emp-primary);
}

.emp-sig-wrap .emp-file-zone {
  min-height: 140px;
}

.emp-sig-pad {
  display: block;
  border: 2px dashed var(--emp-accent);
  border-radius: 14px;
  background: #fafafa;
  touch-action: none;
  width: 100%;
  min-height: 160px;
  height: 160px;
  cursor: crosshair;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
}

.emp-sig-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

/* Checkbox declaration */
.emp-declaration {
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fcd34d;
}

.emp-declaration .form-check-input:checked {
  background-color: var(--emp-cta);
  border-color: var(--emp-cta);
}

/* Nav buttons */
.emp-form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 2px solid #f1f5f9;
  flex-wrap: wrap;
}

.emp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, filter 0.2s, box-shadow 0.2s;
}

.emp-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.emp-btn-prev {
  background: #f1f5f9;
  color: #475569;
  border: 2px solid #e2e8f0;
}

.emp-btn-prev:hover:not(:disabled) {
  background: #e2e8f0;
}

.emp-btn-next {
  background: linear-gradient(135deg, var(--emp-primary), var(--emp-accent));
  color: #fff;
  box-shadow: 0 4px 14px rgba(30, 95, 158, 0.35);
}

.emp-btn-next:hover:not(:disabled) {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.emp-btn-submit {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.4);
}

.emp-btn-submit:hover:not(:disabled) {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.emp-btn-submit .spinner-border {
  width: 1rem;
  height: 1rem;
  border-width: 2px;
}

/* Alerts */
.emp-alert-error {
  padding: 14px 16px;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.9rem;
  margin-top: 16px;
}

/* Thanks / closed */
.emp-state-panel {
  text-align: center;
  padding: 48px 24px 56px;
}

.emp-state-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.emp-state-icon.success {
  background: linear-gradient(135deg, #d1fae5, #6ee7b7);
  color: #047857;
  animation: empPop 0.5s ease;
}

.emp-state-icon.muted {
  background: #f1f5f9;
  color: #94a3b8;
}

@keyframes empPop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  70% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.emp-state-panel h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--emp-dark);
  margin-bottom: 10px;
}

.emp-state-panel p {
  color: #64748b;
  max-width: 400px;
  margin: 0 auto 24px;
  line-height: 1.55;
}

.emp-state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.emp-state-actions .emp-btn {
  min-width: 160px;
}

.emp-btn-outline {
  background: #fff;
  color: var(--emp-primary);
  border: 2px solid var(--emp-primary);
}

.emp-btn-outline:hover {
  background: #eff6ff;
}

.emp-btn-cta {
  background: var(--emp-cta);
  color: #fff;
}

.emp-btn-cta:hover {
  background: var(--sh-cta-hover, #d46920);
  color: #fff;
}

/* Loading skeleton */
.emp-skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: empShimmer 1.2s infinite;
  border-radius: 8px;
  height: 14px;
  margin-bottom: 10px;
}

.emp-skeleton.title {
  height: 28px;
  width: 70%;
  margin: 0 auto 12px;
}

.emp-skeleton.intro {
  height: 12px;
  width: 90%;
  margin: 0 auto;
}

@keyframes empShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.emp-apply-footer {
  text-align: center;
  padding: 24px 16px 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
}

.emp-apply-footer a {
  color: var(--emp-gold);
  text-decoration: underline !important;
}

.emp-apply-footer a:hover {
  color: #fff;
}

.emp-aside-mobile-only {
  display: block;
}

@media (min-width: 900px) {
  .emp-aside-desktop {
    display: block;
  }
  .emp-aside-mobile-only .emp-step-list,
  .emp-aside-mobile-only .emp-feature-chips {
    display: none;
  }
}

@media (max-width: 899px) {
  .emp-aside-desktop {
    display: none;
  }
  .emp-apply-aside.emp-aside-mobile-only {
    padding: 14px 16px;
  }
  .emp-progress-ring-wrap {
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 12px;
  }
}
