*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --blue: rgb(0, 114, 187);
    --blue-dark: rgb(0, 90, 155);
    --blue-light: rgba(0, 114, 187, 0.12);
    --blue-lighter: rgba(0, 114, 187, 0.07);
    --bg: #eef3f9;
    --card: #ffffff;
    --text: #1a2332;
    --text-muted: #6b7a8d;
    --border: #e2e8f0;
    --input-bg: #f7f9fc;
  }

  body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    min-height: 100vh;
    color: var(--text);
  }

  /* PAGES */
  .page { display: none; min-height: 100vh; }
  .page.active { display: flex; flex-direction: column; }

  /* HEADER */
  .header {
    text-align: center;
    padding: 30px 20px 0;
    position: relative;
  }
  .logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 6px;
  }
  .logo-imgXXX {
    height: 66px;
    width: 300px;
    object-fit: contain;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    display: block;
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-image: url("/wp-content/uploads/2026/04/www_kjaergaard_logo_RGB_PNG.png");
  }
  .header p {
    color: var(--text-muted);
    margin-top: 18px;
    font-size: 0.95rem;
  }
  .progress-badge {
    position: fixed;
    top: 20px;
    left: 20px;
    background: white;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 100;
  }

  /* STEPPER */
  .stepper-wrap {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
    padding: 20px 40px 32px;
  }
  .progress-bar-track {
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    margin-bottom: 20px;
    overflow: hidden;
  }
  .progress-bar-fill {
    height: 100%;
    background: var(--blue);
    border-radius: 2px;
    transition: width 0.4s ease;
  }
  .stepper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }
  .step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
  }
  .step-square {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: none;
    background: #e8eef5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #9aaab8;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  }
  .step-square.active {
    background: var(--blue);
    color: white;
  }
  .step-square.done {
    background: var(--blue);
    color: white;
  }
  .step-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
    line-height: 1.3;
  }
  .step-label.active { color: var(--text); font-weight: 600; }

  /* CARD */
  .card {
    background: white;
    border-radius: 20px;
    padding: 40px 44px;
    max-width: 680px;
    width: calc(100% - 40px);
    margin: 0 auto 40px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  }
  .card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
  }
  .card > p {
    color: var(--text-muted);
    margin-bottom: 28px;
    font-size: 0.95rem;
  }

  /* INPUTS */
  .input-group {
    position: relative;
    margin-bottom: 16px;
  }
  .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 18px;
    height: 18px;
  }
  .input-group input {
    width: 100%;
    padding: 16px 16px 16px 46px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    background: var(--input-bg);
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
  }
  .input-group input:focus { border-color: var(--blue); background: white; }
  .input-group input::placeholder { color: #a0aab4; }

  /* BUTTONS */
  .btn-primary {
    width: 100%;
    padding: 17px;
    background: var(--blue);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    transition: background 0.2s, transform 0.1s;
  }
  .btn-primary:hover { background: var(--blue-dark); }
  .btn-primary:active { transform: scale(0.99); }

  .btn-row {
    display: flex;
    gap: 12px;
    margin-top: 24px;
  }
  .btn-back {
    flex: 1;
    padding: 17px;
    background: white;
    color: var(--text);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: border-color 0.2s;
  }
  .btn-back:hover { border-color: #b0bac5; }
  .btn-next { flex: 1.5; margin-top: 0; }

  /* UPLOAD */
  .upload-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .upload-label .req { color: #e53e3e; }
  .upload-zone {
    border: 2px dashed #c8d5e0;
    border-radius: 14px;
    padding: 36px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: #fafbfc;
  }
  .upload-zone:hover { border-color: var(--blue); background: var(--blue-lighter); }
  .upload-zone.dragover { border-color: var(--blue); background: var(--blue-lighter); }
  .upload-zone.has-file { border-color: var(--blue); background: var(--blue-lighter); }
  .upload-icon-wrap {
    width: 52px;
    height: 52px;
    background: var(--blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
  }
  .upload-icon-wrap svg { color: var(--blue); }
  .upload-zone p { font-size: 0.9rem; color: var(--text-muted); }
  .upload-zone p span { color: var(--blue); font-weight: 600; cursor: pointer; }
  .upload-zone .hint { font-size: 0.78rem; color: #a0aab4; margin-top: 4px; }
  .upload-zone input[type="file"] { display: none; }
  .file-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--blue);
    margin-top: 8px;
  }

  /* DIVIDER */
  .divider { height: 1px; background: var(--border); margin: 28px 0; }

  /* SECTION (step 3) */
  .section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
  }
  .section-sub {
    font-size: 0.83rem;
    color: var(--text-muted);
    margin-bottom: 16px;
  }

  /* LOCATION CHIPS */
  .chip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }
  .chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: white;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: border-color 0.15s, background 0.15s;
    user-select: none;
  }
  .chip:hover { border-color: var(--blue); background: var(--blue-lighter); }
  .chip.selected { border-color: var(--blue); background: var(--blue-lighter); color: var(--blue); }
  .chip-icon {
    width: 32px;
    height: 32px;
    background: var(--blue-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .chip-icon svg { color: var(--blue); }

  /* CATEGORY GRID */
  .cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  /* JOB INPUT */
  .job-input-wrap {
    position: relative;
  }
  .job-input-wrap svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
  }
  .job-input-wrap input {
    width: 100%;
    padding: 15px 16px 15px 44px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    background: var(--input-bg);
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
  }
  .job-input-wrap input:focus { border-color: var(--blue); background: white; }
  .job-input-wrap input::placeholder { color: #a0aab4; }

  /* SOURCE GRID */
  .source-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  /* CONSENT */
  .consent-wrap {
    margin-top: 20px;
  }
  .consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 16px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: var(--input-bg);
    transition: border-color 0.2s;
  }
  .consent-label:hover { border-color: var(--blue); }
  .consent-label.invalid-consent { border-color: #e53e3e; }
  .consent-label input[type="checkbox"] { display: none; }
  .consent-box {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--border);
    border-radius: 6px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    transition: background 0.15s, border-color 0.15s;
  }
  .consent-label input:checked ~ .consent-box {
    background: var(--blue);
    border-color: var(--blue);
  }
  .consent-label input:checked ~ .consent-box::after {
    content: '';
    display: block;
    width: 5px;
    height: 9px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
  }
  .consent-text {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
  }
  .consent-text a { color: var(--blue); text-decoration: none; font-weight: 500; }

  /* VALIDATION ERROR */
  .error-msg {
    color: #e53e3e;
    font-size: 0.8rem;
    margin-top: 6px;
    display: none;
  }
  .input-group input.invalid { border-color: #e53e3e !important; }
  .upload-zone.invalid { border-color: #e53e3e !important; }
  .job-input-wrap input.invalid { border-color: #e53e3e !important; }

  /* SUCCESS PAGE */
  #page-4 {
    background: linear-gradient(135deg, #e8f2fb 0%, #f0f6fd 50%, #e3edf8 100%);
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
  }
  .confetti-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
  }
  .success-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 560px;
    width: calc(100% - 40px);
    padding: 40px 20px;
    margin: auto;
  }
  .success-icon-wrap {
    width: 90px;
    height: 90px;
    background: var(--blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
  }
  .success-icon-wrap .check-circle {
    width: 64px;
    height: 64px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .success-icon-wrap .star {
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 1.4rem;
  }
  .success-inner h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 10px;
  }
  .success-inner > p {
    color: var(--text-muted);
    margin-bottom: 28px;
    font-size: 0.95rem;
  }
  .info-card {
    background: white;
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
    text-align: left;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  }
  .info-card-icon {
    width: 44px;
    height: 44px;
    background: var(--blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .info-card-icon svg { color: white; }
  .info-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
  .info-card p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.5; }
  .success-contact {
    margin-top: 20px;
    font-size: 0.83rem;
    color: var(--text-muted);
  }
  .success-contact a { color: var(--blue); font-weight: 600; text-decoration: none; }

  /* STEP 3 CARD (full white panel with left sidebar bg) */
  #page-3 {
    background: var(--bg);
  }
  #page-3 .step3-layout {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
  }
  #page-3 .step3-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: var(--bg);
  }
  #page-3 .step3-content {
    flex: 1;
    background: white;
    min-height: calc(100vh - 180px);
    padding: 40px 44px 40px;
    border-radius: 20px 0 0 20px;
    margin-bottom: 40px;
  }

  @media (max-width: 768px) {
    .card { padding: 28px 20px; }
    .cat-grid { grid-template-columns: 1fr; }
    .source-grid { grid-template-columns: 1fr 1fr; }
    #page-3 .step3-sidebar { display: none; }
    #page-3 .step3-content { border-radius: 20px; margin: 0 20px 40px; }
    .header h1 { font-size: 1.8rem; }
  }