:root {
    --primary-color: #0A2459;
    --secondary-color: #F28907;
    --back-color: #0D0D0D;
    --white-color: #fff;
}

.section-title{
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    padding: 10px 10px;
    margin-bottom: 16px;
    background: var(--secondary-color);
    color: var(--white-color);
    border-radius: 8px;
    letter-spacing: normal;
    text-transform: uppercase;
    font-size: 20px;
}

.invalid-feedback {
    color: red;
    display: block;
}

.form-login select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 98%;
    background-position-y: 12px;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    margin-right: -20px;
}

#email-error {
    position: absolute;
    margin-top: -12px;
}

.form-login .form-control {
    padding: 12px 45px 12px 25px;
}

.form-login {
    background: #fff;
    box-shadow: 0 8px 32px 0 rgb(241 143 11 / 18%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 10px;
    border: 2px solid #f66921;
    position: relative;
}

.custom-line hr {
    position: absolute;
    left: 0;
    bottom: 10;
    width: 100%;
    height: 2px;
    background: #f66921;
}

button.btn-prime-gradient {
    padding: 10px;
    margin-top: 30px;
    height: 50px;
    font-weight: 600;
    border-radius: 14px;
}

.btn-prime-gradient{
    background-image: linear-gradient(to right, #ff9505 0%, #f66921 100%);
    color: #fff;
}

.select2-selection.select2-selection--single {
    height: 51px !important;
    border-radius: 50rem !important;
    padding-left: 15px;
    line-height: normal;
    width: 100% !important;
    background: transparent !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #000 !important;
    line-height: 38px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -19px;
    margin-top: 5px;
    position: absolute;
    top: 50%;
    width: 0;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #0a2459;
    color: white;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #0a2459;
    color: white;
    border-color: #0a2459;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #ff9505 !important;
}

.select2-container--default .select2-selection--multiple {
    min-height: 51px;
    border-radius: 50rem !important;
    padding-left: 15px;
    line-height: normal;
    width: 100% !important;
    background: transparent !important;
    height: auto !important;
}

.multipleselectbox {
    position: relative
}

.multipleselectbox label.error {
    position: absolute;
    left: 20px;
    bottom: 10px;
}

.select2-container {
    width: 100% !important;
}

.inputIndustry-box {
    position: relative
}

.inputIndustry-box label.error {
    position: absolute;
    bottom: -25px;
    left: 15px;
}

p.badge {
    padding: 10px;
    margin-top: 20px;
    font-weight: 700;
    font-size: 14px
}

p.badge a {
    color: #f66921;
}

.otp-modal .modal-content {
    background: #fff;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    overflow: hidden;
    color: #111827;
  }

  .otp-modal .modal-header {
    border-bottom: none;
    padding: 25px 25px 10px;
  }

  .otp-modal .close {
    color: #fff;
    opacity: 0.8;
    text-shadow: none;
  }

  .otp-modal .modal-body {
    padding: 10px 30px 35px;
    text-align: center;
  }

  .otp-icon-wrap {
    width: 85px;
    height: 85px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-image: linear-gradient(to right, #ff9505 0%, #f66921 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgb(255 149 5 / 35%);
  }

  .otp-icon {
    font-size: 38px;
    color: #fff;
  }

  .otp-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .otp-subtitle {
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.6;
  }

  .otp-input-group {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
  }

  .otp-input {
    width: 55px;
    height: 60px;
    border-radius: 14px;
    border: 1.5px solid #a9acb5;
    background: rgba(255,255,255,0.05);
    color: #000;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    transition: 0.3s ease;
  }

  .otp-input:focus {
    outline: none;
    border-color: #ff9505;
    box-shadow: 0 0 0 4px rgba(79,70,229,0.2);
    background: rgba(255,255,255,0.08);
  }

  .btn-verify {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    background-image: linear-gradient(to right, #ff9505 0%, #f66921 100%);
    color: #fff;
    transition: 0.3s ease;
  }

  .btn-verify:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgb(255 149 5 / 30%);
  }

  .otp-footer-text {
    margin-top: 22px;
    font-size: 14px;
  }

  .otp-footer-text a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
  }

  @media(max-width: 480px){
    .otp-input {
      width: 45px;
      height: 52px;
      font-size: 20px;
    }

    .otp-input-group {
      gap: 8px;
    }
  }


  .success-modal {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  }

  .success-modal .modal-body {
    padding: 45px 35px;
  }

  /* ICON */
  .success-icon-wrap {
    width: 110px;
    height: 110px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: rgba(255, 149, 5, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .success-check {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: #ff9505;
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(255,149,5,0.35);
  }

  /* TITLE */
  .success-title {
    font-size: 30px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 15px;
  }

  /* SUBTITLE */
  .success-subtitle {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 35px;
  }

  /* BUTTONS */
  .success-btn-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .btn-continue {
    height: 56px;
    border-radius: 14px;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s ease;
  }

  .btn-continue:hover {
    background: #e68600;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255,149,5,0.25);
  }

  .btn-later {
    height: 56px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s ease;
  }

  .btn-later:hover {
    background: #f9fafb;
    color: #111827;
  }

  @media(max-width: 480px) {

    .success-modal .modal-body {
      padding: 35px 22px;
    }

    .success-title {
      font-size: 24px;
    }

    .success-subtitle {
      font-size: 14px;
    }

  }

    :root {
      --brand: #f28907;
      --brand-dark: #c97006;
      --brand-light: #fff4e5;
      --brand-pale: #fff9f2;
      --white: #ffffff;
      --gray-50: #fafafa;
      --gray-100: #f4f4f5;
      --gray-200: #e4e4e7;
      --gray-400: #a1a1aa;
      --gray-600: #52525b;
      --gray-800: #27272a;
      --success: #16a34a;
      --danger: #dc2626;
      --warning: #f59e0b;
      --sidebar-w: 260px;
    }

    * { box-sizing: border-box; }

    /* ── TOPBAR ── */
    .topbar {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      height: 58px;
      background: var(--white);
      border-bottom: 2px solid var(--brand);
      display: flex; align-items: center; padding: 0 24px;
      gap: 16px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    .topbar-logo { font-size: 22px; font-weight: 800; color: var(--brand); letter-spacing: -0.5px; text-decoration: none; }
    .topbar-logo span { color: var(--gray-800); }
    .topbar-company { font-size: 13px; color: var(--gray-600); margin-left: 8px; padding-left: 16px; border-left: 1px solid var(--gray-200); }
    .topbar-progress { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--gray-600); }
    .progress-pill { width: 120px; height: 8px; background: var(--gray-200); border-radius: 99px; overflow: hidden; }
    .progress-fill { height: 100%; background: var(--brand); border-radius: 99px; transition: width 0.4s ease; }

    /* ── LAYOUT ── */
    .app-layout { display: flex;  min-height: 100vh; width: 100%; }

    /* ── SIDEBAR ── */
    .sidebar {
      width: var(--sidebar-w); min-width: var(--sidebar-w);
      background: var(--white);
      border-right: 1px solid var(--gray-200);
      position: fixed; top: 58px; left: 0; bottom: 0;
      overflow-y: auto; padding: 20px 0;
    }
    .sidebar-heading { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); padding: 0 20px 8px; }
    .step-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 20px; cursor: pointer; transition: background 0.15s; border-left: 3px solid transparent; }
    .step-item:hover { background: var(--gray-50); }
    .step-item.active { background: var(--brand-light); border-left-color: var(--brand); }
    .step-item.done { opacity: 0.95; }
    .step-item.locked { cursor: not-allowed; pointer-events: none; }
    .step-icon { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; margin-top: 1px; background: var(--gray-200); color: var(--gray-600); }
    .step-item.active .step-icon { background: var(--brand); color: #fff; }
    .step-item.done .step-icon { background: var(--success); color: #fff; }
    .step-info { flex: 1; min-width: 0; }
    .step-label { font-size: 13px; font-weight: 600; line-height: 1.3; }
    .step-sub { font-size: 11px; color: var(--gray-400); margin-top: 1px; }

    /* ── MAIN ── */
    .main-content { margin-left: var(--sidebar-w); flex: 1; padding: 32px 28px 80px; max-width: 100%; }
    @media (max-width: 768px) { .sidebar { display: none; } .main-content { margin-left: 0; padding: 20px 16px 80px; } }

    /* ── CARDS ── */
    .step-card { background: var(--white); border-radius: 12px; border: 1px solid var(--gray-200); padding: 32px; margin-bottom: 20px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
    .step-card.hidden { display: none; }
    .step-card-title { font-size: 20px; font-weight: 700; color: var(--gray-800); margin-bottom: 4px; }
    .step-card-sub { font-size: 13px; color: var(--gray-600); margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-100); }
    .section-badge { display: inline-block; background: var(--brand-light); color: var(--brand-dark); font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 99px; letter-spacing: 0.05em; margin-bottom: 16px; text-transform: uppercase; }

    /* ── FORM ── */
    .form-label { font-size: 13px; font-weight: 600; color: #3f3f46; margin-bottom: 4px; }
    .form-label .req { color: var(--danger); margin-left: 2px; }
    .form-label .opt { color: var(--gray-400); font-weight: 400; font-size: 11px; margin-left: 4px; }
    .form-control, .custom-select {
      border: 1.5px solid var(--gray-200); border-radius: 8px; font-size: 13px;
      color: var(--gray-800); background: var(--white);
      height: 50px; transition: border 0.15s, box-shadow 0.15s;
    }
    .form-control:focus, .custom-select:focus {
      border-color: var(--brand); box-shadow: 0 0 0 3px rgba(242,137,7,0.15); outline: none;
    }
    textarea.form-control { height: auto; }
    .help-text { font-size: 11px; color: var(--gray-400); margin-top: 4px; }
    .field-error { font-size: 11px; color: var(--danger); margin-top: 4px; display: none; }
    .form-control.is-invalid { border-color: var(--danger) !important; }
    .form-control.is-valid { border-color: var(--success) !important; }

    /* ── SELECT2 OVERRIDES ── */
    .select2-container--default .select2-selection--multiple {
      border: 1.5px solid var(--gray-200) !important; border-radius: 8px !important;
      min-height: 50px; padding: 3px 6px;
    }
    .select2-container--default.select2-container--focus .select2-selection--multiple {
      border-color: var(--brand) !important; box-shadow: 0 0 0 3px rgba(242,137,7,0.15) !important;
    }
    .select2-container--default .select2-results__option--highlighted[aria-selected] { background-color: var(--brand) !important; }
    .select2-container--default .select2-selection--multiple .select2-selection__choice { background-color: var(--brand-light); border-color: var(--brand); color: var(--brand-dark); font-size: 12px; border-radius: 6px; padding: 2px 8px; }
    .select2-container--default .select2-selection--multiple .select2-selection__choice__remove { color: var(--brand-dark); }
    .select2-container { width: 100% !important; }
    .select2-container--default .select2-selection--single { border: 1.5px solid var(--gray-200) !important; border-radius: 8px !important; height: 40px; }
    .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 40px; font-size: 13px; color: var(--gray-800); }
    .select2-container--default .select2-selection--single .select2-selection__arrow { height: 40px; }
    .select2-container--default.select2-container--open .select2-selection--single,
    .select2-container--default.select2-container--focus .select2-selection--single {
      border-color: var(--brand) !important; box-shadow: 0 0 0 3px rgba(242,137,7,0.15) !important; outline: none;
    }

    /* ── FLATPICKR OVERRIDES ── */
    .flatpickr-input { cursor: pointer; }
    .flatpickr-day.selected, .flatpickr-day.selected:hover { background: var(--brand) !important; border-color: var(--brand) !important; }
    .flatpickr-day:hover { background: var(--brand-light) !important; }

    /* ── UPLOAD ZONE ── */
    .upload-zone {
      border: 2px dashed var(--gray-200); border-radius: 10px;
      padding: 24px 16px; text-align: center; cursor: pointer;
      transition: all 0.2s; background: var(--gray-50);
    }
    .upload-zone:hover, .upload-zone.dragover { border-color: var(--brand); background: var(--brand-pale); }
    .upload-zone i { font-size: 28px; color: var(--brand); margin-bottom: 8px; }
    .upload-zone p { font-size: 13px; margin: 0; color: var(--gray-600); }
    .upload-zone small { color: var(--gray-400); }
    .upload-file-list { margin-top: 12px; }
    .upload-file-item {
      display: flex; align-items: center; gap: 10px;
      background: var(--brand-light); border-radius: 8px;
      padding: 8px 12px; margin-bottom: 6px; font-size: 12px;
    }
    .upload-file-item i { color: var(--brand); }
    .upload-file-item .remove-file { margin-left: auto; color: var(--danger); cursor: pointer; font-size: 14px; }

    /* Upload progress bar */
    .upload-progress-wrap { margin-top: 8px; }
    .upload-progress-bar-bg { height: 6px; border-radius: 99px; background: var(--gray-200); overflow: hidden; }
    .upload-progress-bar-fill { height: 100%; background: var(--brand); border-radius: 99px; transition: width 0.3s ease; width: 0%; }
    .upload-progress-label { font-size: 11px; color: var(--gray-600); margin-top: 4px; display: flex; justify-content: space-between; }
    .upload-status-icon { font-size: 18px; }

    /* ── CHECKBOX ── */
    .check-item {
      display: flex; gap: 12px; padding: 14px 16px;
      background: var(--gray-50); border: 1.5px solid var(--gray-200);
      border-radius: 10px; margin-bottom: 10px; cursor: pointer;
      transition: all 0.15s;
    }
    .check-item:hover { border-color: var(--brand); background: var(--brand-pale); }
    .check-item.checked { border-color: var(--brand); background: var(--brand-light); }
    .check-item input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--brand); margin-top: 2px; flex-shrink: 0; cursor: pointer; }
    .check-item-text { font-size: 13px; line-height: 1.5; }
    .check-item-clause { font-size: 11px; color: var(--brand-dark); font-weight: 600; margin-top: 2px; }

    /* ── RADIO ── */
    .radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
    .radio-btn input { display: none; }
    .radio-btn label { display: inline-block; padding: 7px 18px; border: 2px solid var(--gray-200); border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--gray-600); transition: all 0.15s; }
    .radio-btn input:checked + label { border-color: var(--brand); background: var(--brand-light); color: var(--brand-dark); }
    .radio-btn label:hover { border-color: var(--brand); }

    /* ── SCREENING ── */
    .screen-row { padding: 16px; border-radius: 10px; border: 1.5px solid var(--gray-200); margin-bottom: 12px; transition: border 0.15s; }
    .screen-row.pass { border-color: var(--success); background: #f0fdf4; }
    .screen-row.fail { border-color: var(--danger); background: #fef2f2; }
    .screen-row.warn { border-color: var(--warning); background: #fffbeb; }
    .screen-q { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
    .screen-block-msg { margin-top: 10px; padding: 10px 14px; background: #fee2e2; border-radius: 8px; font-size: 12px; color: var(--danger); display: none; }

    /* ── AGREEMENT ── */
    .agreement-box { border: 1.5px solid var(--gray-200); border-radius: 10px; padding: 20px; font-size: 12px; line-height: 1.7; color: var(--gray-600); background: var(--gray-50); }
    .agreement-box h6 { color: var(--gray-800); font-size: 13px; margin-top: 12px; }
    .accept-statement { background: var(--brand-light); border: 1.5px solid var(--brand); border-radius: 10px; padding: 16px 20px; font-size: 13px; line-height: 1.6; color: var(--gray-800); margin-top: 20px; }
    .accept-statement strong { color: var(--brand-dark); }
    .scroll-notice { text-align: center; font-size: 12px; color: var(--gray-400); margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 6px; }

    /* ── FOOTER ACTIONS ── */
    .step-footer { position: fixed; bottom: 0; left: var(--sidebar-w); right: 0; background: var(--white); border-top: 1px solid var(--gray-200); padding: 14px 28px; display: flex; align-items: center; gap: 12px; z-index: 90; box-shadow: 0 -2px 12px rgba(0,0,0,0.06); }
    @media (max-width: 768px) { .step-footer { left: 0; } }
    .btn-brand { background: var(--brand); border: none; color: #fff; padding: 9px 28px; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; transition: background 0.15s; display: inline-flex; align-items: center; gap: 8px; }
    .btn-brand:hover { background: var(--brand-dark); }
    .btn-brand:disabled { background: var(--gray-400); cursor: not-allowed; }
    .btn-outline { background: transparent; border: 2px solid var(--gray-200); color: var(--gray-600); padding: 8px 20px; border-radius: 8px; font-weight: 600; font-size: 13px; cursor: pointer; transition: all 0.15s; }
    .btn-outline:hover { border-color: var(--brand); color: var(--brand); }
    .btn-save { margin-left: auto; font-size: 12px; color: var(--gray-400); background: none; border: none; cursor: pointer; display: flex; align-items: center; gap: 6px; }
    .btn-save:hover { color: var(--brand); }

    /* ── STATUS BADGE ── */
    .status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 99px; font-size: 12px; font-weight: 700; }
    .status-draft { background: var(--gray-100); color: var(--gray-600); }
    .status-submitted { background: #dbeafe; color: #1d4ed8; }
    .status-approved { background: #dcfce7; color: var(--success); }

    /* ── SUMMARY ── */
    .summary-group { margin-bottom: 20px; }
    .summary-group-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand); margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--brand-light); }
    .summary-row { display: flex; gap: 8px; font-size: 13px; padding: 4px 0; }
    .summary-key { color: var(--gray-400); min-width: 160px; flex-shrink: 0; }
    .summary-val { color: var(--gray-800); font-weight: 500; }

    /* ── ALERT ── */
    .alert-info-custom { background: var(--brand-light); border: 1px solid var(--brand); border-radius: 10px; padding: 12px 16px; font-size: 13px; color: var(--gray-800); display: flex; gap: 10px; }
    .alert-info-custom i { color: var(--brand); margin-top: 1px; flex-shrink: 0; }

    /* Utilities */
    .hidden,
    .step-panel.hidden,
    .step-card.hidden {
      display: none !important;
    }

    .step-panel {
      display: block;
    }

    .d-none { display: none !important; }

    /* Toastr overrides */
    #toast-container > .toast { border-radius: 10px !important; font-size: 13px; font-weight: 600; }
    #toast-container > .toast-warning { background-color: var(--brand) !important; }
    #toast-container > .toast-success { background-color: var(--success) !important; }
    #toast-container > .toast-error { background-color: var(--danger) !important; }
    .flatpickr-input.form-control[readonly]{background: var(--white) !important;}