/* B2B Pharma Portal — Registration Form Styles */

.b2b-registration-wrap {
    max-width: 720px;
    margin: 0 auto;
    font-size: 15px;
}

.b2b-registration-form h3 {
    margin: 28px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1a3c5e;
    font-size: 16px;
    color: #1a3c5e;
}

.b2b-form-row {
    margin-bottom: 18px;
}

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

.b2b-form-row input[type="text"],
.b2b-form-row input[type="email"],
.b2b-form-row input[type="tel"],
.b2b-form-row input[type="password"],
.b2b-form-row select,
.b2b-form-row textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.b2b-form-row input:focus,
.b2b-form-row select:focus,
.b2b-form-row textarea:focus {
    outline: none;
    border-color: #1a3c5e;
    box-shadow: 0 0 0 2px rgba(26,60,94,0.12);
}

.b2b-form-row input[type="file"] {
    padding: 6px 0;
    font-size: 14px;
}

.b2b-form-row--half {
    display: flex;
    gap: 20px;
}

.b2b-form-row--half > div {
    flex: 1;
}

.b2b-form-row--submit {
    margin-top: 28px;
}

.b2b-conditional-note {
    font-weight: normal;
    font-size: 13px;
    color: #777;
    margin-left: 6px;
}

.b2b-form-desc {
    color: #666;
    font-size: 13px;
    margin-bottom: 12px;
}

span.required {
    color: #c0392b;
}

/* Notices */
.b2b-notice {
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.b2b-notice--success {
    background: #eaf7ea;
    border-left: 4px solid #27ae60;
    color: #1e7e34;
}

.b2b-notice--error {
    background: #fdf3f3;
    border-left: 4px solid #c0392b;
    color: #a93226;
}

.b2b-notice--info {
    background: #eaf2fb;
    border-left: 4px solid #2980b9;
    color: #1a5276;
}

.b2b-notice ul {
    margin: 6px 0 0 18px;
    padding: 0;
}

/* Button */
.b2b-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #1a3c5e;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.b2b-btn:hover {
    background: #14304e;
    color: #fff;
}

.b2b-btn--primary {
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 16px;
}

@media ( max-width: 600px ) {
    .b2b-form-row--half {
        flex-direction: column;
        gap: 0;
    }
}
