/* Basic styling for the calculator form */
#wdpc-calculator-wrapper {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#wdpc-calculator-wrapper h3 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
}

.wdpc-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.wdpc-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.wdpc-section h4 {
    color: #555;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.wdpc-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: normal;
}

.wdpc-section input[type="radio"],
.wdpc-section input[type="checkbox"] {
    margin-right: 8px;
}

.wdpc-section input[type="number"] {
    width: 80px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.wdpc-total {
    text-align: right;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #0073aa; /* WordPress primary color */
    border-bottom: none;
}

#wdpc-total-price {
    font-size: 1.8em;
    font-weight: bold;
    color: #0073aa; /* Highlight total price */
}

.wdpc-inquiry label {
    margin-top: 10px;
    font-weight: bold;
}

.wdpc-inquiry input[type="text"],
.wdpc-inquiry input[type="email"],
.wdpc-inquiry input[type="tel"],
.wdpc-inquiry textarea {
    width: calc(100% - 20px); /* Adjust for padding */
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding in element's total width and height */
}

#wdpc-send-inquiry {
    background-color: #0085ba; /* WordPress button color */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

#wdpc-send-inquiry:hover {
    background-color: #006799;
}

#wdpc-inquiry-response {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    display: none; /* Hidden by default */
}

#wdpc-inquiry-response.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

#wdpc-inquiry-response.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}