*{box-sizing:border-box}
:root{
  --navy:#34445d;
  --muted:#747d91;
  --light-muted:#aeb5c6;
  --line:#d4d9e4;
  --input:#f6f7fa;
  --yellow:#ffc20a;
  --yellow-hover:#efb500;
}
html,body{min-height:100%}
body{
  margin:0;
  background:#fff;
  color:var(--navy);
  font-family:"Nunito Sans",Arial,sans-serif;
}
.page-shell{min-height:100vh;padding:11px}
.application-card{
  position:relative;
  display:flex;
  flex-direction:column;
  width:min(100%,768px);
  height:544px;
  margin:0 auto;
  overflow:hidden;
  background:#fff;
  border:1px solid #e2e5eb;
  border-radius:5px;
}
.scroll-area{
  flex:1;
  overflow-y:auto;
  padding:49px 47px 125px 40px;
  scrollbar-color:#777 transparent;
}
.scroll-area::-webkit-scrollbar{width:15px}
.scroll-area::-webkit-scrollbar-track{background:transparent}
.scroll-area::-webkit-scrollbar-thumb{
  background:#777;
  border:5px solid transparent;
  border-radius:10px;
  background-clip:content-box;
}
.company-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
}
.company-header h1{
  margin:2px 0 7px;
  color:#70788b;
  font-size:13px;
  font-weight:800;
  line-height:1;
}
.identifiers{
  display:flex;
  gap:15px;
  color:#666f82;
  font-size:10px;
  font-weight:700;
}
.brand-logo{
  display:block;
  width:205px;
  height:auto;
  margin-top:-7px;
  object-fit:contain;
}
.section-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  margin-top:39px;
}
.section-heading h2{
  margin:0;
  font-size:19px;
  font-weight:700;
  line-height:1.1;
}
.section-heading p{
  margin:2px 0 0;
  color:#737b8f;
  font-size:15px;
  font-weight:600;
}
.section-heading>span{
  margin-top:4px;
  color:#4f596c;
  font-size:10px;
  font-weight:700;
}
.progress-wrap {
  width: 100%;
  margin-top: 20px;
}

.progress-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #8a8a8a transparent;
}

.progress-scroll::-webkit-scrollbar {
  height: 4px;
}

.progress-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.progress-scroll::-webkit-scrollbar-thumb {
  background: #8a8a8a;
  border-radius: 20px;
}

.progress-content {
  position: relative;
  width: 100%;
  min-width: 680px;
  padding: 0 6px;
}

.progress-line {
  position: absolute;
  top: 5px;
  left: 38px;
  right: 38px;
  height: 2px;
  background: #c9cfdd;
  z-index: 0;
}

.completed-line {
  display: block;
  width: 50%;
  height: 100%;
  background: #ffc20a;
}

.steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(9, minmax(65px, 1fr));
  width: 100%;
}

.step {
  min-width: 0;
  text-align: center;
}

.step i {
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto 5px;
  background: #c3cad9;
  border-radius: 50%;
}

.step.done i,
.step.current i {
  background: #ffc20a;
}

.step b {
  display: block;
  color: #aab1c1;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.step.done b,
.step.current b {
  color: #111827;
  font-weight: 800;
}
.field-section h3{
  margin:0 0 15px;
  padding-bottom:3px;
  color:#7b8294;
  border-bottom:2px solid #e2e4ea;
  font-size:15px;
  font-weight:700;
}
.form-group{margin-bottom:12px}
.form-group label{
  display:block;
  margin:0 0 7px;
  color:#1f2939;
  font-size:9px;
  font-weight:800;
}
.form-group>input,
.phone-field{
  width:100%;
  min-height:55px;
  background:var(--input);
  border:1px solid transparent;
  border-radius:5px;
}
.form-group>input{
  padding:0 23px;
  color:#34445d;
  outline:none;
  font:inherit;
  font-size:15px;
}
.form-group input::placeholder{color:#7d8598}
.form-group>input:focus,
.phone-field:focus-within{
  border-color:#65738a;
  background:#fff;
  box-shadow:0 0 0 1px rgba(52,68,93,.05);
}
.phone-field{
  display:flex;
  align-items:center;
  overflow:hidden;
}
.country-select{
  display:flex;
  align-items:center;
  gap:8px;
  height:55px;
  padding:0 0 0 9px;
  color:#263248;
  background:transparent;
  border:0;
  font:inherit;
  font-size:14px;
  cursor:pointer;
}
.flag{font-size:16px}
.chevron{color:#5d6677;font-size:11px}
.dial-code{font-weight:700}
.phone-field input{
  flex:1;
  min-width:0;
  height:55px;
  padding:0 18px 0 10px;
  color:#34445d;
  background:transparent;
  border:0;
  outline:none;
  font:inherit;
  font-size:15px;
}
.invalid{border-color:#d74747!important}
.error-message{
  display:block;
  min-height:13px;
  margin-top:4px;
  color:#c33;
  font-size:10px;
}
.authorization-note{
  margin:4px 0 0;
  color:#747d91;
  font-size:10.5px;
  font-style:italic;
  font-weight:600;
  line-height:1.35;
}
.action-bar{
  position:absolute;
  right:39px;
  bottom:31px;
  width:686px;
  min-height:80px;
  padding:12px;
  background:#fff;
  border:1px solid var(--yellow);
  border-radius:9px;
  box-shadow:0 8px 14px rgba(41,51,70,.12);
}
.button-group{display:flex;justify-content:flex-end;gap:8px}
.btn{
  height:53px;
  min-width:156px;
  padding:0 22px;
  border-radius:5px;
  font:inherit;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
}
.btn.secondary{
  color:#99a0b2;
  background:#fff;
  border:1px solid #aeb9cd;
}
.btn.secondary:hover{color:#59657a;border-color:#6e7d97}
.btn.primary{
  color:#fff;
  background:var(--yellow);
  border:1px solid var(--yellow);
}
.btn.primary:hover:not(:disabled){
  background:var(--yellow-hover);
  border-color:var(--yellow-hover);
}
.btn.primary:disabled{
  color:#fff;
  background:#e9eaee;
  border-color:#e9eaee;
  cursor:not-allowed;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.payment-description {
  margin-top: 30px;
  margin-bottom: 40px;
  font-size: 17px;
  color: #253550;
}

.payment-fields {
  margin-top: 0;
}
[hidden] {
  display: none !important;
}
/* Payment screen should not show a section divider heading */
.payment-fields h3 {
  display: none;
}

@media (max-width: 700px) {
  .payment-description {
    margin-top: 24px;
    margin-bottom: 28px;
    font-size: 15px;
  }
}

.questionnaire-content {
  margin-top: 26px;
}

.question-title {
  margin: 0;
  color: #111827;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.upload-instruction {
  margin: 4px 0 16px;
  color: #8b93a7;
  font-size: 10px;
  font-weight: 800;
}

.upload-area {
  width: 100%;
}

.upload-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  color: #e8ad00;
  background: #fffdf7;
  border: 1.5px dashed #f1be35;
  border-radius: 8px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.upload-box:hover {
  background: #fff9e8;
  border-color: #e4a900;
}

.upload-plus {
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}

.selected-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 430px);
  min-height: 72px;
  padding: 12px 15px;
  background: #f6f7fa;
  border: 1px solid #e0e3ea;
  border-radius: 7px;
}

.file-information {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.file-information > div {
  min-width: 0;
}

.file-information strong {
  display: block;
  max-width: 290px;
  overflow: hidden;
  color: #34445d;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-information small {
  display: block;
  margin-top: 3px;
  color: #80899b;
  font-size: 10px;
}

.file-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 43px;
  flex-shrink: 0;
  color: #fff;
  background: #d84a4a;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
}

.remove-file {
  padding: 6px 8px;
  color: #7a8395;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.remove-file:hover {
  color: #b32f2f;
}

.eld-content {
  margin-top: 26px;
}

.eld-question {
  margin: 0 0 18px;
  color: #111827;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.eld-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.eld-option {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 0 18px;
  background: #f6f7fa;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.eld-option:hover {
  background: #f1f3f7;
}

.eld-option.selected {
  background: #fff;
  border-color: #ffc20a;
}

.eld-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.custom-radio {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-right: 15px;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
}

.eld-option.selected .custom-radio {
  background: #ffc20a;
  border-color: #ffc20a;
}

.eld-option.selected .custom-radio::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.eld-option-text {
  color: #747d91;
  font-size: 15px;
  font-weight: 700;
}

.eld-option.selected .eld-option-text {
  color: #172033;
}

.eld-provider-section {
  margin-top: 31px;
}

.eld-provider-section h3 {
  margin: 0 0 16px;
  color: #111827;
  font-size: 15px;
  font-weight: 800;
}

.eld-provider-section.hidden {
  display: none;
}

@media (max-width: 700px) {
  .eld-content {
    margin-top: 24px;
  }

  .eld-question {
    margin-bottom: 17px;
    font-size: 14px;
  }

  .eld-options {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .eld-option {
    min-height: 62px;
    padding: 0 15px;
  }

  .eld-option-text {
    font-size: 13px;
  }

  .eld-provider-section {
    margin-top: 27px;
  }

  .eld-provider-section h3 {
    font-size: 14px;
  }
}

.confirmation-screen {
  max-width: 650px;
  margin: 36px auto 0;
  padding: 0 4px 50px;
}

.confirmation-icon {
  width: 82px;
  height: 82px;
  margin-bottom: 14px;
}

.confirmation-envelope {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 58px;
  margin-top: 18px;
  background: #e4e5e8;
}

.confirmation-envelope::before,
.confirmation-envelope::after {
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  content: "";
}

.confirmation-envelope::before {
  left: 0;
  border-top: 29px solid transparent;
  border-bottom: 29px solid transparent;
  border-left: 38px solid #f2f3f5;
}

.confirmation-envelope::after {
  right: 0;
  border-top: 29px solid transparent;
  border-bottom: 29px solid transparent;
  border-right: 38px solid #f2f3f5;
}

.confirmation-envelope span {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: #b8bcc4;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 800;
}

.confirmation-screen h2 {
  margin: 0 0 34px;
  color: #111;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
}

.confirmation-screen p {
  margin: 0;
  color: #171717;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.55;
}

.confirmation-mode .section-heading,
.confirmation-mode .progress-wrap,
.confirmation-mode .action-bar {
  display: none;
}

@media (max-width: 700px) {
  .confirmation-screen {
    margin-top: 20px;
    padding: 0 16px 40px;
  }

  .confirmation-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 16px;
  }

  .confirmation-envelope {
    width: 58px;
    height: 45px;
  }

  .confirmation-envelope::before {
    border-top-width: 22.5px;
    border-bottom-width: 22.5px;
    border-left-width: 29px;
  }

  .confirmation-envelope::after {
    border-top-width: 22.5px;
    border-bottom-width: 22.5px;
    border-right-width: 29px;
  }

  .confirmation-envelope span {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }

  .confirmation-screen h2 {
    margin-bottom: 24px;
    font-size: 31px;
  }

  .confirmation-screen p {
    font-size: 20px;
    line-height: 1.55;
  }
}

@media (max-width: 700px) {
  .questionnaire-content {
    margin-top: 24px;
  }

  .question-title {
    font-size: 14px;
  }

  .upload-instruction {
    margin-bottom: 14px;
    font-size: 8px;
  }

  .upload-box {
    width: 80px;
    height: 80px;
  }

  .selected-file {
    width: 100%;
  }

  .file-information strong {
    max-width: 190px;
  }
}

@media(max-width:700px){
  .page-shell{padding:0}
  .application-card{width:100%;height:100vh;border:0;border-radius:0}
  .scroll-area{padding:30px 20px 150px}
  .brand-logo{width:150px}
  .steps{overflow-x:auto;grid-template-columns:repeat(9,80px);padding-bottom:6px}
  .progress-line{display:none}
  .action-bar{right:12px;bottom:12px;left:12px;width:auto}
  .button-group{flex-direction:column-reverse}
  .btn{width:100%}
}


@media (max-width: 700px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .page-shell {
    min-height: 100dvh;
    padding: 0;
  }

  .application-card {
    width: 100%;
    min-height: 100dvh;
    height: 100dvh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .scroll-area {
    width: 100%;
    padding: 18px 9px 125px;
    overflow-x: hidden;
  }

  .company-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }

  .company-header > div:first-child {
    min-width: 0;
  }

  .company-header h1 {
    margin: 0 0 6px;
    font-size: 10px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .identifiers {
    display: flex;
    gap: 14px;
    font-size: 7px;
    white-space: nowrap;
  }

  .brand-logo {
    flex-shrink: 0;
    width: 125px;
    max-width: 42%;
    height: auto;
    margin-top: -3px;
  }

  .section-heading {
    align-items: flex-start;
    margin-top: 29px;
  }

  .section-heading h2 {
    margin: 0;
    font-size: 16px;
    line-height: 1.1;
  }

  .section-heading p {
    margin-top: 2px;
    font-size: 12px;
  }

  .section-heading > span {
    margin-top: 3px;
    font-size: 8px;
  }

  .progress-wrap {
    position: relative;
    width: 100%;
    margin-top: 14px;
  }

  .progress-scroll {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .progress-content {
    position: relative;
    width: 100%;
    min-width: 0;
    padding: 0;
  }

  .steps {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    width: 100%;
    min-width: 0;
  }

  .step {
    display: flex;
    justify-content: center;
    min-width: 0;
  }

  .step i {
    width: 11px;
    height: 11px;
    margin: 0;
    background: #c6ccda;
    border-radius: 50%;
  }

  .step.done i,
  .step.current i {
    background: #ffc20a;
  }

  .step b {
    display: none;
  }

  .progress-line {
    position: absolute;
    z-index: 1;
    top: 4.5px;
    left: calc(100% / 18);
    right: calc(100% / 18);
    display: block;
    height: 2px;
    background: #c6ccda;
  }

  .completed-line {
    display: block;
    width: 50%;
    height: 100%;
    background: #ffc20a;
  }

  .description {
    margin: 24px 0 27px;
    font-size: 13px;
    line-height: 1.4;
  }

  .field-section h3 {
    margin-bottom: 13px;
    font-size: 13px;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .form-group label {
    margin-bottom: 7px;
    font-size: 7.5px;
  }

  .form-group > input,
  .phone-field {
    min-height: 47px;
  }

  .form-group > input {
    height: 47px;
    padding: 0 19px;
    font-size: 13px;
  }

  .phone-field input,
  .country-select {
    height: 47px;
  }

  .phone-field input {
    padding-left: 7px;
    font-size: 13px;
  }

  .country-select {
    gap: 6px;
    padding-left: 9px;
    font-size: 11px;
  }

  .authorization-note {
    font-size: 9px;
    line-height: 1.35;
  }

  .action-bar {
    position: absolute;
    right: 7px;
    bottom: 4px;
    left: 7px;
    width: auto;
    min-height: auto;
    padding: 10px;
    border-radius: 8px;
  }

  .button-group {
    width: 100%;
  }

  .btn {
    width: 100%;
    min-width: 0;
    height: 45px;
    font-size: 12px;
  }
}