/**
 * Nikama B2B Frontend Styles
 */

.nikama-b2b-registration-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    margin-top: 150px!important;
}

.nikama-b2b-registration-form h2 {
    margin-bottom: 10px;
}

.nikama-b2b-registration-form > p {
    margin-bottom: 20px;
    color: #666;
}

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

.nikama-b2b-registration-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.nikama-b2b-registration-form .required {
    color: #ff0000;
}

.nikama-b2b-registration-form input[type="text"],
.nikama-b2b-registration-form input[type="email"],
.nikama-b2b-registration-form input[type="password"],
.nikama-b2b-registration-form input[type="tel"],
.nikama-b2b-registration-form input[type="url"],
.nikama-b2b-registration-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.nikama-b2b-registration-form textarea {
    resize: vertical;
}

.nikama-b2b-registration-form .form-text {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.nikama-b2b-registration-form button[type="submit"] {
    background-color: #02010100 !important;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #5C5C5C;
    border-radius: 0px 0px 0px 0px !important;
    padding: 25px 25px 25px 25px;
    color: #3E3E3E !important;
    font-weight: 300 !important;
    font-size: 16px !important;
    width: 100%;
}

.nikama-b2b-registration-form .woocommerce-error,
.nikama-b2b-registration-form .woocommerce-info,
.nikama-b2b-registration-form .woocommerce-message {
    margin-bottom: 20px;
}

/* Password strength meter */
.password-strength-meter {
    margin-top: 5px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    overflow: hidden;
}

.password-strength-meter .strength-bar {
    height: 100%;
    transition: width 0.3s, background-color 0.3s;
}

.password-strength-meter .strength-bar.weak {
    width: 33%;
    background-color: #ff0000;
}

.password-strength-meter .strength-bar.medium {
    width: 66%;
    background-color: #ffaa00;
}

.password-strength-meter .strength-bar.strong {
    width: 100%;
    background-color: #00ff00;
}

.password-strength-text {
    display: block;
    margin-top: 3px;
    font-size: 12px;
}

/* Success message */
.nikama-b2b-success-message {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    margin-top: 150px!important;
}

.nikama-b2b-success-message .woocommerce-message {
    background-color: #f0f8ff;
    border: 2px solid #46b450;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.nikama-b2b-success-message h2 {
    color: #46b450;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 28px;
}

.nikama-b2b-success-message p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 0;
}
