/* B2B Registration Form Styles */

.b2b-registration-wrapper {
    max-width: 800px;
    margin: 40px auto;
   padding:0px 20px;
}

.b2b-registration-form {
    background: #ffffff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.b2b-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.b2b-form-field {
    margin-bottom: 20px;
    position: relative;
}

.b2b-form-field label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.b2b-form-field .required {
    color: #dc3545;
}

.b2b-form-field input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f5f5f5;
}

.b2b-form-field input:focus {
    outline: none;
    border-color: #f7a823;
    background: #ffffff;
}

.b2b-form-field input.error {
    border-color: #dc3545;
}

.b2b-error-message {
    display: none;
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
}

.b2b-form-field.has-error .b2b-error-message {
    display: block;
}

.b2b-form-actions {
    margin-top: 30px;
}

.b2b-submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: #f7a823;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.b2b-submit-btn:hover {
    background: #e59912;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247,168,35,0.3);
}

.b2b-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.b2b-form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    font-size: 14px;
}

.b2b-form-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.b2b-form-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.b2b-message {
    padding: 20px;
    border-radius: 4px;
    margin: 20px 0;
    font-size: 16px;
}

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

.b2b-message.pending {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.b2b-message a {
    color: inherit;
    text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .b2b-registration-wrapper {
        padding: 10px;
    }
    
    .b2b-registration-form {
        padding: 24px;
    }
    
    .b2b-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
