/* Container for the entire form widget */
.lapel-pin-quote-wrapper {
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Form Group Layout */
.lapel-pin-form .form-group {
    margin-bottom: 20px;
}

/* Labels */
.lapel-pin-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.lapel-pin-form .required {
    color: #cc0000;
    font-weight: bold;
}

/* Conditional Required Indicator */
.lapel-pin-form .required-conditional {
    color: #ff9800; /* Use amber/orange to denote conditional requirement */
    font-weight: bold;
}

/* Inputs and Textarea */
.lapel-pin-form input[type="text"],
.lapel-pin-form input[type="email"],
.lapel-pin-form input[type="tel"],
.lapel-pin-form input[type="number"],
.lapel-pin-form textarea {
    width: 100%;
    padding: 12px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 15px;
    transition: border-color 0.3s;
}

.lapel-pin-form input[type="file"] {
    padding: 10px 0;
}

.lapel-pin-form input:focus,
.lapel-pin-form textarea:focus {
    border-color: #0073aa;
    outline: none;
}

/* Small text below quantity and file upload */
.lapel-pin-form small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

/* Notice for MoQ */
.lapel-pin-quote-wrapper .moq-notice {
    padding: 15px;
    border: 1px solid #ffc107;
    background-color: #fff8e1;
    color: #795548;
    border-radius: 4px;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.lapel-pin-quote-wrapper .moq-notice .fas {
    margin-right: 10px;
    color: #ff9800;
}

/* Submit Button */
.lapel-pin-form button[type="submit"] {
    background-color: #0073aa;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s, opacity 0.3s;
    width: 100%;
}

.lapel-pin-form button[type="submit"]:hover {
    background-color: #005177;
}

.lapel-pin-form button[type="submit"]:disabled {
    background-color: #999;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Status/Message Area */
.form-message {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}