/**
 * Stili per il form di registrazione frontend
 */

/* Form rows */
.wrc-form-row {
    margin-bottom: 16px;
}

.wrc-form-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

/* Password strength meter */
.password-strength-meter-container {
    display: block;
    height: 5px;
    width: 100%;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 4px;
}

.password-strength-meter {
    display: block;
    height: 100%;
    width: 0;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.password-strength-weak .password-strength-meter {
    width: 25%;
    background-color: #f44336;
}

.password-strength-medium .password-strength-meter {
    width: 50%;
    background-color: #ff9800;
}

.password-strength-good .password-strength-meter {
    width: 75%;
    background-color: #2196f3;
}

.password-strength-strong .password-strength-meter {
    width: 100%;
    background-color: #4caf50;
}

/* Password hints */
.wrc-password-hints {
    margin-top: 16px;
    margin-bottom: 30px; /* Aggiunto margine inferiore significativo */
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
    font-size: 13px;
}

.password-hint {
    margin: 4px 0;
    color: #646970;
    position: relative;
    padding-left: 24px;
    transition: color 0.2s ease;
}

.password-hint::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #ccc;
    transition: color 0.2s ease;
}

.password-hint.valid::before {
    content: "✓";
    color: #4caf50;
}

.password-hint.valid {
    color: #4caf50;
}