/* Main form styles */
.car-price-estimator {
    font-family: 'Arial', sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.block-estimate-price__form h2 {
    color: #333;
    margin-bottom: 20px;
}

.block-estimate-price__form h5 {
    color: #d32f2f;
    margin-bottom: 10px;
}

/* Form elements */
.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.form-select, .form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-select:focus, .form-control:focus {
    border-color: #d32f2f;
    outline: none;
    box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.2);
}

.input-group-text {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
}

/* Button styles */
.btn-system-red {
    background-color: #d32f2f;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-system-red:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Results table */
.block-estimate-price-result {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.table-detail {
    width: 100%;
    border-collapse: collapse;
}

.table-detail tr {
    border-bottom: 1px solid #eee;
}

.table-detail td {
    padding: 12px 0;
}

.table-detail td:first-child {
    width: 60%;
}

.cl-neutral-50 {
    color: #555;
}

.cl-system-red-50 {
    color: #d32f2f;
}

.fw-bold {
    font-weight: 700;
}

.fs-14 {
    font-size: 14px;
}

.fs-16 {
    font-size: 16px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .d-flex.flex-md-row {
        flex-direction: column;
    }
    
    .mb-3.flex-1 {
        width: 100%;
    }
}

/* Hide installment fields by default */
.payment-mode, .installment_payment {
    display: none;
}