@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
.radio-inputs { position: relative;  background-color: rgba(255, 255, 255, 0.1);  width: 150px;  backdrop-filter: blur(10px);}
.radio-inputs .radio {flex: 1 1 auto;}
.radio-inputs .radio .name { display: flex; cursor: pointer; align-items: center; justify-content: center; border-radius: 0.5rem; padding: 0.5rem 0; color: #cbd5e1; background-color: transparent;}
.radio-inputs .radio input:checked + .name {background: #FF8A00 !important;color: white !important;font-weight: 600 !important;box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;}
.btn-orange {padding: 20px 76px;cursor: pointer;background-color: #ff8a00;}
.cancel-button {   border: 2px solid rgb(71, 85, 105); padding: 20px 35px; cursor: pointer;}
.submit-button {display: inline-flex;align-items: center;justify-content: center;background-color: #ff8a00;color: #ffffff;font-weight: 700;font-size: 15px;border: none;padding: 20px 30px;cursor: pointer;}
.submit-button:disabled { opacity: 0.6; cursor: not-allowed;}
.icon strong {background-color: #ff8a00;}
.top_heading h5 i {  padding: 5px 10px; background-color: #2ea1e4;  color: white; font-size: 1rem;  font-weight: 900;  border-radius: 10px;}
.steps p:first-child {color: rgb(100, 116, 139);font-size: 14px;font-weight: 600;}
.progress-container { width: 100%; background-color: #e0e0e0; border-radius: 25px; overflow: hidden;}
.progress-bar { width: 25%; height: 10px; background: linear-gradient(90.5deg, #4facfe 0%, #00f2fe 100%);border-radius: 25px; transition: width 0.5s ease-in-out;}
.icons {  gap: 20px;  margin-top: 15px;}
.step-icon {  height: 50px;  width: 50px;  background-color: #ccc;}
.step-icon.active {background-color: #2ea1e4;color: #ffffff;}
.step-icon.inactive {opacity: 0.4; background-color: #ccc;}
.step-icon.completed {background-color: #28a745;color: #ffffff;}
.main-form h2 { font-weight: 700; font-size: 24px; line-height: 32px;}
.main-form h2 i { background-color: #2ea1e4;  color: #ffffff;  padding: 5px 10px;  border-radius: 10px;}
.main-form p {font-weight: 400; font-size: 16px; color: rgb(100, 116, 139); line-height: 24px;}
form label span { color: #ff8a00; font-weight: 700; font-size: 1rem; }
form label { font-weight: 600; font-size: 16px; line-height: 24px; }
form input { width: 50%; font-weight: 400; font-size: 18px; color: rgb(2, 8, 23); border: 1px solid #E2E8F0 !important; border-radius: 8px;}
form input:focus {border: 1px solid #4facfe !important;  outline: none;}
::placeholder { color: rgb(175, 169, 169) !important; }
.alert-danger.form-control,.alert-danger.form-select {  background-color: #ffd6d6 !important; border: 1px solid red !important;}
.form-step { display: none; width: 100%; animation: fadeIn 0.5s; }
.form-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.form_btns { height: 20vh; }
.loader-container { display: none; text-align: center; padding: 15px; }
.loader-container img { width: 30px; height: 30px; }
.errorInput { background-color: #ffd6d6 !important; border: 1px solid red !important; }
#errorMsg { font-size: 14px; color: red; margin-top: 5px; }
#form-page.kb-open {filter: blur(2px); opacity: 0.35; pointer-events: none;}
#kb-panel {
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  z-index: 10000;
  background: #f1f5f9;
  border-radius: 22px 22px 0 0 ;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.34, 1.1, 0.64, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#kb-panel.visible {
  transform: translateY(0);
}
#kb-input-section {
  background: #ffffff;
  padding: 16px 22px 14px;
  border-bottom: 2px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#kb-input-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#kb-overlay-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #2ea1e4;
  text-transform: uppercase;
  letter-spacing: 1px;
  flex: 1;
}

#kb-overlay-enter {
  background: #2ea1e4;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 26px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 12px rgba(46, 161, 228, 0.3);
  transition:
    background 0.15s ease,
    transform 0.12s ease;
  user-select: none;
  -webkit-user-select: none;
  white-space: nowrap;
}

#kb-overlay-enter:active {
  background: #1a82c4;
  transform: scale(0.95);
}

#kb-overlay-input-wrap {
  display: flex;
  align-items: center;
  background: #f0f9ff;
  border: 2px solid #2ea1e4;
  border-radius: 12px;
  padding: 13px 18px;
  min-height: 58px;
  font-size: 1.35rem;
  font-weight: 500;
  color: #1e293b;
  overflow: hidden;
  white-space: nowrap;
  width: 50% !important;
  margin: 0 auto !important;
}

#kb-keys-section {
    padding: 12px 10px 18px;
    background: #f1f5f9;
}

.virtual-keyboard {
    display: none;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    z-index: auto !important;
    transition: all 0.5s ease-in;
}

.key-row {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-bottom: 7px;
    flex-wrap: wrap;
}

.key-btn {
    width: 0px;
    height: 50px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    border-radius: 10px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    padding: 0 !important;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.07);
    transition: background 0.1s ease, transform 0.1s ease;
     touch-action: manipulation;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.key-btn:active {
    background-color: #2ea1e4;
    color: white;
    transform: scale(0.92);
    box-shadow: none;
}



.key-btn.action {
    background-color: #2ea1e4;
    color: white;
    width: 105px;
    border-color: #2ea1e4;
    box-shadow: 0 2px 8px rgba(46,161,228,0.22);
}

.key-btn.backspace {
    background-color: #fee2e2;
    color: #dc3545;
    width: 105px;
    border-color: #fca5a5;
}

.key-btn.backspace:active {
    background-color: #dc3545;
    color: white;
}
#kb-trap {
    position: fixed;
    top: -200px;
    left: -200px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    border: none;
    outline: none;
    background: transparent;
    z-index: -1;
    font-size: 16px; 
}
input { height: 70px !important; }
#idleModal .modal-content,
#thankYouModal .modal-content,
#errorModal .modal-content {
    border: none !important;
    border-radius: 30px !important;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.modal-content i {
    padding: 15px;
    background-color: #FEF3C7;
    color: #F59E0B;
    border-radius: 50%;
    height: 80px;
    width: 80px;
    margin: 0px auto;
    font-size: 2rem;
    font-weight: 900;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-header h5 { font-size: 1.5rem; font-weight: 700; }
#thankYouModal .modal-content .modal-icon {
    background-color: #D1FAE5;
    color: #10B981;
}
.reach-options { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; }
.reach-option { position: relative; cursor: pointer; }
.reach-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }

.reach-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d I !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.reach-label i { font-size: 14px; transition: all 0.3s ease; }

.reach-option input[type="radio"]:checked + .reach-label {
    background: #007bff;
    border-color: #007bff;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}


.reach-option input[type="radio"]:checked + .reach-label i { transform: scale(1.1); }
.custom-label { color: #003366; font-size: 1.1rem; }
.section-title { font-weight: 800; color: #003366; font-size: 1.6rem; margin-bottom: 2px; }
.divider { margin: 40px 0; opacity: 0.1; border-top: 2px solid #000; }
.helper-text { font-size: 0.85rem; color: #b0b0b0; margin-top: 5px; }

.custom-input {
    border-radius: 4px;
    border: 1px solid #ced4da;
    padding: 12px 15px;
    color: #555;
    font-size: 0.95rem;
}

.form-check-input {
    height: 1rem !important;
    width: 1rem !important;
}

.custom-input:focus { box-shadow: none; border-color: #0d6efd; }
.form-card { max-width: 900px; background: #fff; padding: 30px; border: 1px solid #eee; }
.custom-check { margin-bottom: 15px; font-size: 0.85rem; color: #555; }
.custom-check .form-check-input { margin-top: 0.3em; }
.content-text { font-size: 0.85rem; text-align: justify; }
.custom-list { list-style-type: disc; padding-left: 20px; font-size: 0.85rem; color: #555; }
.custom-list li { margin-bottom: 5px; }
.sig-tabs { border-bottom: none; }

.sig-tab {
    border: 1px solid #dee2e6;
    background: #f8f9fa;
    padding: 5px 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
}

.sig-tab.active { background: #0066cc; color: white; border-color: #0066cc; }

.sig-input-container {
    border: 1px solid #dee2e6;
    background: #fff;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sig-input {
    font-family: 'Brush Script MT', 'Cursive', cursive;
    font-size: 1.5rem;
    border: none !important;
    text-align: center;
    width: 100% !important;
    height: auto !important;
}

.sig-canvas {
    cursor: crosshair;
    width: 100%;
    height: 150px;
    touch-action: none;
}
#BQPInfo { display: none; }
#addrLoader { display: none; font-size: 13px; color: #555; margin-top: 8px; }
.form-select { height: 50px !important; }
#Step3 .form-control { height: 50px !important; }
#Step2 .form-control { height: 50px !important; }
#Step4 .form-control { height: 50px !important; }
.sig-input { height: auto !important; min-height: 60px; }
#zipUnavailableModal .zip-unavail-modal {
    border: none !important;
    border-radius: 24px !important;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

#zipUnavailableModal .zip-unavail-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff0f0 0%, #ffe4e4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #e53e3e;
    box-shadow: 0 4px 20px rgba(229, 62, 62, 0.2);
    padding: 0 !important;
    background-color: transparent !important;
}

#zipUnavailableModal .zip-unavail-icon i {
    padding: 0 !important;
    background-color: transparent !important;
    color: #e53e3e !important;
    border-radius: 0 !important;
    height: auto !important;
    width: auto !important;
    font-size: 2.4rem !important;
    font-weight: 900 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-shadow: none !important;
}

#zipUnavailableModal .zip-unavail-title {
    font-size: 1.4rem;
    color: #1a202c;
}

#zipUnavailableModal .zip-unavail-zip-label {
    font-size: 0.95rem;
    color: #718096;
}

#zipUnavailableModal .zip-unavail-msg {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.7;
    font-weight: 400 !important;
}

#zipUnavailableModal .zip-unavail-btn-retry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: #fff;
    border: 2px solid #2ea1e4;
    color: #2ea1e4;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

#zipUnavailableModal .zip-unavail-btn-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: #ff8a00;
    border: 2px solid #ff8a00;
    color: #fff;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}
#idleModal .modal-content,
#thankYouModal .modal-content,
#errorModal .modal-content {
    border: none !important;
    border-radius: 30px !important;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.modal-content i {
    padding: 15px;
    background-color: #FEF3C7;
    color: #F59E0B;
    border-radius: 50%;
    height: 80px;
    width: 80px;
    margin: 0px auto;
    font-size: 2rem;
    font-weight: 900;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-header h5 { font-size: 1.5rem; font-weight: 700; }
#thankYouModal .modal-content .modal-icon {
    background-color: #D1FAE5;
    color: #10B981;
}
.reach-options { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; }
.reach-option { position: relative; cursor: pointer; }
.reach-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }

.reach-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.reach-label i { font-size: 14px; transition: all 0.3s ease; }

.reach-option input[type="radio"]:checked + .reach-label {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

.reach-option input[type="radio"]:checked + .reach-label i { transform: scale(1.1); }
.custom-label { color: #003366; font-size: 1.1rem; }
.section-title { font-weight: 800; color: #003366; font-size: 1.6rem; margin-bottom: 2px; }
.divider { margin: 40px 0; opacity: 0.1; border-top: 2px solid #000; }
.helper-text { font-size: 0.85rem; color: #b0b0b0; margin-top: 5px; }

.custom-input {
    border-radius: 4px;
    border: 1px solid #ced4da;
    padding: 12px 15px;
    color: #555;
    font-size: 0.95rem;
}

.form-check-input {
    height: 1rem !important;
    width: 1rem !important;
}

.custom-input:focus { box-shadow: none; border-color: #0d6efd; }
.form-card { max-width: 900px; background: #fff; padding: 30px; border: 1px solid #eee; }
.custom-check { margin-bottom: 15px; font-size: 0.85rem; color: #555; }
.custom-check .form-check-input { margin-top: 0.3em; }
.content-text { font-size: 0.85rem; text-align: justify; }
.custom-list { list-style-type: disc; padding-left: 20px; font-size: 0.85rem; color: #555; }
.custom-list li { margin-bottom: 5px; }
.sig-tabs { border-bottom: none; }

.sig-tab {
    border: 1px solid #dee2e6;
    background: #f8f9fa;
    padding: 5px 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
}

.sig-tab.active { background: #0066cc; color: white; border-color: #0066cc; }

.sig-input-container {
    border: 1px solid #dee2e6;
    background: #fff;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sig-input {
    font-family: 'Brush Script MT', 'Cursive', cursive;
    font-size: 1.5rem;
    border: none !important;
    text-align: center;
    width: 100% !important;
    height: auto !important;
}

.sig-canvas {
    cursor: crosshair;
    width: 100%;
    height: 150px;
    touch-action: none;
}
#BQPInfo { display: none; }
#addrLoader { display: none; font-size: 13px; color: #555; margin-top: 8px; }
.form-select { height: 50px !important; }
#Step3 .form-control { height: 50px !important; }
#Step2 .form-control { height: 50px !important; }
#Step4 .form-control { height: 50px !important; }
.sig-input { height: auto !important; min-height: 60px; }
#zipUnavailableModal .zip-unavail-modal {
    border: none !important;
    border-radius: 24px !important;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

#zipUnavailableModal .zip-unavail-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff0f0 0%, #ffe4e4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #e53e3e;
    box-shadow: 0 4px 20px rgba(229, 62, 62, 0.2);
    padding: 0 !important;
    background-color: transparent !important;
}

#zipUnavailableModal .zip-unavail-icon i {
    padding: 0 !important;
    background-color: transparent !important;
    color: #e53e3e !important;
    border-radius: 0 !important;
    height: auto !important;
    width: auto !important;
    font-size: 2.4rem !important;
    font-weight: 900 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-shadow: none !important;
}

#zipUnavailableModal .zip-unavail-title {
    font-size: 1.4rem;
    color: #1a202c;
}

#zipUnavailableModal .zip-unavail-zip-label {
    font-size: 0.95rem;
    color: #718096;
}

#zipUnavailableModal .zip-unavail-msg {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.7;
    font-weight: 400 !important;
}

#zipUnavailableModal .zip-unavail-btn-retry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: #fff;
    border: 2px solid #2ea1e4;
    color: #2ea1e4;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

#zipUnavailableModal .zip-unavail-btn-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: #ff8a00;
    border: 2px solid #ff8a00;
    color: #fff;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}
