﻿body {
}
/* ===== Quote Modal ===== */
.quote-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 24px;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

    .quote-modal-overlay.active {
        display: flex;
    }

.quote-modal {
    position: relative;
    width: 100%;
    max-width: 820px;
    max-height: 90vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
    border: 1px solid #e6ebf2;
}

.quote-modal-body {
    padding: 34px 30px 30px;
}

.quote-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #f3f6fa;
    color: #1f1f25;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .quote-modal-close:hover {
        background: #e8eef5;
    }

.quote-modal-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #0d3b66;
    margin-bottom: 10px;
}

.quote-modal-title {
    font-size: 34px;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #142033;
}

.quote-modal-subtitle {
    color: #5f6b7a;
    line-height: 1.75;
    margin-bottom: 28px;
    max-width: 680px;
}

.quote-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.quote-field {
    margin-bottom: 18px;
}

    .quote-field.full {
        grid-column: 1 / -1;
    }

    .quote-field label {
        display: block;
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 8px;
        color: #223046;
    }

        .quote-field label span {
            color: #c0392b;
        }

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    border: 1px solid #d8e0ea;
    border-radius: 10px;
    padding: 13px 14px;
    background: #fff;
    color: #1f1f25;
    font-size: 15px;
    transition: all 0.2s ease;
}

    .quote-form input:focus,
    .quote-form select:focus,
    .quote-form textarea:focus {
        outline: none;
        border-color: #0d3b66;
        box-shadow: 0 0 0 4px rgba(13, 59, 102, 0.08);
    }

.quote-form textarea {
    min-height: 130px;
    resize: vertical;
}

.quote-field small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #7a8695;
}

.quote-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.quote-radio-group {
    display: grid;
    gap: 12px;
    margin-top: 6px;
}

.quote-radio-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fafcff;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .quote-radio-item:hover {
        border-color: #cdd8e6;
        background: #f6faff;
    }

    .quote-radio-item input[type="radio"] {
        width: 16px;
        height: 16px;
        margin: 0;
        box-shadow: none;
    }

    .quote-radio-item span {
        font-size: 14px;
        color: #223046;
    }

.quote-captcha-placeholder {
    min-height: 58px;
    border: 1px dashed #cfd8e3;
    border-radius: 10px;
    background: linear-gradient(180deg, #fbfcfe 0%, #f5f8fb 100%);
    display: flex;
    align-items: center;
    padding: 14px 16px;
    color: #6b7684;
    font-size: 14px;
}

.quote-actions {
    margin-top: 8px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.quote-helper-text {
    color: #667085;
    font-size: 14px;
}

.quote-disclaimer {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.8;
    color: #5f6b7a;
}

.form-select,
.quote-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    padding-right: 42px;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23374451' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5.5 7.5l4.5 4.5 4.5-4.5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

@media (max-width: 767px) {
    .quote-modal-body {
        padding: 26px 18px 22px;
    }

    .quote-modal-title {
        font-size: 28px;
    }

    .quote-form-grid,
    .quote-grid-2 {
        grid-template-columns: 1fr;
    }
}