@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

/* ============================================================
   LANGUAGE RADIO
============================================================ */
.radio-inputs {
    position: relative;
    display: flex;
    border-radius: 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.25rem;
    width: 150px;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.radio-inputs .radio {
    flex: 1 1 auto;
    text-align: center;
}

.radio-inputs .radio input {
    display: none;
}

.radio-inputs .radio .name {
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    color: #cbd5e1;
    transition: all 0.3s ease;
    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;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn-orange {
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    border: none;
    padding: 20px 76px;
    cursor: pointer;
    border-radius: 20px;
    background-color: #ff8a00;
}

.cancel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    line-height: 18px;
    border: 2px solid rgb(71, 85, 105);
    color: rgb(71, 85, 105);
    padding: 20px 35px;
    background-color: transparent;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.cancel-button:hover {
    background-color: rgb(71, 85, 105);
    color: white;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ff8a00;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    border: none;
    padding: 20px 76px;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #e67e00;
    transform: translateY(-2px);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ============================================================
   NAVIGATION / HEADER
============================================================ */
#form-page .icon { border: none; }

.icon strong {
    padding: 10px;
    background-color: #ff8a00;
    color: white;
    border-radius: 10px;
}

.top_heading h5 i {
    padding: 5px 10px;
    background-color: #2ea1e4;
    color: white;
    font-size: 1rem;
    font-weight: 900;
    border-radius: 10px;
}

.top_heading h5 { font-weight: 700; }

/* ============================================================
   STEPS / PROGRESS
============================================================ */
.steps p:first-child {
    color: rgb(100, 116, 139);
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.percent {
    color: #2ea1e4 !important;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
}

.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%);
    color: white;
    border-radius: 25px;
    transition: width 0.5s ease-in-out;
}

/* ============================================================
   STEP ICONS
============================================================ */
.icons {
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
    margin-top: 15px;
}

.step-icon {
    font-size: 24px;
    transition: all 0.3s ease-in-out;
    cursor: default;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
    border-radius: 50%;
    font-weight: 900;
    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 AREA
============================================================ */
.main-form {
    min-height: 75vh;
    width: 100%;
}

.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 INPUTS & LABELS
============================================================ */
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; }

/* Error highlight on inputs */
.alert-danger.form-control,
.alert-danger.form-select {
    background-color: #ffd6d6 !important;
    border: 1px solid red !important;
}

/* ============================================================
   FORM STEPS
============================================================ */
.form-step { display: none; width: 100%; animation: fadeIn 0.5s; }
.form-step.active { display: block; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   FORM BUTTON AREA
============================================================ */
.form_btns { height: 20vh; }

/* ============================================================
   LOADER
============================================================ */
.loader-container { display: none; text-align: center; padding: 15px; }
.loader-container img { width: 30px; height: 30px; }

/* ============================================================
   ERROR INPUT
============================================================ */
.errorInput { background-color: #ffd6d6 !important; border: 1px solid red !important; }
#errorMsg { font-size: 14px; color: red; margin-top: 5px; }

/* ============================================================
   VIRTUAL KEYBOARD — UNIFIED PANEL
   Slides up from bottom. Field display at top, keys below.
   Form fades when panel is open.
============================================================ */

/* Form fade */
#form-page.kb-open {
    filter: blur(2px);
    opacity: 0.35;
    pointer-events: none;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

/* ── PANEL SHELL ── */
#kb-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background: #f1f5f9;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.20);
    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);
}

/* ── INPUT DISPLAY — top of panel ── */
#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.30);
    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;
}

#kb-overlay-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    letter-spacing: 0.3px;
}

.kb-cursor {
    display: inline-block;
    color: #2ea1e4;
    font-weight: 300;
    font-size: 1.4rem;
    margin-left: 2px;
    animation: kb-blink 1s step-end infinite;
}

@keyframes kb-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ── KEYS SECTION — bottom of panel ── */
#kb-keys-section {
    padding: 12px 10px 18px;
    background: #f1f5f9;
}

/* Virtual keyboard divs — static inside panel (NOT fixed) */
.virtual-keyboard {
    display: none;
    position: static !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    z-index: auto !important;
}

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

.key-btn {
    width: 78px;
    height: 72px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    border-radius: 10px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    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;
    user-select: none;
    -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 — physical keyboard کے لیے hidden focus input */
#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;   /* iOS پر zoom prevent کرے */
}

/* Force input height */
input { height: 70px !important; }

@media (max-width: 768px) {
    form input { width: 100% !important; }
    .submit-button { padding: 15px 50px; }
    .reach-options { flex-direction: column; gap: 8px; }
    .reach-label { width: 100%; justify-content: center; padding: 12px 20px; }
    .key-btn { width: 55px; height: 55px; font-size: 16px; }
    .key-btn.action { width: 80px; }
    .key-btn.backspace { width: 80px; }
}

@media (max-width: 480px) {
    .key-btn { width: 45px; height: 45px; font-size: 14px; }
    .key-btn.action { width: 70px; }
    .key-btn.backspace { width: 70px; }
}

/* ============================================================
   MODALS
============================================================ */
#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; }

/* Thank you modal */
#thankYouModal .modal-content .modal-icon {
    background-color: #D1FAE5;
    color: #10B981;
}

/* ============================================================
   REACH OPTIONS (contact method radio)
============================================================ */
.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); }

/* ============================================================
   STEP 3 / 4 TEXT STYLES
============================================================ */
.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; }

/* ============================================================
   STEP 4 CONSENTS
============================================================ */
.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; }

/* ============================================================
   SIGNATURE
============================================================ */
.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;
}

/* ============================================================
   BQP SECTION
============================================================ */
#BQPInfo { display: none; }

/* ============================================================
   ADDRESS LOADER
============================================================ */
#addrLoader { display: none; font-size: 13px; color: #555; margin-top: 8px; }

/* ============================================================
   FORM SELECT HEIGHT
============================================================ */
.form-select { height: 50px !important; }

/* Step 3 address inputs */
#Step3 .form-control { height: 50px !important; }

/* Step 2 form controls (name, DOB, SSN) */
#Step2 .form-control { height: 50px !important; }

/* Step 4 form controls */
#Step4 .form-control { height: 50px !important; }

/* Signature input — override height */
.sig-input { height: auto !important; min-height: 60px; }

/* ============================================================
   SERVICE NOT AVAILABLE MODAL (ZIP)
============================================================ */
#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);
    /* override modal-content i rule */
    padding: 0 !important;
    background-color: transparent !important;
}

#zipUnavailableModal .zip-unavail-icon i {
    /* override global modal i styles */
    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;
    /* override main-form p */
    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-retry:hover {
    background: #2ea1e4;
    color: #fff;
    transform: translateY(-2px);
}

#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;
}

#zipUnavailableModal .zip-unavail-btn-home:hover {
    background: #e67e00;
    border-color: #e67e00;
    transform: translateY(-2px);
}


@media (max-width: 768px) {
    form input { width: 100% !important; }
    .submit-button { padding: 15px 50px; }
    .reach-options { flex-direction: column; gap: 8px; }
    .reach-label { width: 100%; justify-content: center; padding: 12px 20px; }
    .key-btn { width: 55px; height: 55px; font-size: 16px; }
    .key-btn.action { width: 80px; }
    .key-btn.backspace { width: 80px; }
}

@media (max-width: 480px) {
    .key-btn { width: 45px; height: 45px; font-size: 14px; }
    .key-btn.action { width: 70px; }
    .key-btn.backspace { width: 70px; }
}


/* ============================================================
   MODALS
============================================================ */
#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; }

/* Thank you modal */
#thankYouModal .modal-content .modal-icon {
    background-color: #D1FAE5;
    color: #10B981;
}

/* ============================================================
   REACH OPTIONS (contact method radio)
============================================================ */
.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); }

/* ============================================================
   STEP 3 / 4 TEXT STYLES
============================================================ */
.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; }

/* ============================================================
   STEP 4 CONSENTS
============================================================ */
.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; }

/* ============================================================
   SIGNATURE
============================================================ */
.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;
}

/* ============================================================
   BQP SECTION
============================================================ */
#BQPInfo { display: none; }

/* ============================================================
   ADDRESS LOADER
============================================================ */
#addrLoader { display: none; font-size: 13px; color: #555; margin-top: 8px; }

/* ============================================================
   FORM SELECT HEIGHT
============================================================ */
.form-select { height: 50px !important; }

/* Step 3 address inputs */
#Step3 .form-control { height: 50px !important; }

/* Step 2 form controls (name, DOB, SSN) */
#Step2 .form-control { height: 50px !important; }

/* Step 4 form controls */
#Step4 .form-control { height: 50px !important; }

/* Signature input — override height */
.sig-input { height: auto !important; min-height: 60px; }

/* ============================================================
   SERVICE NOT AVAILABLE MODAL (ZIP)
============================================================ */
#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);
    /* override modal-content i rule */
    padding: 0 !important;
    background-color: transparent !important;
}

#zipUnavailableModal .zip-unavail-icon i {
    /* override global modal i styles */
    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;
    /* override main-form p */
    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-retry:hover {
    background: #2ea1e4;
    color: #fff;
    transform: translateY(-2px);
}

#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;
}

#zipUnavailableModal .zip-unavail-btn-home:hover {
    background: #e67e00;
    border-color: #e67e00;
    transform: translateY(-2px);
}


@media (max-width: 768px) {
    form input { width: 100% !important; }
    .submit-button { padding: 15px 50px; }
    .reach-options { flex-direction: column; gap: 8px; }
    .reach-label { width: 100%; justify-content: center; padding: 12px 20px; }
    .key-btn { width: 55px; height: 55px; font-size: 16px; }
    .key-btn.action { width: 80px; }
    .key-btn.backspace { width: 80px; }
}

@media (max-width: 480px) {
    .key-btn { width: 45px; height: 45px; font-size: 14px; }
    .key-btn.action { width: 70px; }
    .key-btn.backspace { width: 70px; }
}