/* MH-USA Request Pricing Form Styles */

.mhusa-rp-container {
    margin: 20px 0;
    clear: both;
}

/* Notice box */
.mhusa-rp-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f0f7ff;
    border-left: 4px solid #0066cc;
    padding: 16px 20px;
    margin-bottom: 24px;
    border-radius: 0 6px 6px 0;
}

.mhusa-rp-notice svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #0066cc;
}

.mhusa-rp-notice p {
    margin: 0;
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}

/* Price label */
.mhusa-rp-price-label {
    font-size: 18px;
    font-weight: 600;
    color: #0066cc;
    font-style: italic;
}

/* Heading */
.mhusa-rp-heading {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin: 0 0 6px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
}

/* Form container */
.mhusa-rp-form {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 24px;
    margin-top: 16px;
}

/* Field rows (two-column) */
.mhusa-rp-row {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
}

.mhusa-rp-row .mhusa-rp-field {
    flex: 1;
}

/* Individual fields */
.mhusa-rp-field {
    margin-bottom: 16px;
}

.mhusa-rp-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.mhusa-rp-field label .required {
    color: #cc0000;
}

.mhusa-rp-field label .optional {
    font-weight: 400;
    color: #888;
    font-size: 13px;
}

.mhusa-rp-field input,
.mhusa-rp-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}

.mhusa-rp-field input:focus,
.mhusa-rp-field textarea:focus {
    border-color: #0066cc;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
}

.mhusa-rp-field textarea {
    resize: vertical;
    min-height: 80px;
}

.mhusa-rp-field-full {
    width: 100%;
}

/* reCAPTCHA widget */
.mhusa-rp-recaptcha-row {
    margin-top: 16px;
    margin-bottom: 4px;
}

.mhusa-rp-recaptcha-widget {
    display: inline-block;
}

/* Submit row */
.mhusa-rp-submit-row {
    margin-top: 20px;
}

.mhusa-rp-button {
    display: block;
    width: 100%;
    background: #0066cc !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    text-align: center;
    line-height: 1.4;
}

.mhusa-rp-button:hover {
    background: #004fa3 !important;
    color: #fff !important;
}

.mhusa-rp-button:disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
}

/* Messages */
.mhusa-rp-message {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.5;
}

.mhusa-rp-message.mhusa-rp-success,
.mhusa-rp-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.mhusa-rp-message.mhusa-rp-error,
.mhusa-rp-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Availability badge */
.stock.request-pricing {
    color: #0066cc !important;
    font-weight: 600;
}

/* Archive / shop loop button */
.mhusa-rp-link {
    background: #0066cc !important;
    color: #fff !important;
    border: none !important;
}

.mhusa-rp-link:hover {
    background: #004fa3 !important;
    color: #fff !important;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .mhusa-rp-row {
        flex-direction: column;
        gap: 0;
    }

    .mhusa-rp-form {
        padding: 16px;
    }

    .mhusa-rp-notice {
        padding: 14px 16px;
    }

    .mhusa-rp-button {
        padding: 16px 24px !important;
    }
}
