/* Custom styles for the maintenance form */
.maintenance-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-section {
    background-color: #f8f9fa;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 6px;
    border-left: 4px solid #007bff;
}

.form-section-title {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.form-group {
    margin-bottom: 20px;
}

.input-group-addon {
    background-color: #f8f9fa;
    border-color: #ddd;
    color: #495057;
}

.form-control {
    border-radius: 4px;
    border-color: #ddd;
    box-shadow: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.select-container {
    margin-bottom: 15px;
}

.select-container label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 5px;
}

.product-section {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.product-title {
    color: #007bff;
    font-weight: 600;
    margin-bottom: 15px;
}

.action-buttons {
    padding: 20px 0;
    margin-top: 20px;
    border-top: 1px solid #eee;
}

.btn-submit {
    padding: 10px 30px;
    font-size: 16px;
}

.form-section-header {
    background-color: #f1f3f5;
    padding: 10px 15px;
    margin: -20px -20px 20px -20px;
    border-radius: 6px 6px 0 0;
    border-bottom: 1px solid #dee2e6;
}

.required-field::after {
    content: "*";
    color: #dc3545;
    margin-left: 4px;
}

/* Custom styling for specific sections */
.vehicle-info {
    border-left-color: #28a745;
}

.product-info {
    border-left-color: #fd7e14;
}

.service-info {
    border-left-color: #20c997;
}

.payment-info {
    border-left-color: #dc3545;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .maintenance-form {
        padding: 15px;
    }
    
    .form-section {
        padding: 15px;
    }
}
    .total-price-section {
    background-color: #dc3545;
    padding: 5px;
    border-radius: 6px;
    margin-top: 2px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.total-price-section p {
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 2px;
}

.total-price-section .input-group-addon {
    background-color: #c82333;
    border-color: #bd2130;
    color: #ffffff;
}

.total-price-section .form-control {
    background-color: #ffffff;
    border-color: #bd2130;
    color: #dc3545;
    font-weight: bold;
    font-size: 1.1em;
}

.total-price-section .glyphicon {
    color: #ffffff;
}

.total-price-section li {
    color: #ffffff;
    list-style: none;
    font-weight: bold;
}