/* assets/css/enquiry-style.css */

/* --- General Form Layout --- */
#vpse-enquiry-plugin-app {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.vpse-step {
    padding: 20px;
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 15px;
    border-radius: 5px;
}
.vpse-step.hidden {
    display: none;
}
.vpse-step h2, .vpse-step h3 {
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* --- Form Elements --- */
label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}
input[type="text"], input[type="email"], input[type="tel"], input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.vpse-button {
    background-color: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    font-size: 16px;
    margin-top: 10px;
    transition: background-color 0.3s;
}
.vpse-button:hover:not(:disabled) {
    background-color: #005177;
}

/* --- Step 3 Specific Styles (Part Blocks) --- */
#vehicle-checkbox-list .vehicle-label {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    margin-right: 10px;
    cursor: pointer;
    background: #f4f4f4;
}

#vehicle-checkbox-list input[type="checkbox"]:checked + input {
     background-color: #d9edf7;
     border-color: #bce8f1;
}

.part-details-group {
    border: 1px solid #0073aa;
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
    background: #f0f8ff;
}

.part-block {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 15px;
    background: #fff;
    border-radius: 3px;
}

.part-details-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    align-items: flex-start;
}
.part-img-container {
    max-width: 150px;
    flex-shrink: 0;
}
.part-img-container img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
}
.description-text {
    font-style: italic;
    color: #555;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px dashed #eee;
}

.qty-submit-area {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}
.qty-submit-area input {
    width: 60px;
    margin-bottom: 0;
    display: inline-block;
}

/* --- Step 4 Summary Table --- */
#order-summary-details table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
#order-summary-details th, #order-summary-details td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}
#order-summary-details tfoot th, #order-summary-details tfoot td {
    font-weight: bold;
    background-color: #eee;
}