/* Core Layout */
.lqf-wrapper { 
    max-width: 700px; margin: 40px auto; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
    background: var(--lqf-bg, #fff); color: var(--lqf-text, #333); 
    border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); 
    padding: 40px; box-sizing: border-box;
}

/* Timeline Progress (Livspace style) */
.lqf-progress { 
    width: 100%; height: 2px; background: #e0e0e0; 
    margin-bottom: 40px; position: relative;
}
.lqf-progress-bar { 
    height: 100%; background: #4a4a4a; width: 0%; 
    transition: width 0.3s ease; 
}

.lqf-screen { animation: fadeIn 0.3s; }
.lqf-question-title { font-size: 24px; font-weight: 700; text-align: center; color: #222; margin-bottom: 25px;}

/* Grid Cards (Image Single/Multi) */
.lqf-options-grid { 
    display: grid; grid-template-columns: 1fr; gap: 15px; 
    max-width: 400px; margin: 0 auto 30px auto; 
}
.lqf-card { 
    border: 1px solid #e0e0e0; border-radius: 8px; padding: 16px; 
    display: flex; align-items: center; gap: 15px;
    cursor: pointer; transition: 0.2s; background: #fff; position: relative;
}
.lqf-card-img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; }
.lqf-card-label { font-size: 16px; color: #333; }
.lqf-card:hover { box-shadow: 0 2px 10px rgba(0,0,0,0.05); }

/* Quantity List Items */
.lqf-list-container { 
    max-width: 400px; margin: 0 auto 30px auto;
}
.lqf-list-item {
    border: 1px solid #e0e0e0; border-radius: 8px; padding: 14px 16px;
    margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; transition: all 0.2s; background: #fff;
}
.lqf-list-item.active { border: 2px solid var(--lqf-primary, #eb595f); padding: 13px 15px; }
.lqf-item-name { font-size: 16px; color: #333; }
.lqf-counter-ui { display: flex; align-items: center; gap: 12px; }
.lqf-qty-btn { 
    width: 28px; height: 28px; border-radius: 50%; border: none;
    background: var(--lqf-primary, #eb595f); color: white; 
    font-size: 18px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lqf-qty-val { font-size: 16px; font-weight: 600; min-width: 15px; text-align: center;}

/* Lead Form */
.lqf-lead-form { max-width: 450px; margin: 0 auto; text-align: left; }
.lqf-input { 
    width: 100%; padding: 14px; border: 1px solid #ccc; border-radius: 6px; 
    margin-bottom: 15px; font-size: 15px; box-sizing: border-box; font-family: inherit;
    background: #fff;
}
.lqf-phone-wrap { display: flex; border: 1px solid #ccc; border-radius: 6px; margin-bottom: 15px; overflow: hidden; align-items:center; background:#fff;}
.lqf-country-flag { padding-left: 14px; font-size: 18px; }
.lqf-arrow { color: #888; margin-right: 10px; margin-left: 5px; font-size: 12px;}
.lqf-phone-wrap .lqf-input { border: none; margin-bottom: 0; border-radius: 0; border-left: 1px solid #eee; }

.lqf-wa-optin { font-size: 14px; color: #555; display: flex; align-items: center; gap: 8px; margin-bottom: 20px; cursor: pointer;}
.lqf-wa-check { accent-color: var(--lqf-primary, #eb595f); width: 16px; height: 16px; }

.lqf-terms { font-size: 12px; color: #888; margin-bottom: 30px; line-height: 1.5;}
.lqf-terms a { color: var(--lqf-primary, #eb595f); text-decoration: none; }

/* Footers and Buttons - FIXED CLEARANCE */
.lqf-footer { 
    display: flex; justify-content: space-between; align-items: center; 
    margin-top: 30px; border-top: 1px solid #eee; padding-top: 25px; clear: both;
}
.lqf-btn-back { background: none; border: none; color: #eb595f; font-weight: 600; font-size: 14px; cursor: pointer; padding: 10px; }
.lqf-btn { 
    background: var(--lqf-primary, #eb595f); color: #fff; border: none; 
    padding: 14px 40px; border-radius: 30px; cursor: pointer; font-size: 15px; font-weight: 600; transition: opacity 0.2s;
}
.lqf-btn:hover { opacity: 0.9; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* OTP Verification Styles */
.lqf-otp-wrap { 
    margin-bottom: 20px; 
    padding: 20px; 
    background: #f8f9fa; 
    border: 2px dashed #e0e0e0; 
    border-radius: 8px; 
    text-align: center; 
    animation: fadeIn 0.4s;
}
.lqf-otp-wrap p { 
    font-size: 15px; 
    color: #444; 
    margin: 0 0 15px 0; 
    font-weight: 600; 
}
.lqf-otp { 
    text-align: center; 
    letter-spacing: 10px; 
    font-weight: 700; 
    font-size: 20px; 
    margin-bottom: 0; 
    text-transform: uppercase;
}
.lqf-email:disabled {
    background-color: #f1f1f1;
    color: #888;
    cursor: not-allowed;
}