.estimator-card,
.estimator-results {
    padding: 32px;
    background: #f4f6ff;
    border-radius: 8px;
}

.estimator-settings {
    margin: 0 0 30px;
    padding: 0;
    border: 0;
}

.estimator-settings legend,
.estimator-wall-heading h2,
.estimator-results h2 {
    margin-bottom: 16px;
    color: #1c1c1c;
    font-size: 22px;
    font-weight: 700;
}

.estimator-card label {
    display: block;
    margin-bottom: 6px;
    color: #1c1c1c;
    font-weight: 600;
}

.estimator-card small {
    display: block;
    margin-top: 5px;
}

.estimator-wall-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.estimator-wall-heading h2 {
    margin-bottom: 4px;
}

.estimator-wall-heading p {
    margin-bottom: 0;
}

.wall-section {
    margin-bottom: 20px;
    padding: 22px;
    background: #fff;
    border: 1px solid #d8defc;
    border-radius: 8px;
}

.wall-section-heading,
.opening-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.wall-section-heading h3,
.opening-heading h4 {
    margin: 0;
    color: #1c1c1c;
    font-size: 18px;
    font-weight: 700;
}

.opening-heading {
    margin: 12px 0;
}

.opening-row {
    padding: 14px;
    margin-bottom: 12px;
    background: #f4f6ff;
    border-radius: 6px;
}

.opening-row .form-group {
    margin-bottom: 10px;
}

.estimator-error {
    margin: 10px 0;
    color: #b42318;
    font-weight: 600;
}

.estimator-results {
    margin-top: 24px;
    border-left: 4px solid #fe5d14;
}

.estimator-results dl {
    margin-top: 22px;
}

.estimator-results dt,
.estimator-results dd {
    margin-bottom: 10px;
}

.estimator-breakdown {
    margin: 22px 0 18px;
    padding: 20px;
    background: #fff;
    border: 1px solid #d8defc;
    border-radius: 8px;
}

.estimator-breakdown h3,
.estimator-breakdown h4 {
    color: #1c1c1c;
    font-weight: 700;
}

.estimator-breakdown h3 {
    margin-bottom: 16px;
    font-size: 19px;
}

.estimator-breakdown h4 {
    margin: 12px 0;
    font-size: 16px;
}

.estimator-breakdown dl {
    margin-top: 0;
}

.result-walls {
    padding-left: 20px;
    margin-bottom: 14px;
}

.result-walls li {
    margin-bottom: 8px;
}

.estimator-formula {
    padding: 12px;
    margin: 0;
    background: #f4f6ff;
    border-radius: 6px;
    overflow-wrap: anywhere;
}

.result-units {
    color: #fe5d14;
    font-size: 28px;
    font-weight: 700;
}

.estimator-disclaimer {
    margin: 18px 0;
    font-size: 14px;
}

.estimator-quote-status {
    margin: 10px 0 0;
    font-weight: 600;
}

@media (max-width: 575px) {
    .estimator-card,
    .estimator-results,
    .wall-section {
        padding: 18px;
    }

    .estimator-wall-heading {
        flex-direction: column;
    }
}
