.b2b-rfq-form {
    max-width: 760px;
    margin: 0 auto;
    color: #1f2937;
    font-family: inherit;
}

.b2b-rfq-progress {
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.b2b-rfq-step[hidden],
.b2b-rfq-hp {
    display: none !important;
}

.b2b-rfq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.b2b-rfq-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
}

.b2b-rfq-field-wide {
    grid-column: 1 / -1;
}

.b2b-rfq-field input,
.b2b-rfq-field textarea,
.b2b-rfq-field select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 10px 12px;
    font: inherit;
    color: #111827;
    background: #ffffff;
}

.b2b-rfq-field input:focus,
.b2b-rfq-field textarea:focus,
.b2b-rfq-field select:focus {
    outline: 2px solid #2563eb;
    outline-offset: 1px;
    border-color: #2563eb;
}

.b2b-rfq-field.is-invalid input,
.b2b-rfq-field.is-invalid textarea,
.b2b-rfq-field.is-invalid select {
    border-color: #b91c1c;
}

.b2b-rfq-dropzone {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 112px;
    border: 1px dashed #64748b;
    border-radius: 6px;
    padding: 16px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
}

.b2b-rfq-dropzone.is-dragover {
    border-color: #2563eb;
    background: #eff6ff;
}

.b2b-rfq-dropzone input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.b2b-rfq-note {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #4b5563;
}

.b2b-rfq-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.b2b-rfq-button {
    border: 1px solid #1d4ed8;
    border-radius: 6px;
    padding: 10px 16px;
    font: inherit;
    font-weight: 700;
    color: #ffffff;
    background: #1d4ed8;
    cursor: pointer;
}

.b2b-rfq-button-secondary {
    color: #1d4ed8;
    background: #ffffff;
}

.b2b-rfq-button:disabled,
.b2b-rfq-form.is-loading .b2b-rfq-button {
    opacity: 0.65;
    cursor: wait;
}

.b2b-rfq-message {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.b2b-rfq-message.is-error {
    color: #b91c1c;
}

.b2b-rfq-message.is-success {
    color: #166534;
}

@media (max-width: 640px) {
    .b2b-rfq-grid {
        grid-template-columns: 1fr;
    }

    .b2b-rfq-actions {
        justify-content: stretch;
    }

    .b2b-rfq-button {
        flex: 1 1 auto;
    }
}
