@font-face {
  font-family: "SF-PRO";
  src: url(source/typography/SFPRODISPLAYMEDIUM.OTF)
}

@font-face {
  font-family: "SF-REGU";
  src: url(source/typography/SFPRODISPLAYREGULAR.OTF)
}


* { box-sizing: border-box; }

  body {
    margin: 0;
    background: #f5f6f7;
    font-family: "SF-PRO";
    color: #333;
    padding: 40px 20px;
  }

  .page {
    max-width: 1040px;
    margin: 0 auto;
  }

  .logo img{
    width: 220px;
  }

  .layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
    align-items: start;
  }

  /* ---- shared card style ---- */
  .card {
    background: #fff;
    border: 1px solid #e3e5e8;
    border-radius: 25px;
    padding: 25px;
  }

  /* ---- left column ---- */
  .left-col { display: flex; flex-direction: column; gap: 16px; }

  .accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
  }

  .accordion-title .icon { font-size: 16px; }

  .accordion-content p{
    font-family: "SF-REGU";
    font-size: 14px;
  }

  .info-card {
    background: #eaf3fd;
    border: 1px solid #cfe4f8;
  }
  .info-card .accordion-title { color: #1a1a1a; }
  .info-card p {
    margin: 10px 0 0 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: #333;
  }
  .info-card .icon { color: #2f80ed; }

  .req-card .icon { color: #14b866; }
  .req-card p {
    font-size: 13.5px;
    line-height: 1.5;
    margin: 12px 0 16px 0;
    color: #444;
  }
  .req-card a { color: #2f80ed; text-decoration: underline; }

  .tabs {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid #e3e5e8;
    margin-bottom: 14px;
  }
  
  .tab.active {
    color: #2f80ed;
    border-bottom: 2px solid #2f80ed;
  }

  .req-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .req-list li {
    display: flex;
    gap: 8px;
    font-size: 13.5px;
    line-height: 1.4;
    color: #333;
  }
  .req-list .check { color: #14b866; flex-shrink: 0; }

  /* ---- right column (form) ---- */
  .form-card { padding: 40px; }

  .progress-label {
    text-align: center;
    color: #14b866;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 8px;
  }
  .progress-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 24px;
  }
  .progress-bar span {
    flex: 1;
    height: 6px;
    border-radius: 4px;
    background: #e3e5e8;
  }
  .progress-bar span.filled { background: #4de489; }

  h1.form-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 28px 0;
  }

  .field {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 1px solid #d8dade;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fff;
  }
  .field::placeholder { color: #9a9a9a; }

  select.field {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
  }

  label.field-label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
  }

  .amount-row {
    display: flex;
    gap: 10px;
    margin-bottom: 6px;
  }
  .amount-row .field { margin-bottom: 0; }
  .amount-row input { flex: 1; }
  .amount-row select { width: 110px; }

  .range-hints {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
    margin-bottom: 16px;
  }

  .rate-note {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #eaf3fd;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: #2f66a5;
    margin-bottom: 20px;
  }
  .rate-note .icon { color: #2f80ed; }

  .question-label {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
  }

  .radio-row {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
  }
  .radio-option {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #d8dade;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
  }
  .radio-option input { width: 16px; height: 16px; accent-color: #2f80ed; }

  .checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0 28px 0;
    font-size: 13.5px;
    color: #333;
  }
  .checkbox-row input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
  }
  .checkbox-row a { color: #2f80ed; text-decoration: underline; }

  .actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .back-link {
    color: #2f80ed;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
  }
  .btn-next {
    background: #2f80ed;
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
  }
  .btn-next:hover { background: #2569c9; }

  /* button to upload*/

  .question-label {
  max-width: 480px;
  margin: 0 auto 16px;
  font-size: 15px;
  color: #222;
  font-weight: 500;
}
 
/* The dashed dropzone container */
.upload-box {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border: 2px dashed #d6d6de;
  border-radius: 14px;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
 
/* Highlight while dragging a file over it */
.upload-box.drag-over {
  border-color: #7c8cf8;
  background: #f7f8ff;
}
 
.doc-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: #b0b0bb;
  display: flex;          /* new */
  align-items: center;    /* centers vertically */
  justify-content: center; /* centers horizontally */
}
 
.doc-icon svg {
  width: 100%;
  height: 100%;
}
 
.upload-title {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  margin: 0 0 6px;
}
 
.doc-icon img{
  width: 120px;
  object-fit: contain; 
}

#real-input {
  display: none;
}
 
.browse-btn {
  background: #fff;
  border: 1px solid #dcdce4;
  color: #333;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}
 
.browse-btn:hover {
  background: #f4f4f7;
}
 
.file-name {
  margin-top: 12px;
  font-size: 13px;
  color: #555;
}


  @media (max-width: 800px) {
    .layout { grid-template-columns: 1fr; }
    .form-card { padding: 24px; }
  }

  /* ---- thank-you popup ---- */
  .modal-overlay {
    display: none;              /* hidden by default, JS switches this to flex */
    position: fixed;
    inset: 0;                   /* top/right/bottom/left: 0, covers the whole screen */
    background: rgba(0, 0, 0, 0.45);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
  }

  .modal-overlay.show {
    display: flex;
  }

  .modal-box {
    background: #fff;
    border-radius: 20px;
    padding: 40px 32px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    animation: modal-pop 0.25s ease;
  }

  @keyframes modal-pop {
    from { transform: scale(0.9); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
  }

  .modal-icon {
    width: 56px;
    height: 56px;
    line-height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #e6f9ef;
    color: #14b866;
    font-size: 26px;
    font-weight: 700;
  }

  .modal-title {
    font-size: 19px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px;
  }

  .modal-text {
    font-family: "SF-REGU";
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin: 0 0 16px;
  }

  .modal-redirect {
    font-size: 12.5px;
    color: #999;
    margin: 0;
  }

  /* ---- red alert popup ---- */
  .alert-box {
    background: #fff;
    border-radius: 20px;
    max-width: 380px;
    width: 100%;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    animation: modal-pop 0.25s ease;
  }

  .alert-topbar {
    background: #e8382e;
    padding: 14px 18px;
    display: flex;
    gap: 8px;
  }

  .alert-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
  }

  .alert-body {
    padding: 32px 28px 28px;
  }

  .alert-icon {
    width: 60px;
    height: 60px;
    line-height: 56px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 4px solid #f4a9a4;
    color: #e8382e;
    font-size: 30px;
    font-weight: 800;
  }

  .alert-text {
    font-family: "SF-REGU";
    font-size: 14.5px;
    line-height: 1.55;
    color: #333;
    margin: 0 0 24px;
  }

  .alert-btn {
    background: #e8382e;
    color: #fff;
    border: none;
    width: 100%;
    padding: 14px 20px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
  }

  .alert-btn:hover {
    background: #cc2f26;
  }


