/* PRO B2B Frontend Styles */

.pro-b2b-registration-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.pro-b2b-registration-header {
    text-align: center;
    margin-bottom: 40px;
}

.pro-b2b-registration-header h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

.pro-b2b-registration-header p {
    color: #666;
    font-size: 16px;
}

.pro-b2b-form-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.pro-b2b-form-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="password"],
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-row input[type="text"]:focus,
.form-row input[type="email"]:focus,
.form-row input[type="tel"]:focus,
.form-row input[type="password"]:focus,
.form-row textarea:focus,
.form-row select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.form-row small {
    display: block;
    margin-top: 6px;
    color: #666;
    font-size: 13px;
}

.form-row-first,
.form-row-last {
    width: 48%;
    display: inline-block;
}

.form-row-first {
    margin-right: 3%;
}

.form-row-wide {
    width: 100%;
}

.form-row .required {
    color: #e74c3c;
}

.form-row input[type="file"] {
    padding: 10px;
    border: 2px dashed #ddd;
    background: #f9f9f9;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.pro-b2b-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pro-b2b-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102,126,234,0.4);
}

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

.btn-loading {
    display: none;
}

.pro-b2b-submit-btn.loading .btn-text {
    display: none;
}

.pro-b2b-submit-btn.loading .btn-loading {
    display: inline;
}

.pro-b2b-messages {
    margin-top: 20px;
}

.pro-b2b-notice {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

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

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

.pro-b2b-notice.info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

/* My Account PRO Badge */
.pro-account-badge {
    display: inline-block;
    padding: 6px 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: 10px;
}

.pro-status-pending {
    background: #ffc107;
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row-first,
    .form-row-last {
        width: 100%;
        display: block;
        margin-right: 0;
    }
    
    .pro-b2b-registration-wrapper {
        padding: 20px;
        margin: 20px;
    }
}
