/* Overlay Styles */
.inquiry-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

/* Button Styles */
.inquiry-button-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-left: 10px;
}

#inquiry-button {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#inquiry-button:hover {
    background-color: #005177;
}

/* Popup Styles */
#inquiry-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    padding: 20px;
    border: 2px solid #0073aa;
    border-radius: 4px;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

#close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    padding: 0;
    margin: 0;
    color: #666;
}

#close-popup:hover {
    color: #333;
}

/* Form Styles */
#inquiry-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 15px;
}

#inquiry-popup input,
#inquiry-popup textarea {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

#inquiry-popup label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

#inquiry-popup .required {
    color: red;
}

/* Flex Container for Quantity and Date */
.inquiry-flex-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
}

.inquiry-flex-container > div {
    flex: 1;
}

/* Submit Button */
#inquiry-form button[type="submit"] {
    background-color: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

#inquiry-form button[type="submit"]:hover {
    background-color: #005177;
}

/* Thank You Message */
#thank-you-message {
    display: none;
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    background-color: #f0f9ff;
    border: 1px solid #0073aa;
    border-radius: 4px;
}

#thank-you-message p {
    color: #0073aa;
    margin: 0;
    font-weight: 600;
}

.hidden_field { display: none; }
