/* ── XpressLegal Survey Quote – Frontend Form Styles ── */

.xlsq-form-wrap {
    max-width: 680px;
    margin: 0 auto;
    font-family: inherit;
}

#xlsq-quote-form {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    padding: 28px 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
}

.xlsq-field-row {
    margin-bottom: 16px;
}

.xlsq-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 520px) {
    .xlsq-two-col {
        grid-template-columns: 1fr;
    }
    #xlsq-quote-form {
        padding: 20px 16px;
    }
}

.xlsq-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.xlsq-field label {
    font-size: .875rem;
    font-weight: 600;
    color: #1d2327;
}

.xlsq-field label span {
    color: #c0392b;
}

.xlsq-field input,
.xlsq-field select,
.xlsq-field textarea {
    border: 1px solid #c3c4c7;
    border-radius: 5px;
    padding: 9px 12px;
    font-size: .9375rem;
    color: #1d2327;
    background: #fafafa;
    transition: border-color .15s, box-shadow .15s;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

.xlsq-field input:focus,
.xlsq-field select:focus,
.xlsq-field textarea:focus {
    outline: none;
    border-color: #1e4d8c;
    box-shadow: 0 0 0 3px rgba(30,77,140,.12);
    background: #fff;
}

.xlsq-submit-row {
    margin-top: 20px;
}

.xlsq-btn {
    background: #1e4d8c;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 11px 28px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, transform .1s;
    font-family: inherit;
}

.xlsq-btn:hover {
    background: #163a6b;
}

.xlsq-btn:active {
    transform: translateY(1px);
}

.xlsq-btn:disabled {
    background: #9ba8b7;
    cursor: not-allowed;
}

/* ── Feedback / result ───────────────────────────────────────────────────── */

.xlsq-feedback {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 6px;
    font-size: .9375rem;
}

.xlsq-feedback--success {
    background: #f0f7ff;
    border: 1px solid #b3d4ff;
}

.xlsq-feedback--error {
    background: #fdf2f2;
    border: 1px solid #f5c6c6;
    color: #8b0000;
}

.xlsq-result h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    color: #1d2327;
}

.xlsq-price {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #1e4d8c;
    line-height: 1.1;
    margin-bottom: 8px;
}

.xlsq-on-request {
    font-size: 1.5rem;
    color: #7c5700;
}

.xlsq-result-band {
    display: inline-block;
    background: #e8f0fb;
    color: #163a6b;
    font-size: .75rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.xlsq-result-msg {
    color: #3c434a;
    font-size: .875rem;
    margin: 8px 0 0;
}
