/* Reliqual Manpower public intake — enhanced UI v3.
   Fixes: visible borders on all inputs (was too pale on white cards),
   simpler checkbox treatment (no oversized card wrapper). */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body[data-path="manpower-application"],
body[data-path="manpower-application/new"],
body[data-path^="manpower-application/"],
body[data-path^="ep-form/"] {
  background:
    radial-gradient(60vw 60vh at 0% 0%, rgba(234, 88, 12, 0.07), transparent 60%),
    radial-gradient(60vw 60vh at 100% 0%, rgba(37, 99, 235, 0.07), transparent 60%),
    #f4f6f9;
  background-attachment: fixed;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a2332;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hide Frappe shell chrome we don't want on a public intake form.
   NOTE: use :is() so each hide-target is correctly scoped to BOTH paths as a
   DESCENDANT — never let `body[data-path^=...]` stand alone in a display:none
   rule (that hides the entire page). */
body:is([data-path^="manpower-application"], [data-path^="ep-form"]) .navbar,
body:is([data-path^="manpower-application"], [data-path^="ep-form"]) .web-sidebar,
body:is([data-path^="manpower-application"], [data-path^="ep-form"]) .breadcrumb-container,
body:is([data-path^="manpower-application"], [data-path^="ep-form"]) .navbar-secondary,
body:is([data-path^="manpower-application"], [data-path^="ep-form"]) .web-footer .footer-logo-extension,
body:is([data-path^="manpower-application"], [data-path^="ep-form"]) .web-footer .footer-links,
/* Frappe v15 web-form autosave / "Not Saved" badge — irrelevant on public form */
body:is([data-path^="manpower-application"], [data-path^="ep-form"]) .web-form-actions .indicator-pill,
body:is([data-path^="manpower-application"], [data-path^="ep-form"]) .web-form-header .indicator-pill,
body:is([data-path^="manpower-application"], [data-path^="ep-form"]) .web-form-container .indicator-pill,
body:is([data-path^="manpower-application"], [data-path^="ep-form"]) .indicator-pill,
body:is([data-path^="manpower-application"], [data-path^="ep-form"]) .web-form-doc-info,
body:is([data-path^="manpower-application"], [data-path^="ep-form"]) [data-original-title="Not Saved"],
body:is([data-path^="manpower-application"], [data-path^="ep-form"]) [title="Not Saved"] {
  display: none !important;
}

/* Center the whole form inside a narrow column. */
body[data-path^="manpower-application"] .page-content-wrapper,
body[data-path^="ep-form"] .page-content-wrapper,
body[data-path^="manpower-application"] main.container,
body[data-path^="ep-form"] main.container,
body[data-path^="manpower-application"] .web-form-container,
body[data-path^="ep-form"] .web-form-container {
  max-width: 600px !important;
  margin: 0 auto !important;
  padding: 0 12px 96px !important;
}

/* ----- Branded hero header --------------------------------------------- */

body[data-path^="manpower-application"] .web-form-header,
body[data-path^="ep-form"] .web-form-header {
  background: linear-gradient(135deg, #1f2b3d 0%, #2d3e54 50%, #1f2b3d 100%);
  color: #ffffff;
  padding: 36px 28px 32px;
  margin: 24px -12px 24px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 32px -8px rgba(26, 35, 50, 0.35);
}
body[data-path^="manpower-application"] .web-form-header::before,
body[data-path^="ep-form"] .web-form-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 60% at 95% 5%, rgba(234, 88, 12, 0.30), transparent 60%),
    radial-gradient(35% 50% at 5% 100%, rgba(37, 99, 235, 0.22), transparent 60%);
  pointer-events: none;
}
body[data-path^="manpower-application"] .web-form-header::after,
body[data-path^="ep-form"] .web-form-header::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ea580c 0%, #f97316 50%, #ea580c 100%);
}
body[data-path^="manpower-application"] .web-form-header h1,
body[data-path^="ep-form"] .web-form-header h1,
body[data-path^="manpower-application"] .web-form-header h1.ellipsis,
body[data-path^="ep-form"] .web-form-header h1.ellipsis,
body[data-path^="manpower-application"] .web-form-header .web-form-title,
body[data-path^="ep-form"] .web-form-header .web-form-title,
body[data-path^="manpower-application"] .web-form-header .web-form-title.ellipsis,
body[data-path^="ep-form"] .web-form-header .web-form-title.ellipsis {
  font-size: clamp(20px, 4.2vw, 30px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.25 !important;
  margin: 0 0 8px !important;
  color: #ffffff !important;
  position: relative !important;
  /* Defeat Frappe's `.ellipsis` truncation so the bilingual title wraps
     to multiple lines instead of being cut off with "..." */
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: break-word !important;
  max-width: 100% !important;
}
body[data-path^="manpower-application"] .web-form-header h1::before,
body[data-path^="ep-form"] .web-form-header h1::before {
  content: "DOTS CONNECT  ·  Manpower Network";
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fdba74;
  margin-bottom: 10px;
}

/* Intro / introduction copy — every nested element MUST be white because
   Frappe's intro template adds an inline `style="color:#666"` on the second
   <p> (Hindi line) which only loses to !important. The container also
   inherits the body text colour from website.bundle.css, so we override
   that too. */
body[data-path^="manpower-application"] .web-form-introduction,
body[data-path^="ep-form"] .web-form-introduction,
body[data-path^="manpower-application"] .web-form-header .web-form-introduction,
body[data-path^="ep-form"] .web-form-header .web-form-introduction {
  position: relative;
  font-size: 15px !important;
  line-height: 1.6 !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  margin: 14px 0 0 !important;
}
body[data-path^="manpower-application"] .web-form-introduction p,
body[data-path^="ep-form"] .web-form-introduction p,
body[data-path^="manpower-application"] .web-form-header .web-form-introduction p,
body[data-path^="ep-form"] .web-form-header .web-form-introduction p,
body[data-path^="manpower-application"] .web-form-introduction p[style],
body[data-path^="ep-form"] .web-form-introduction p[style],
body[data-path^="manpower-application"] .web-form-introduction strong,
body[data-path^="ep-form"] .web-form-introduction strong,
body[data-path^="manpower-application"] .web-form-introduction em,
body[data-path^="ep-form"] .web-form-introduction em,
body[data-path^="manpower-application"] .web-form-introduction span,
body[data-path^="ep-form"] .web-form-introduction span {
  margin: 0 0 8px !important;
  color: #ffffff !important;
}
body[data-path^="manpower-application"] .web-form-introduction p:last-child,
body[data-path^="ep-form"] .web-form-introduction p:last-child {
  margin-bottom: 0 !important;
}
/* Second paragraph is the Hindi tagline — slightly muted (but still
   readable on the dark gradient) and separated by a thin divider. */
body[data-path^="manpower-application"] .web-form-introduction p + p,
body[data-path^="ep-form"] .web-form-introduction p + p,
body[data-path^="manpower-application"] .web-form-introduction p[style] + p,
body[data-path^="ep-form"] .web-form-introduction p[style] + p,
body[data-path^="manpower-application"] .web-form-introduction p + p[style],
body[data-path^="ep-form"] .web-form-introduction p + p[style] {
  font-size: 13.5px !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.88) !important;
  margin-top: 10px !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.20) !important;
}

/* ----- Section cards --------------------------------------------------- */

body[data-path^="manpower-application"] .form-section,
body[data-path^="ep-form"] .form-section,
body[data-path^="manpower-application"] .form-section.show,
body[data-path^="ep-form"] .form-section.show {
  background: #ffffff;
  border: 1px solid #dbe2ec;
  border-radius: 14px;
  padding: 24px 24px 8px;
  margin: 0 0 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -16px rgba(15, 23, 42, 0.10);
  position: relative;
}

body[data-path^="manpower-application"] .section-head,
body[data-path^="ep-form"] .section-head,
body[data-path^="manpower-application"] .form-section > .section-title,
body[data-path^="ep-form"] .form-section > .section-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2563eb;
  margin: 0 0 16px;
  padding: 0 0 0 12px;
  border-left: 3px solid #2563eb;
  line-height: 1.4;
}

/* Consent section gets a warmer accent so it draws the eye. */
body[data-path^="manpower-application"] .form-section:has(input[name="consent"]),
body[data-path^="ep-form"] .form-section:has(input[name="consent"]) {
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fde68a;
}
body[data-path^="manpower-application"] .form-section:has(input[name="consent"]) .section-head,
body[data-path^="ep-form"] .form-section:has(input[name="consent"]) .section-head {
  color: #b45309;
  border-color: #f59e0b;
}

/* ----- Form controls — visible borders, every fieldtype --------------- */

body[data-path^="manpower-application"] .form-group,
body[data-path^="ep-form"] .form-group {
  margin-bottom: 18px;
}

body[data-path^="manpower-application"] .form-group label,
body[data-path^="ep-form"] .form-group label,
body[data-path^="manpower-application"] .control-label,
body[data-path^="ep-form"] .control-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #1a2332;
  margin-bottom: 8px;
  letter-spacing: 0.005em;
}

body[data-path^="manpower-application"] .form-group .reqd::after,
body[data-path^="ep-form"] .form-group .reqd::after,
body[data-path^="manpower-application"] .form-group label .reqd,
body[data-path^="ep-form"] .form-group label .reqd {
  color: #dc2626;
  font-weight: 700;
}

body[data-path^="manpower-application"] .help-box,
body[data-path^="ep-form"] .help-box,
body[data-path^="manpower-application"] .help-block,
body[data-path^="ep-form"] .help-block,
body[data-path^="manpower-application"] .form-text,
body[data-path^="ep-form"] .form-text {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 6px;
  line-height: 1.5;
}

/* Catch every text-input variant Frappe v15 renders. The previous border
   colour #d6dce5 was too pale against the white card — visually invisible
   for many users. Switching to #b8c1cf (darker steel-grey) so every
   field is obviously a field. */
body[data-path^="manpower-application"] .form-control,
body[data-path^="ep-form"] .form-control,
body[data-path^="manpower-application"] input.form-control,
body[data-path^="ep-form"] input.form-control,
body[data-path^="manpower-application"] textarea.form-control,
body[data-path^="ep-form"] textarea.form-control,
body[data-path^="manpower-application"] select.form-control,
body[data-path^="ep-form"] select.form-control,
body[data-path^="manpower-application"] input[type="text"],
body[data-path^="ep-form"] input[type="text"],
body[data-path^="manpower-application"] input[type="email"],
body[data-path^="ep-form"] input[type="email"],
body[data-path^="manpower-application"] input[type="tel"],
body[data-path^="ep-form"] input[type="tel"],
body[data-path^="manpower-application"] input[type="number"],
body[data-path^="ep-form"] input[type="number"],
body[data-path^="manpower-application"] input[type="url"],
body[data-path^="ep-form"] input[type="url"],
body[data-path^="manpower-application"] input[type="date"],
body[data-path^="ep-form"] input[type="date"],
body[data-path^="manpower-application"] input[type="datetime-local"],
body[data-path^="ep-form"] input[type="datetime-local"],
body[data-path^="manpower-application"] textarea,
body[data-path^="ep-form"] textarea,
body[data-path^="manpower-application"] select,
body[data-path^="ep-form"] select,
body[data-path^="manpower-application"] input.input-with-feedback,
body[data-path^="ep-form"] input.input-with-feedback,
body[data-path^="manpower-application"] .input-with-feedback,
body[data-path^="ep-form"] .input-with-feedback {
  font-family: inherit !important;
  font-size: 16px !important;          /* >=16px stops iOS auto-zoom */
  line-height: 1.4 !important;
  font-weight: 500 !important;
  color: #1a2332 !important;
  background-color: #f8fafc !important;  /* slight tint to distinguish from white card */
  border: 1.5px solid #b8c1cf !important; /* visibly darker than card border */
  border-radius: 10px !important;
  padding: 12px 14px !important;
  min-height: 50px !important;
  width: 100% !important;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease !important;
}

body[data-path^="manpower-application"] .form-control::placeholder,
body[data-path^="ep-form"] .form-control::placeholder,
body[data-path^="manpower-application"] input::placeholder,
body[data-path^="ep-form"] input::placeholder,
body[data-path^="manpower-application"] textarea::placeholder,
body[data-path^="ep-form"] textarea::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

body[data-path^="manpower-application"] .form-control:hover,
body[data-path^="ep-form"] .form-control:hover,
body[data-path^="manpower-application"] input.form-control:hover,
body[data-path^="ep-form"] input.form-control:hover,
body[data-path^="manpower-application"] textarea.form-control:hover,
body[data-path^="ep-form"] textarea.form-control:hover,
body[data-path^="manpower-application"] select.form-control:hover,
body[data-path^="ep-form"] select.form-control:hover,
body[data-path^="manpower-application"] input.input-with-feedback:hover,
body[data-path^="ep-form"] input.input-with-feedback:hover {
  border-color: #94a3b8 !important;
  background-color: #ffffff !important;
}

body[data-path^="manpower-application"] .form-control:focus,
body[data-path^="ep-form"] .form-control:focus,
body[data-path^="manpower-application"] .form-control:focus-visible,
body[data-path^="ep-form"] .form-control:focus-visible,
body[data-path^="manpower-application"] input.form-control:focus,
body[data-path^="ep-form"] input.form-control:focus,
body[data-path^="manpower-application"] textarea.form-control:focus,
body[data-path^="ep-form"] textarea.form-control:focus,
body[data-path^="manpower-application"] select.form-control:focus,
body[data-path^="ep-form"] select.form-control:focus,
body[data-path^="manpower-application"] input.input-with-feedback:focus,
body[data-path^="ep-form"] input.input-with-feedback:focus {
  border-color: #ea580c !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.16) !important;
  outline: none !important;
}

body[data-path^="manpower-application"] .form-control[disabled],
body[data-path^="ep-form"] .form-control[disabled],
body[data-path^="manpower-application"] .form-control[readonly],
body[data-path^="ep-form"] .form-control[readonly] {
  background-color: #f1f5f9 !important;
  color: #94a3b8 !important;
}

/* Custom <select> chevron — replace native arrow */
body[data-path^="manpower-application"] select.form-control,
body[data-path^="ep-form"] select.form-control,
body[data-path^="manpower-application"] select,
body[data-path^="ep-form"] select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a2332' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px !important;
  padding-right: 40px !important;
  cursor: pointer !important;
}

/* ----- Checkboxes — clean, simple, robust ----------------------------- */
/* No card wrapper. Just the checkbox + label inline. The earlier card
   treatment was overdesigned and the checkmark drifted out of the box
   at Frappe's actual rendered size. This version is bulletproof: */

body[data-path^="manpower-application"] .checkbox,
body[data-path^="ep-form"] .checkbox,
body[data-path^="manpower-application"] .form-check,
body[data-path^="ep-form"] .form-check {
  margin: 0 0 14px;
  padding: 0;
  background: transparent;
  border: 0;
}

body[data-path^="manpower-application"] .checkbox label,
body[data-path^="ep-form"] .checkbox label,
body[data-path^="manpower-application"] .form-check label,
body[data-path^="ep-form"] .form-check label,
body[data-path^="manpower-application"] [data-fieldtype="Check"] label,
body[data-path^="ep-form"] [data-fieldtype="Check"] label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: #1a2332 !important;
  line-height: 1.5 !important;
  cursor: pointer !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* The checkbox itself — appearance:none gives us full control. We rely on
   accent-color (modern browsers) as a clean primary, with a fallback SVG
   for older WebKit. Both render the tick inside the box. */
body[data-path^="manpower-application"] .checkbox input[type="checkbox"],
body[data-path^="ep-form"] .checkbox input[type="checkbox"],
body[data-path^="manpower-application"] .form-check input[type="checkbox"],
body[data-path^="ep-form"] .form-check input[type="checkbox"],
body[data-path^="manpower-application"] [data-fieldtype="Check"] input[type="checkbox"],
body[data-path^="ep-form"] [data-fieldtype="Check"] input[type="checkbox"] {
  /* Reset any inherited Frappe styling cleanly */
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  /* Sizing */
  flex: 0 0 auto !important;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  /* Borders / fill */
  border: 1.5px solid #94a3b8 !important;
  border-radius: 5px !important;
  background-color: #ffffff !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 14px 14px !important;
  /* Misc */
  vertical-align: middle !important;
  cursor: pointer !important;
  position: relative !important;
  transition: background-color 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease !important;
  /* Modern browsers honor accent-color; older WebKit ignores it (handled
     by the SVG fallback below). */
  accent-color: #ea580c;
}

body[data-path^="manpower-application"] .checkbox input[type="checkbox"]:hover,
body[data-path^="ep-form"] .checkbox input[type="checkbox"]:hover,
body[data-path^="manpower-application"] .form-check input[type="checkbox"]:hover,
body[data-path^="ep-form"] .form-check input[type="checkbox"]:hover,
body[data-path^="manpower-application"] [data-fieldtype="Check"] input[type="checkbox"]:hover,
body[data-path^="ep-form"] [data-fieldtype="Check"] input[type="checkbox"]:hover {
  border-color: #ea580c !important;
}

body[data-path^="manpower-application"] .checkbox input[type="checkbox"]:checked,
body[data-path^="ep-form"] .checkbox input[type="checkbox"]:checked,
body[data-path^="manpower-application"] .form-check input[type="checkbox"]:checked,
body[data-path^="ep-form"] .form-check input[type="checkbox"]:checked,
body[data-path^="manpower-application"] [data-fieldtype="Check"] input[type="checkbox"]:checked,
body[data-path^="ep-form"] [data-fieldtype="Check"] input[type="checkbox"]:checked {
  background-color: #ea580c !important;
  border-color: #ea580c !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='3.5 8.5 6.5 11.5 12.5 5'/></svg>") !important;
}

body[data-path^="manpower-application"] .checkbox input[type="checkbox"]:focus-visible,
body[data-path^="ep-form"] .checkbox input[type="checkbox"]:focus-visible,
body[data-path^="manpower-application"] .form-check input[type="checkbox"]:focus-visible,
body[data-path^="ep-form"] .form-check input[type="checkbox"]:focus-visible,
body[data-path^="manpower-application"] [data-fieldtype="Check"] input[type="checkbox"]:focus-visible,
body[data-path^="ep-form"] [data-fieldtype="Check"] input[type="checkbox"]:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.25) !important;
}

/* Defensive: clear any ::after-based checkmark from older CSS revisions */
body[data-path^="manpower-application"] .checkbox input[type="checkbox"]::after,
body[data-path^="ep-form"] .checkbox input[type="checkbox"]::after,
body[data-path^="manpower-application"] .form-check input[type="checkbox"]::after,
body[data-path^="ep-form"] .form-check input[type="checkbox"]::after,
body[data-path^="manpower-application"] [data-fieldtype="Check"] input[type="checkbox"]::after,
body[data-path^="ep-form"] [data-fieldtype="Check"] input[type="checkbox"]::after {
  content: none !important;
  display: none !important;
}

/* ----- Conditional fields fade-in ------------------------------------- */

body[data-path^="manpower-application"] [data-fieldname="sub_role"],
body[data-path^="ep-form"] [data-fieldname="sub_role"],
body[data-path^="manpower-application"] [data-fieldname="other_role"],
body[data-path^="ep-form"] [data-fieldname="other_role"] {
  animation: pf-fade-in 0.25s ease;
}
@keyframes pf-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ----- Submit button --------------------------------------------------- */

body[data-path^="manpower-application"] .web-form-actions,
body[data-path^="ep-form"] .web-form-actions,
body[data-path^="manpower-application"] .web-form-footer,
body[data-path^="ep-form"] .web-form-footer {
  margin: 24px 0 0;
  background: transparent;
  border: 0;
  padding: 0;
}

body[data-path^="manpower-application"] .web-form-actions .btn-primary,
body[data-path^="ep-form"] .web-form-actions .btn-primary,
body[data-path^="manpower-application"] .web-form-footer .btn-primary,
body[data-path^="ep-form"] .web-form-footer .btn-primary,
body[data-path^="manpower-application"] .btn-primary[type="submit"],
body[data-path^="ep-form"] .btn-primary[type="submit"],
body[data-path^="manpower-application"] button.btn-primary,
body[data-path^="ep-form"] button.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 56px;
  padding: 16px 24px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: linear-gradient(180deg, #ea580c 0%, #c2410c 100%);
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 8px 18px -6px rgba(234, 88, 12, 0.5);
  transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
  position: relative;
}
body[data-path^="manpower-application"] .web-form-actions .btn-primary::after,
body[data-path^="ep-form"] .web-form-actions .btn-primary::after,
body[data-path^="manpower-application"] .web-form-footer .btn-primary::after,
body[data-path^="ep-form"] .web-form-footer .btn-primary::after,
body[data-path^="manpower-application"] button.btn-primary::after,
body[data-path^="ep-form"] button.btn-primary::after {
  content: "→";
  font-size: 20px;
  font-weight: 800;
  transition: transform 0.15s ease;
}
body[data-path^="manpower-application"] .web-form-actions .btn-primary:hover,
body[data-path^="ep-form"] .web-form-actions .btn-primary:hover,
body[data-path^="manpower-application"] .web-form-footer .btn-primary:hover,
body[data-path^="ep-form"] .web-form-footer .btn-primary:hover,
body[data-path^="manpower-application"] button.btn-primary:hover,
body[data-path^="ep-form"] button.btn-primary:hover {
  background: linear-gradient(180deg, #f97316 0%, #ea580c 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 12px 24px -6px rgba(234, 88, 12, 0.6);
}
body[data-path^="manpower-application"] .web-form-actions .btn-primary:hover::after,
body[data-path^="ep-form"] .web-form-actions .btn-primary:hover::after,
body[data-path^="manpower-application"] .web-form-footer .btn-primary:hover::after,
body[data-path^="ep-form"] .web-form-footer .btn-primary:hover::after,
body[data-path^="manpower-application"] button.btn-primary:hover::after,
body[data-path^="ep-form"] button.btn-primary:hover::after {
  transform: translateX(4px);
}
body[data-path^="manpower-application"] .web-form-actions .btn-primary:active,
body[data-path^="ep-form"] .web-form-actions .btn-primary:active,
body[data-path^="manpower-application"] .web-form-footer .btn-primary:active,
body[data-path^="ep-form"] .web-form-footer .btn-primary:active,
body[data-path^="manpower-application"] button.btn-primary:active,
body[data-path^="ep-form"] button.btn-primary:active {
  transform: translateY(1px);
}

body[data-path^="manpower-application"] .btn-default,
body[data-path^="ep-form"] .btn-default,
body[data-path^="manpower-application"] .web-form-actions .btn:not(.btn-primary),
body[data-path^="ep-form"] .web-form-actions .btn:not(.btn-primary) {
  background: transparent;
  color: #64748b;
  border: 1px solid #d6dce5;
  font-weight: 600;
  border-radius: 12px;
}
body[data-path^="manpower-application"] .btn-default:hover,
body[data-path^="ep-form"] .btn-default:hover {
  background: #f8fafc;
  color: #1a2332;
}

/* ----- Success message page ------------------------------------------- */

body[data-path^="manpower-application"] .web-form-success,
body[data-path^="ep-form"] .web-form-success,
body[data-path^="manpower-application"] .success-page,
body[data-path^="ep-form"] .success-page {
  text-align: center;
  padding: 56px 28px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e6eaf0;
  margin-top: 32px;
}
body[data-path^="manpower-application"] .web-form-success::before,
body[data-path^="ep-form"] .web-form-success::before,
body[data-path^="manpower-application"] .success-page::before,
body[data-path^="ep-form"] .success-page::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  border-radius: 50%;
  box-shadow: 0 12px 24px -6px rgba(22, 163, 74, 0.45);
}

/* ----- Validation surfaces -------------------------------------------- */

body[data-path^="manpower-application"] .has-error .form-control,
body[data-path^="ep-form"] .has-error .form-control,
body[data-path^="manpower-application"] .form-control.is-invalid,
body[data-path^="ep-form"] .form-control.is-invalid {
  border-color: #dc2626 !important;
  background-color: #fef2f2 !important;
}
body[data-path^="manpower-application"] .has-error .form-control:focus,
body[data-path^="ep-form"] .has-error .form-control:focus,
body[data-path^="manpower-application"] .form-control.is-invalid:focus,
body[data-path^="ep-form"] .form-control.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15) !important;
}
body[data-path^="manpower-application"] .invalid-feedback,
body[data-path^="ep-form"] .invalid-feedback,
body[data-path^="manpower-application"] .help-block.error,
body[data-path^="ep-form"] .help-block.error,
body[data-path^="manpower-application"] .text-danger,
body[data-path^="ep-form"] .text-danger {
  color: #b91c1c;
  font-size: 13px;
  font-weight: 500;
  margin-top: 6px;
}

/* ----- Column layout -------------------------------------------------- */

body[data-path^="manpower-application"] .form-column,
body[data-path^="ep-form"] .form-column,
body[data-path^="manpower-application"] .column-break,
body[data-path^="ep-form"] .column-break {
  flex: 1 1 auto;
}

/* ----- Mobile polish --------------------------------------------------- */

@media (max-width: 540px) {
  body[data-path^="manpower-application"] .web-form-header,
body[data-path^="ep-form"] .web-form-header {
    padding: 28px 22px 24px;
    border-radius: 14px;
    margin: 16px -8px 18px;
  }
  body[data-path^="manpower-application"] .web-form-header h1,
body[data-path^="ep-form"] .web-form-header h1,
  body[data-path^="manpower-application"] .web-form-header .web-form-title,
body[data-path^="ep-form"] .web-form-header .web-form-title {
    font-size: 24px;
  }
  body[data-path^="manpower-application"] .form-section,
body[data-path^="ep-form"] .form-section {
    padding: 18px 16px 4px;
    border-radius: 12px;
  }
  body[data-path^="manpower-application"] .form-control,
body[data-path^="ep-form"] .form-control,
  body[data-path^="manpower-application"] input.input-with-feedback,
body[data-path^="ep-form"] input.input-with-feedback {
    min-height: 48px !important;
    padding: 10px 12px !important;
  }
  body[data-path^="manpower-application"] .web-form-actions .btn-primary,
body[data-path^="ep-form"] .web-form-actions .btn-primary,
  body[data-path^="manpower-application"] button.btn-primary,
body[data-path^="ep-form"] button.btn-primary {
    min-height: 54px;
    border-radius: 12px;
  }
  body[data-path^="manpower-application"] .web-form-actions,
body[data-path^="ep-form"] .web-form-actions,
  body[data-path^="manpower-application"] .web-form-footer,
body[data-path^="ep-form"] .web-form-footer {
    position: sticky;
    bottom: 12px;
    z-index: 10;
  }
}
