/* =========================================================
   PPGL CANDIDATE APPLICATION + PRIVACY POLICY CSS
   Requires style.css to load first
========================================================= */

:root {
  --ppgl-ink: #07111d;
  --ppgl-navy: #081827;
  --ppgl-blue: #0b3c6d;
  --ppgl-blue-2: #1e73be;
  --ppgl-gold: #ffd200;
  --ppgl-green: #16a34a;
  --ppgl-bg: #eef4fb;
  --ppgl-card: #ffffff;
  --ppgl-line: rgba(148, 163, 184, 0.24);
  --ppgl-muted: #64748b;
  --ppgl-text: #172033;
  --ppgl-danger: #dc2626;
  --ppgl-radius-xl: 24px;
  --ppgl-radius-lg: 16px;
  --ppgl-shadow-1: 0 18px 48px rgba(15, 23, 42, 0.12);
  --ppgl-shadow-2: 0 8px 22px rgba(15, 23, 42, 0.07);
}

/* PAGE BASE */

.candidate-portal-body {
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 210, 0, 0.13), transparent 24%),
    radial-gradient(
      circle at 92% 7%,
      rgba(30, 115, 190, 0.13),
      transparent 28%
    ),
    linear-gradient(135deg, #f8fafc, #eef4fb 42%, #eaf1f9);
  color: var(--ppgl-text);
  font-family: "Inter", sans-serif;
}

.candidate-portal-body * {
  box-sizing: border-box;
}

.candidate-portal-body a {
  text-decoration: none;
}

/* HEADER */

.candidate-header,
.candidate-portal-body header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.candidate-nav,
.candidate-portal-body .nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.candidate-logo img,
.candidate-portal-body .logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 6px 14px rgba(15, 23, 42, 0.12));
}

.candidate-nav-links,
.candidate-portal-body .nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.candidate-nav-links a,
.candidate-portal-body .nav-links a {
  color: var(--ppgl-blue);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  transition: 0.2s ease;
}

.candidate-nav-links a:hover,
.candidate-portal-body .nav-links a:hover {
  background: rgba(30, 115, 190, 0.08);
  color: var(--ppgl-blue-2);
}

/* APPLICATION SHELL */

.application-page {
  min-height: calc(100vh - 68px);
  padding: 28px 0 64px;
  background: transparent;
}

.application-shell {
  max-width: 1160px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: var(--ppgl-radius-xl);
  box-shadow: var(--ppgl-shadow-1);
  overflow: hidden;
}

.application-title-bar {
  position: relative;
  overflow: hidden;
  padding: 28px 30px;
  background:
    linear-gradient(rgba(8, 24, 39, 0.93), rgba(8, 24, 39, 0.93)),
    radial-gradient(
      circle at 15% 15%,
      rgba(255, 210, 0, 0.26),
      transparent 30%
    ),
    linear-gradient(135deg, #081827, #0b3c6d 58%, #1e73be);
  color: #ffffff;
}

.application-title-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.25;
}

.application-title-bar::after {
  content: "MANPOWER INTAKE";
  position: absolute;
  right: 24px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.075);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
  pointer-events: none;
}

.privacy-page-body .application-title-bar::after {
  content: "DATA PROTECTION";
}

.application-title-bar span,
.application-title-bar h1,
.application-title-bar p {
  position: relative;
  z-index: 2;
}

.application-title-bar span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--ppgl-gold);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.application-title-bar h1 {
  max-width: 780px;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.05;
  margin-bottom: 8px;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.application-title-bar p {
  max-width: 850px;
  font-size: 0.86rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 400;
  text-transform: uppercase;
}

/* INTAKE OVERVIEW */

.candidate-intake-overview {
  margin: 18px 20px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.intake-step-card {
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 15px;
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 210, 0, 0.11),
      transparent 34%
    ),
    #f8fbff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.045);
}

.intake-step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  min-width: 34px;
  padding: 0 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ppgl-blue), var(--ppgl-blue-2));
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.intake-step-card strong {
  display: block;
  color: var(--ppgl-blue);
  font-size: 0.82rem;
  line-height: 1.2;
  margin-bottom: 5px;
  font-weight: 800;
  text-transform: uppercase;
}

.intake-step-card small {
  display: block;
  color: var(--ppgl-muted);
  font-size: 0.68rem;
  line-height: 1.45;
  font-weight: 400;
  text-transform: uppercase;
}

/* NOTICE / ALERTS */

.data-security-notice {
  margin: 18px 20px 0;
  padding: 15px 17px;
  border-radius: 15px;
  background: linear-gradient(
    135deg,
    rgba(255, 248, 216, 0.96),
    rgba(255, 255, 255, 0.94)
  );
  border: 1px solid rgba(242, 214, 107, 0.72);
  border-left: 5px solid var(--ppgl-gold);
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.035);
}

.data-security-notice h3 {
  color: var(--ppgl-blue);
  font-size: 0.88rem;
  margin-bottom: 7px;
  font-weight: 800;
  text-transform: uppercase;
}

.data-security-notice p {
  color: #334155;
  font-size: 0.72rem;
  line-height: 1.55;
  margin-bottom: 6px;
  font-weight: 400;
  text-transform: uppercase;
}

.privacy-link-row a,
.privacy-policy-link {
  color: var(--ppgl-blue);
  font-weight: 700;
  text-decoration: underline;
}

.application-alert {
  display: none;
  margin: 14px 20px 0;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
}

.application-alert.success {
  display: block;
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #166534;
}

.application-alert.error {
  display: block;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.application-alert.info {
  display: block;
  background: #dbeafe;
  border: 1px solid #93c5fd;
  color: #1e3a8a;
}

/* FORM BASE */

.application-form {
  padding: 20px;
}

.application-form,
.application-form input,
.application-form select,
.application-form textarea,
.application-form small,
.application-form p,
.application-form label {
  font-weight: 400;
  text-transform: uppercase;
}

.form-section-block {
  position: relative;
  padding: 18px;
  margin-bottom: 14px;
  border-radius: 17px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: #ffffff;
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.045);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.form-section-block:hover {
  border-color: rgba(30, 115, 190, 0.22);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.form-section-block:last-of-type {
  margin-bottom: 0;
}

.section-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(203, 213, 225, 0.72);
}

.section-heading-row h2,
.application-form h2,
.application-form h3,
.application-form h4 {
  color: var(--ppgl-blue);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 0;
}

.section-heading-row p {
  max-width: 660px;
  color: var(--ppgl-muted);
  font-size: 0.7rem;
  line-height: 1.45;
  margin: 0;
  font-weight: 400;
}

/* FORM GRIDS */

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  color: #1e293b;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1.25;
  margin: 0;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 40px;
  border-radius: 11px;
  border: 1px solid #bfd0e4;
  background: linear-gradient(180deg, #f8fbff, #eef6ff);
  color: #0f172a;
  padding: 9px 11px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.3;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.field textarea {
  min-height: 78px;
  resize: vertical;
  line-height: 1.5;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(30, 115, 190, 0.42);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ppgl-green);
  background: #f0fdf4;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #94a3b8;
}

.field input[readonly] {
  background: linear-gradient(180deg, #f8fbff, #eef6ff);
  border-color: #d5e3f4;
  color: #334155;
  cursor: not-allowed;
}

.field small {
  color: var(--ppgl-muted);
  font-size: 0.63rem;
  line-height: 1.35;
  margin-top: 0;
  font-weight: 400;
}

.required {
  color: #b45309;
  font-weight: 700;
}

/* CONDITIONAL FIELDS */

.hidden-field,
.conditional-field {
  display: none !important;
}

.conditional-field.active {
  display: flex !important;
}

/* FIELD STATE */

.field-filled {
  background: #f0fdf4 !important;
  border-color: #86efac !important;
}

.field-empty {
  background: #eef6ff !important;
  border-color: #c7d7ea !important;
}

.field-error-highlight {
  border-color: var(--ppgl-danger) !important;
  background: #fff1f2 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.13) !important;
}

/* CHECKS */

.mini-check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.mini-check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 10px;
  border-radius: 11px;
  border: 1px solid #dbe8f6;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  color: #334155;
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
  transition: 0.18s ease;
}

.mini-check:hover {
  border-color: rgba(30, 115, 190, 0.25);
}

.mini-check input,
.declaration-box input {
  accent-color: var(--ppgl-blue-2);
}

/* DYNAMIC ROWS */

.dynamic-section {
  margin-top: 12px;
}

.dynamic-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 15px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.035);
}

.dynamic-row .full {
  grid-column: 1 / -1;
}

.employment-history-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 15px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.035);
}

.dynamic-row .remove-row-btn {
  grid-column: 4 / 5;
  justify-self: stretch;
  align-self: end;
}

.employment-history-card .full {
  grid-column: 1 / -1;
}

.employment-history-card .remove-row-btn {
  grid-column: 1 / -1;
  justify-self: flex-start;
}

/* BUTTONS */

.add-row-btn,
.remove-row-btn,
.submit-btn {
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  transition: 0.18s ease;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
}

.add-row-btn {
  background: linear-gradient(135deg, var(--ppgl-blue), var(--ppgl-blue-2));
  color: #ffffff;
  min-height: 38px;
  padding: 9px 14px;
  margin-top: 4px;
}

.remove-row-btn {
  background: #fff1f2;
  color: #9f1239;
  border: 1px solid #fecaca;
  min-height: 38px;
  padding: 9px 12px;
}

.add-row-btn:hover,
.remove-row-btn:hover,
.submit-btn:hover {
  transform: translateY(-1px);
}

/* NOTES */

.upload-note {
  padding: 10px 12px;
  border-radius: 11px;
  background: #fff8d8;
  border-left: 4px solid var(--ppgl-gold);
  color: #334155;
  font-size: 0.7rem;
  margin-bottom: 12px;
  line-height: 1.45;
  font-weight: 400;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.035);
}

.employment-required-note,
.optional-education-note,
.driver-license-required-note {
  margin: 0 0 12px;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(180, 83, 9, 0.08);
  border: 1px solid rgba(180, 83, 9, 0.2);
  color: #92400e;
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1.45;
  text-transform: uppercase;
  display: none;
}

.employment-required-note.active {
  display: block;
}

/* ROLE GUIDANCE */

.role-certification-prompt {
  margin: 12px 0;
  padding: 13px;
  border-radius: 15px;
  border: 1px solid rgba(30, 115, 190, 0.22);
  background:
    radial-gradient(
      circle at top right,
      rgba(30, 115, 190, 0.1),
      transparent 36%
    ),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.045);
}

.role-certification-prompt h4 {
  margin: 0 0 6px;
  color: var(--ppgl-blue);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.role-certification-prompt p {
  margin: 0;
  color: var(--ppgl-muted);
  font-size: 0.7rem;
  line-height: 1.45;
  font-weight: 400;
}

.role-guidance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0;
}

.role-guidance-grid div {
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: #f8fbff;
}

.role-guidance-grid span {
  display: block;
  margin-bottom: 4px;
  color: var(--ppgl-muted);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.role-guidance-grid strong {
  display: block;
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.required-cert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}

.required-cert-pill {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(30, 115, 190, 0.32);
  background: rgba(30, 115, 190, 0.08);
  color: var(--ppgl-blue);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

.required-cert-pill.mandatory {
  border-color: rgba(220, 38, 38, 0.34);
  background: rgba(220, 38, 38, 0.08);
  color: #991b1b;
}

.required-cert-pill.high {
  border-color: rgba(180, 83, 9, 0.34);
  background: rgba(255, 210, 0, 0.16);
  color: #92400e;
}

.required-cert-pill.role-based {
  border-color: rgba(30, 115, 190, 0.32);
  background: rgba(30, 115, 190, 0.08);
  color: var(--ppgl-blue);
}

/* DOCUMENT / SOURCE CONDITIONAL SECTIONS */

#heardAboutUs {
  border-color: rgba(30, 115, 190, 0.32);
}

#referralNameField,
#otherSourceField,
.other-document-name-field {
  grid-column: 1 / -1;
  padding: 12px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px dashed rgba(30, 115, 190, 0.28);
}

/* DECLARATION / SUBMIT */

.declaration-box {
  padding: 13px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid #dbe8f6;
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.035);
}

.checkbox-line {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: #334155;
  font-size: 0.74rem;
  font-weight: 400;
  margin-bottom: 9px;
  line-height: 1.45;
  text-transform: uppercase;
}

.checkbox-line:last-child {
  margin-bottom: 0;
}

.submit-area {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}

.submit-btn {
  min-height: 42px;
  background: linear-gradient(135deg, var(--ppgl-gold), #ffe66d);
  color: #1f2937;
  padding: 10px 22px;
  white-space: nowrap;
}

/* FORM LOCK */

.submit-btn:disabled,
.form-locked input,
.form-locked select,
.form-locked textarea,
.form-locked button {
  opacity: 0.62;
  cursor: not-allowed;
}

.form-locked::before {
  content: "LOCKED UNTIL PRIVACY POLICY IS ACCEPTED";
  display: block;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(180, 83, 9, 0.08);
  border: 1px solid rgba(180, 83, 9, 0.2);
  color: #92400e;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

/* PRIVACY MODAL */

.privacy-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 24, 39, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  backdrop-filter: blur(10px);
}

.privacy-modal.hidden {
  display: none;
}

.privacy-modal-box {
  width: 100%;
  max-width: 500px;
  background: #ffffff;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.34);
  border: 1px solid rgba(255, 210, 0, 0.35);
  border-top: 5px solid var(--ppgl-gold);
}

.privacy-modal-box h2 {
  color: var(--ppgl-blue);
  font-size: 1.25rem;
  margin-bottom: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.privacy-modal-box p {
  color: #475569;
  font-size: 0.8rem;
  line-height: 1.55;
  margin-bottom: 12px;
  font-weight: 400;
  text-transform: uppercase;
}

.privacy-modal-box a,
#agreePrivacyBtn {
  display: inline-flex;
  background: linear-gradient(135deg, var(--ppgl-blue), var(--ppgl-blue-2));
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.09);
}

.privacy-modal-note {
  font-size: 0.68rem !important;
  color: var(--ppgl-muted) !important;
  margin-top: 10px;
}

#agreePrivacyBtn {
  background: linear-gradient(135deg, var(--ppgl-gold), #ffe66d);
  color: #0f172a;
}

#agreePrivacyBtn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* TEXT TRANSFORM */

input[type="text"],
input[type="tel"],
textarea,
select {
  text-transform: uppercase;
}

input[type="email"],
input[type="file"],
input[type="date"],
input[type="number"] {
  text-transform: none;
}

/* FOOTER */

.candidate-footer,
.candidate-portal-body footer {
  background: #03070c;
  color: rgba(255, 255, 255, 0.72);
  padding-top: 30px;
}

.candidate-footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 1fr;
  gap: 24px;
  padding-bottom: 24px;
}

.candidate-footer img {
  height: 52px;
  width: auto;
  margin-bottom: 12px;
}

.candidate-footer h3 {
  color: #ffffff;
  font-size: 0.88rem;
  margin-bottom: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.candidate-footer p,
.candidate-footer a,
.candidate-footer span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  line-height: 1.55;
  margin-bottom: 6px;
  font-weight: 400;
}

.candidate-footer a:hover {
  color: var(--ppgl-gold);
}

.candidate-footer-bottom,
.candidate-portal-body .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 17px 0 22px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.74rem;
  text-transform: uppercase;
}

/* PRIVACY PAGE */

.privacy-page-body .application-form {
  display: grid;
  gap: 12px;
}

.privacy-page-body .form-section-block {
  margin-bottom: 0;
}

.privacy-page-body .form-section-block p {
  color: #475569;
  line-height: 1.62;
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
}

.privacy-page-body .declaration-box {
  margin-top: 6px;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .candidate-intake-overview,
  .candidate-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid-3,
  .mini-check-grid,
  .dynamic-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dynamic-row .remove-row-btn {
    grid-column: 1 / -1;
    justify-self: flex-start;
  }
}

@media (max-width: 900px) {
  .form-grid-2,
  .form-grid-3,
  .employment-history-card,
  .role-guidance-grid {
    grid-template-columns: 1fr;
  }

  .section-heading-row {
    display: block;
  }

  .section-heading-row h2 {
    margin-bottom: 6px;
  }

  .submit-area {
    justify-content: stretch;
  }

  .submit-btn {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .candidate-nav,
  .candidate-portal-body .nav {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
    gap: 10px;
  }

  .candidate-nav-links,
  .candidate-portal-body .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 5px;
  }

  .candidate-nav-links a,
  .candidate-portal-body .nav-links a {
    font-size: 0.68rem;
    padding: 7px 8px;
  }

  .application-page {
    padding: 22px 0 52px;
  }

  .application-title-bar {
    padding: 24px 20px;
  }

  .candidate-intake-overview,
  .candidate-footer-grid {
    grid-template-columns: 1fr;
  }

  .candidate-intake-overview,
  .data-security-notice {
    margin-left: 16px;
    margin-right: 16px;
  }

  .application-form {
    padding: 16px;
  }

  .form-section-block {
    padding: 16px;
  }

  .dynamic-row {
    grid-template-columns: 1fr;
  }

  .candidate-footer-grid {
    gap: 18px;
  }
}

@media (max-width: 520px) {
  .candidate-logo img,
  .candidate-portal-body .logo img {
    height: 42px;
  }

  .application-shell {
    border-radius: 18px;
  }

  .application-title-bar h1 {
    font-size: 1.65rem;
  }

  .intake-step-card {
    min-height: auto;
  }

  .privacy-modal-box {
    padding: 22px;
  }
}

/* =========================================================
   FINAL GO-LIVE POLISH: MODERN APPLICATION UX
========================================================= */
.application-shell {
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(8, 24, 39, 0.14);
}

.application-title-bar {
  padding: 34px 34px 32px;
}

.application-form {
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.92), #ffffff 18%), #ffffff;
}

.form-section-block {
  border-radius: 20px;
  border-color: rgba(148, 163, 184, 0.28);
}

.form-section-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, var(--ppgl-blue-2), var(--ppgl-gold));
  opacity: 0.8;
}

.field input:valid:not([type="file"]):not(:placeholder-shown),
.field textarea:valid:not(:placeholder-shown),
.field select:valid {
  border-color: rgba(22, 163, 74, 0.42);
}

.years-attended-output,
.field small {
  min-height: 0.8rem;
}

.other-certificate-type-field,
.other-document-name-field,
#referralNameField,
#otherSourceField {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px dashed rgba(30, 115, 190, 0.38);
}

.submit-area {
  position: sticky;
  bottom: 0;
  padding: 14px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 38%);
  z-index: 20;
}

.submit-btn {
  min-width: 220px;
  min-height: 46px;
}

@media (max-width: 920px) {
  .candidate-intake-overview,
  .form-grid-3,
  .form-grid-2,
  .mini-check-grid,
  .role-guidance-grid,
  .candidate-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dynamic-row,
  .employment-history-card {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .candidate-intake-overview,
  .form-grid-3,
  .form-grid-2,
  .mini-check-grid,
  .role-guidance-grid,
  .candidate-footer-grid,
  .dynamic-row,
  .employment-history-card {
    grid-template-columns: 1fr;
  }

  .application-title-bar {
    padding: 26px 20px;
  }

  .application-form,
  .form-section-block {
    padding: 14px;
  }

  .submit-area {
    justify-content: stretch;
  }

  .submit-btn {
    width: 100%;
  }
}
/* =========================================================
   CANDIDATE APPLICATION V2 FIELD UPGRADES
========================================================= */

.profile-intelligence-card,
.salary-intelligence-card,
.travel-readiness-card,
.preference-card,
.license-card {
  border-radius: 18px;
  border: 1px solid rgba(30, 115, 190, 0.22);
  background:
    radial-gradient(
      circle at top right,
      rgba(30, 115, 190, 0.09),
      transparent 35%
    ),
    linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
}

.photo-upload-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px dashed rgba(30, 115, 190, 0.36);
}

.photo-preview-box {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background:
    linear-gradient(135deg, rgba(8, 24, 39, 0.08), rgba(30, 115, 190, 0.08)),
    #eef4fb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ppgl-blue);
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
  overflow: hidden;
}

.photo-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intelligence-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.intelligence-metric {
  padding: 13px;
  border-radius: 16px;
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 210, 0, 0.12),
      transparent 35%
    ),
    #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 7px 16px rgba(15, 23, 42, 0.04);
}

.intelligence-metric span {
  display: block;
  color: var(--ppgl-muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.intelligence-metric strong {
  display: block;
  margin-top: 5px;
  color: var(--ppgl-blue);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.candidate-classification-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ppgl-blue), var(--ppgl-blue-2));
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.candidate-classification-pill.gold,
.candidate-classification-pill.platinum {
  background: linear-gradient(135deg, var(--ppgl-gold), #ffe66d);
  color: #111827;
}

.candidate-classification-pill.silver {
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
  color: #334155;
  border: 1px solid #cbd5e1;
}

.candidate-classification-pill.bronze {
  background: linear-gradient(135deg, #92400e, #b45309);
  color: #ffffff;
}

.rate-guidance-note,
.travel-guidance-note,
.compliance-guidance-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 13px;
  background: #fff8d8;
  border-left: 4px solid var(--ppgl-gold);
  color: #334155;
  font-size: 0.68rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 9px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(30, 115, 190, 0.08);
  color: var(--ppgl-blue);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compliance-warning-box {
  padding: 12px;
  border-radius: 14px;
  background: #fff1f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.7rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.digital-signature-box {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(30, 115, 190, 0.22);
  background:
    linear-gradient(180deg, #ffffff, #f8fbff),
    radial-gradient(
      circle at top right,
      rgba(255, 210, 0, 0.1),
      transparent 35%
    );
}

.file-help-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.file-help-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #334155;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* Better spacing for new V2 sections */
.form-section-block[data-section="candidate-photo"],
.form-section-block[data-section="salary-intelligence"],
.form-section-block[data-section="travel-readiness"],
.form-section-block[data-section="driving-license"],
.form-section-block[data-section="career-preferences"],
.form-section-block[data-section="professional-memberships"],
.form-section-block[data-section="criminal-declaration"] {
  background:
    radial-gradient(
      circle at top right,
      rgba(30, 115, 190, 0.045),
      transparent 34%
    ),
    #ffffff;
}

/* Mobile improvements */
@media (max-width: 920px) {
  .intelligence-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-upload-card {
    grid-template-columns: 1fr;
  }

  .photo-preview-box {
    width: 100%;
    height: 160px;
  }
}

@media (max-width: 560px) {
  .intelligence-mini-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   PRIVACY POLICY V2 ENTERPRISE CONSENT MODULE
========================================================= */

.privacy-policy-version {
  padding: 24px;
  margin-top: 12px;

  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 20px;

  background:
    radial-gradient(
      circle at top right,
      rgba(30, 115, 190, 0.06),
      transparent 35%
    ),
    linear-gradient(180deg, #ffffff, #f8fbff);

  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);

  color: var(--ppgl-text);

  font-size: 0.88rem;
  line-height: 1.9;
  font-weight: 700;
  text-transform: uppercase;
}

.privacy-policy-version strong {
  display: block;
  margin-bottom: 10px;

  color: var(--ppgl-blue);

  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

/* ======================================== */
/* CONSENT CARDS */
/* ======================================== */

.declaration-panel {
  display: grid;
  gap: 18px;

  margin-top: 24px;
}

.declaration-panel label {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 16px;
  align-items: flex-start;

  padding: 20px;

  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;

  background:
    radial-gradient(
      circle at top right,
      rgba(255, 210, 0, 0.07),
      transparent 40%
    ),
    linear-gradient(180deg, #ffffff, #f8fbff);

  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);

  color: #334155;

  font-size: 0.88rem;
  line-height: 1.7;
  font-weight: 600;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.declaration-panel label:hover {
  transform: translateY(-3px);

  border-color: rgba(255, 210, 0, 0.45);

  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.declaration-panel input[type="checkbox"] {
  width: 20px;
  height: 20px;

  margin-top: 3px;

  accent-color: var(--ppgl-blue-2);

  cursor: pointer;
}

/* selected card effect */

.declaration-panel label:has(input:checked) {
  border-color: rgba(22, 163, 74, 0.45);

  background:
    radial-gradient(
      circle at top right,
      rgba(22, 163, 74, 0.08),
      transparent 40%
    ),
    linear-gradient(180deg, #ffffff, #f0fdf4);

  box-shadow: 0 14px 34px rgba(22, 163, 74, 0.1);
}

/* ======================================== */
/* SUBMIT PANEL */
/* ======================================== */

.submit-panel {
  margin-top: 26px;

  padding: 24px;

  border-radius: 22px;

  background: linear-gradient(
    135deg,
    rgba(8, 24, 39, 0.96),
    rgba(11, 60, 109, 0.96)
  );

  color: #ffffff;

  text-align: center;

  box-shadow: 0 24px 60px rgba(8, 24, 39, 0.18);
}

.submit-panel p {
  color: rgba(255, 255, 255, 0.82);

  font-size: 0.9rem;
  line-height: 1.7;

  margin-bottom: 22px;

  text-transform: uppercase;
}

#agreePrivacyBtn {
  min-height: 58px;
  min-width: 360px;

  border: none;
  border-radius: 999px;

  padding: 0 34px;

  background: linear-gradient(135deg, var(--ppgl-gold), #ffe66d);

  color: #07111d;

  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.03em;

  text-transform: uppercase;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;

  box-shadow: 0 18px 40px rgba(255, 210, 0, 0.24);
}

#agreePrivacyBtn:hover:not(:disabled) {
  transform: translateY(-3px);

  box-shadow: 0 24px 50px rgba(255, 210, 0, 0.35);
}

#agreePrivacyBtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ======================================== */
/* MOBILE */
/* ======================================== */

@media (max-width: 760px) {
  .privacy-policy-version {
    padding: 18px;
    font-size: 0.82rem;
  }

  .declaration-panel label {
    padding: 16px;
    gap: 14px;

    font-size: 0.82rem;
  }

  #agreePrivacyBtn {
    width: 100%;
    min-width: unset;
  }
}

/* =========================================================
   PPGL DEPLOYMENT UPGRADE — CANDIDATE WIZARD UI
   Moved from inline HTML into the external stylesheet.
========================================================= */
.candidate-wizard-panel {
  margin: 22px 24px 8px !important;
  padding: 22px !important;
  border-radius: 24px !important;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.98),
      rgba(248, 251, 255, 0.96)
    ),
    radial-gradient(
      circle at top right,
      rgba(30, 115, 190, 0.1),
      transparent 38%
    ) !important;
  border: 1px solid rgba(148, 163, 184, 0.24) !important;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08) !important;
}
.candidate-wizard-topline {
  display: flex !important;
  justify-content: space-between !important;
  gap: 20px !important;
  align-items: flex-start !important;
  margin-bottom: 18px !important;
}
.candidate-wizard-kicker {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #0b3c6d !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
}
.candidate-wizard-kicker:before {
  content: "" !important;
  width: 26px !important;
  height: 4px !important;
  border-radius: 999px !important;
  background: #ffd200 !important;
}
.candidate-wizard-title {
  margin: 0 !important;
  color: #07111d !important;
  font-size: clamp(1.35rem, 2.5vw, 2.05rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.055em !important;
  font-weight: 900 !important;
  text-transform: none !important;
}
.candidate-wizard-subtitle {
  margin: 8px 0 0 !important;
  max-width: 720px !important;
  color: #64748b !important;
  font-size: 0.84rem !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
  text-transform: none !important;
}
.candidate-wizard-score {
  min-width: 148px !important;
  padding: 13px 15px !important;
  border-radius: 18px !important;
  text-align: right !important;
  background: linear-gradient(135deg, #081827, #0b3c6d) !important;
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(11, 60, 109, 0.23) !important;
}
.candidate-wizard-score span {
  display: block !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
}
.candidate-wizard-score strong {
  display: block !important;
  margin-top: 3px !important;
  font-size: 1.55rem !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}
.candidate-wizard-progress-track {
  height: 10px !important;
  border-radius: 999px !important;
  background: #e2edf8 !important;
  overflow: hidden !important;
  margin: 10px 0 20px !important;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.09) !important;
}
.candidate-wizard-progress-fill {
  height: 100% !important;
  width: 20%;
  border-radius: inherit !important;
  background: linear-gradient(90deg, #ffd200, #16a34a, #1e73be) !important;
  transition: width 0.28s ease !important;
}
.candidate-wizard-nav {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
}
.candidate-wizard-step-btn {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 1px solid rgba(148, 163, 184, 0.26) !important;
  background: linear-gradient(180deg, #fff, #f6f9fd) !important;
  color: #334155 !important;
  border-radius: 18px !important;
  min-height: 82px !important;
  padding: 13px 12px !important;
  cursor: pointer !important;
  text-align: left !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045) !important;
  transition: 0.18s ease !important;
}
.candidate-wizard-step-btn.active {
  background:
    linear-gradient(135deg, rgba(8, 24, 39, 0.96), rgba(11, 60, 109, 0.96)),
    radial-gradient(
      circle at top right,
      rgba(255, 210, 0, 0.25),
      transparent 40%
    ) !important;
  border-color: rgba(11, 60, 109, 0.55) !important;
  color: #fff !important;
  box-shadow: 0 16px 38px rgba(11, 60, 109, 0.22) !important;
}
.candidate-wizard-step-number {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex: 0 0 34px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: rgba(30, 115, 190, 0.1) !important;
  color: #0b3c6d !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
}
.candidate-wizard-step-btn.active .candidate-wizard-step-number {
  background: #ffd200 !important;
  color: #081827 !important;
}
.candidate-wizard-step-text strong {
  display: block !important;
  font-size: 0.86rem !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  text-transform: none !important;
}
.candidate-wizard-step-text span {
  display: block !important;
  margin-top: 5px !important;
  color: inherit !important;
  opacity: 0.72 !important;
  font-size: 0.66rem !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.025em !important;
}
.application-form.wizard-enabled .form-section-block {
  display: none !important;
  animation: ppglStepFade 0.24s ease both !important;
}
.application-form.wizard-enabled .form-section-block.wizard-step-active {
  display: block !important;
}
.wizard-navigation-actions {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 18px 24px 24px !important;
  padding: 18px !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, #fff, #f8fbff) !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
}
.wizard-btn {
  border: none !important;
  min-height: 44px !important;
  padding: 0 20px !important;
  border-radius: 999px !important;
  font-size: 0.76rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  cursor: pointer !important;
}
.wizard-btn.primary {
  background: linear-gradient(135deg, #0b3c6d, #1e73be) !important;
  color: #fff !important;
}
.wizard-btn.secondary {
  background: #eef4fb !important;
  color: #0b3c6d !important;
  border: 1px solid rgba(30, 115, 190, 0.2) !important;
}
.wizard-btn:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
}

.photo-preview-box {
  min-height: 120px !important;
  border: 1px dashed rgba(30, 115, 190, 0.35) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #ffffff, #f8fbff) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  color: #64748b !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  padding: 10px !important;
}
.photo-preview-box img {
  width: 96px !important;
  height: 96px !important;
  object-fit: cover !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12) !important;
}

@media (max-width: 980px) {
  .candidate-wizard-nav {
    grid-template-columns: 1fr !important;
  }
  .candidate-wizard-topline {
    flex-direction: column !important;
  }
  .candidate-wizard-score {
    text-align: left !important;
    width: 100% !important;
  }
}

/* =========================================================
   PPGL DEPLOYMENT POLISH — Candidate Portal + Privacy Page
   Keep this section at the bottom before deployment.
========================================================= */

.candidate-portal-body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.application-shell {
  isolation: isolate;
}

.application-title-bar {
  min-height: 210px;
  display: grid;
  align-content: center;
}

.application-title-bar p {
  text-transform: none !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

.data-security-notice p,
.intake-step-card small,
.section-heading-row p,
.field small,
.upload-note,
.employment-required-note,
.optional-education-note,
.driver-license-required-note,
.privacy-page-body .form-section-block p,
.submit-panel p {
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.field label,
.mini-check,
.add-row-btn,
.remove-row-btn,
.submit-btn,
.wizard-btn,
.candidate-nav-links a {
  letter-spacing: 0.025em;
}

.field input,
.field select,
.field textarea {
  text-transform: none !important;
}

.field input[name="first_name"],
.field input[name="middle_name"],
.field input[name="last_name"],
.field input[name="nationality"],
.field input[name="city_town"],
.field input[name="current_job_title"],
.field input[name="candidate_primary_skill"],
.field input[name="secondary_skills"] {
  text-transform: uppercase !important;
}

.submit-btn {
  width: fit-content;
  min-width: 230px;
  min-height: 52px;
  padding: 0 24px;
  background: linear-gradient(135deg, var(--ppgl-gold), #ffe66d);
  color: #07111d;
  box-shadow: 0 18px 38px rgba(255, 210, 0, 0.22);
}

.submit-btn:disabled,
.wizard-btn:disabled,
#agreePrivacyBtn:disabled {
  filter: grayscale(0.15);
}

.candidate-footer {
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(30, 115, 190, 0.16),
      transparent 28%
    ),
    radial-gradient(
      circle at 88% 70%,
      rgba(255, 210, 0, 0.08),
      transparent 24%
    ),
    linear-gradient(135deg, #03070c, #07111d 48%, #081827) !important;
}

.candidate-footer-grid {
  grid-template-columns: 1.35fr 0.85fr 1.05fr;
  gap: 42px;
}

.candidate-footer img {
  height: auto;
  width: 250px;
  max-width: 100%;
}

.candidate-footer p,
.candidate-footer a,
.candidate-footer span {
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.candidate-footer a[href^="mailto:"],
.candidate-footer a[href^="tel:"],
.candidate-footer span {
  position: relative;
  padding-left: 30px;
}

.candidate-footer a[href^="mailto:"]::before,
.candidate-footer a[href^="tel:"]::before,
.candidate-footer span::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 210, 0, 0.1);
  color: var(--ppgl-gold);
  font-size: 0.7rem;
  font-weight: 900;
}

.candidate-footer a[href^="mailto:"]::before {
  content: "@";
}

.candidate-footer a[href^="tel:"]::before {
  content: "☎";
}

.candidate-footer span::before {
  content: "⌖";
}

.privacy-policy-version {
  border-left: 5px solid var(--ppgl-gold);
}

.declaration-panel label {
  text-transform: none !important;
}

@media (max-width: 860px) {
  .candidate-wizard-panel {
    margin: 16px !important;
  }

  .wizard-navigation-actions {
    margin: 16px !important;
  }

  .candidate-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .candidate-footer img {
    width: 220px;
  }
}
