/* B2B Contact Form - Luxury Theme Styles */
.b2b-form-wrapper {
    margin: 0 auto;
    padding: 36px 40px;
    font-family: 'Manrope', sans-serif;
    border: 1px solid #E3E3E3;
    border-radius: 5px;
}

.b2b-form-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.b2b-form-subtitle {
    font-size: 15px;
    color: #666;
    text-align: center;
    margin-bottom: 32px;
}

/* Form fields */
.b2b-form-fields {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.b2b-field-group {
    display: flex;
    flex-direction: column;
}

.b2b-label {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    margin-bottom: 8px;
    letter-spacing: 0.01em;
    text-align: left;
}

.b2b-required {
    color: #EE0000;
}

.b2b-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: 'Manrope', sans-serif;
    color: #000;
    background: white;
    border: 1px solid #E3E3E3;
    border-radius: 5px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.b2b-input::placeholder {
    color: #6D6D6D!important;
}

.b2b-input:focus {
    border-color: #c4a975;
    box-shadow: 0 0 0 2px rgba(196, 169, 117, 0.15);
    background: #fff;
}

.b2b-input::placeholder {
    color: #aaa;
}

.b2b-textarea {
    resize: vertical;
    min-height: 100px;
}

.b2b-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.b2b-checkbox-text {
    text-align: left;
    color: #000000;
    display: inline-flex;
    gap: 4px;
}

.b2b-checkbox-text p {
    font-size: 14px;
    margin-bottom: 0;
}

.b2b-checkbox-text a {
    text-decoration: underline;
    font-weight: bold;
}

/* Radio & checkbox */
.b2b-radio-group {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.b2b-radio-label,
.b2b-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.b2b-radio-label input[type="radio"],
.b2b-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #c4a975;
    flex-shrink: 0;
}

/* Field errors */
.b2b-field-error {
    font-size: 12px;
    color: #d32f2f;
    margin-top: 4px;
}

.b2b-field-group.has-error .b2b-input {
    border-color: #d32f2f;
}

.b2b-field-group.has-error .b2b-field-error {
    display: block !important;
}

/* Alerts */
.b2b-form-alerts {
    background: #fff3f3;
    border: 1px solid #f5c6c6;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #d32f2f;
}

.b2b-form-alerts ul {
    margin: 0;
    padding: 0 0 0 16px;
    list-style: disc;
}

/* Submit button */
.b2b-form-submit {
    margin-top: 28px;
}

.b2b-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 24px;
    height: 48px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: #222222;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.b2b-submit-btn:hover {
    background: #c4a975;
    border-color: #c4a975;
    color: #fff;
}

.b2b-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.b2b-spinner {
    animation: b2b-spin 0.8s linear infinite;
}

@keyframes b2b-spin {
    to { transform: rotate(360deg); }
}

/* Success message */
.b2b-success-message {
    text-align: center;
    padding: 40px 20px;
}

.b2b-success-icon {
    margin-bottom: 16px;
}

.b2b-success-message p {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

/* Honeypot - hidden from users */
.b2b-hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

.required-files {
    display: inline-flex;
    gap: 4px;
    font-size: 12px;
    margin-top: 28px;
}

/* Responsive */
@media (max-width: 576px) {
    .b2b-form-wrapper {
        padding: 24px 16px;
    }

    .b2b-form-title {
        font-size: 22px;
    }

    .b2b-radio-group {
        flex-direction: column;
        gap: 12px;
    }
}
