/* Contact Form 7 success message */
.wpcf7 form.sent .wpcf7-response-output {
    color: #222222 !important;
    background-color: #f4fff4;
    border: 2px solid #46b450;
    padding: 12px 16px;
    font-weight: 600;
}

/* RFQ two-column rows */
.rfq-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.rfq-col {
    flex: 1;
}

.rfq-col label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222222 !important;
}

.rfq-col input,
.rfq-col select,
.rfq-col textarea {
    width: 100%;
}

/* RFQ upload boxes */
.rfq-upload-row {
    display: flex;
    gap: 18px;
    margin: 15px 0 25px;
}

.rfq-upload-box {
    flex: 1;
    display: block;
    padding: 16px 18px;
    border: 1px dashed #cfcfcf;
    border-radius: 6px;
    background: #ffffff !important;
    color: #222222 !important;
    transition: all 0.25s ease;
}

.rfq-upload-box:hover {
    border-color: #a95524;
    background: #fff8f4 !important;
}

.rfq-upload-box * {
    color: #222222 !important;
}

.rfq-upload-icon {
    color: #a95524 !important;
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}

.rfq-upload-text {
    display: inline-block;
    vertical-align: middle;
}

.rfq-upload-text strong {
    display: block;
    color: #222222 !important;
    font-size: 14px;
    font-weight: 700;
}

.rfq-upload-text span,
.rfq-upload-text small {
    display: block;
    color: #666666 !important;
    font-size: 12px;
    margin-top: 3px;
}

.rfq-upload-box input[type="file"] {
    display: block;
    width: 100%;
    margin-top: 12px;
    color: #222222 !important;
    opacity: 1 !important;
    position: relative !important;
}

/* Upload note */
.upload-note {
    display: block;
    clear: both;
    margin: 15px 0 28px;
    font-style: italic;
    color: #222222 !important;
    line-height: 1.5;
}

/* Submit button */
.rfq-submit-wrap {
    display: block;
    clear: both;
    margin-top: 25px;
}

.rfq-submit-wrap .wpcf7-submit {
    width: 100%;
    background: #a95524 !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    padding: 15px 20px !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none !important;
}

.rfq-submit-wrap .wpcf7-submit:hover {
    background: #873f1c !important;
}

/* Mobile layout */
@media(max-width:768px) {
    .rfq-row,
    .rfq-upload-row {
        flex-direction: column;
    }
}
.upload-note {
    display: block !important;
    width: 100% !important;
    clear: both !important;
    margin-bottom: 35px !important;
    padding-bottom: 10px !important;
}

.rfq-submit-wrap {
    display: block !important;
    clear: both !important;
    margin-top: 20px !important;
}

.rfq-submit-wrap .wpcf7-submit {
    position: relative !important;
    display: block !important;
}