.cost-calculator-form-section {
    max-width: 900px;
    padding: 20px;
    border-radius: 15px;
    position: relative;
    background: #fff;
}

.cost-calculator-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.cost-calculator-heading {
    font-weight: 700;
    color: #00bbff;
    margin: 0;
    font-size: 1.6rem;
}

.cost-calculator-btn-close {
    border: none;
    font-size: 2rem;
    color: #00bbff;
    cursor: pointer;
    line-height: 1;
    border-radius: 50px;
    padding: 4px 10px 8px 10px;
    transition: background 0.2s;
}

.cost-calculator-btn-close:hover {
    background: #e6f7ff;
}

.cost-calculator-field {
    margin-bottom: 18px;
}

.cost-calculator-label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: #232629;
}

.cost-calculator-label-muted {
    color: #888;
    font-weight: 400;
}

.cost-calculator-input {
    border-radius: 50px;
    border: 1px solid #bfc9d8;
    padding: 10px 16px;
    font-size: 1rem;
    width: 100%;
    margin-bottom: 0;
}

.cost-calculator-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 18px;
}

.cost-calculator-col-3 {
    flex: 1 1 22%;
    min-width: 120px;
}

.cost-calculator-radio-group {
    display: flex;
    gap: 24px;
    margin-bottom: 18px;
    align-items: center;
}

.cost-calculator-radio {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cost-calculator-radio input[type="radio"] {
    width: 18px;
    height: 18px;
}

.cost-calculator-btn-group {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    gap: 12px;
}

.cost-calculator-btn,
.cost-calculator-btn-primary,
.cost-calculator-btn-outline-primary,
.cost-calculator-btn-outline-secondary {
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 18px;
    min-width: 135px;
    box-shadow: 0 2px 8px rgba(0, 187, 255, 0.08);
    transition: background 0.2s, box-shadow 0.2s, color 0.2s;
    border: none;
    margin-right: 8px;
    cursor: pointer;
}

.cost-calculator-btn-primary {
    background: #0061b0;
    color: #fff;
}

.cost-calculator-btn-primary:hover {
    background: linear-gradient(90deg, #0061b0 60%, #1f65d8 100%);
}

.cost-calculator-btn-outline-primary {
    background: #fff;
    color: #0061b0;
    border: 1px solid #0061b0;
}

.cost-calculator-btn-outline-primary:hover {
    background: linear-gradient(90deg, #0061b0 60%, #1f65d8 100%);
    color: #fff;
    border: none;
}

.cost-calculator-btn-outline-secondary {
    background: #fff;
    color: #888;
    border: 2px solid #bfc9d8;
}

.cost-calculator-btn-outline-secondary:hover {
    background: #f0f8ff;
    color: #00bbff;
    border: 2px solid #00bbff;
}


@media (max-width: 991.98px) {
    .cost-calculator-form-section {
        padding: 16px;
    }

    .cost-calculator-row {
        flex-direction: column;
        gap: 10px;
    }

    .cost-calculator-col-3 {
        min-width: 0;
        width: 100%;
    }

    .cost-calculator-btn-group {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 575.98px) {

    .cost-calculator-btn,
    .cost-calculator-btn-primary,
    .cost-calculator-btn-outline-primary,
    .cost-calculator-btn-outline-secondary {
        width: 100% !important;
        min-width: unset;
        padding-left: 1rem;
        padding-right: 1rem;
        margin-bottom: 8px;
    }

    .cost-calculator-chat-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        bottom: 12px;
        right: 12px;
    }

    .cost-calculator-form-section {
        padding: 0 !important;
    }

    .modal-body {
        padding: 1rem !important;
    }

    .row.mb-3.g-2>.col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Responsive tweaks for modal form */
@media (max-width: 767.98px) {
    .cost-calculator-form-section {
        padding: 0 !important;
    }

    .cost-calculator-form-section h3 {
        font-size: 1.3rem;
    }

    .modal-content {
        border-radius: 12px;
    }

    .row.mb-3.g-2>.col-6 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 10px;
    }
}

