/* Password Widget Premium Styles */
.alezux-password-form {
    width: 100%;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.input-with-eye {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-eye input {
    width: 100%;
    padding-right: 45px !important;
}

.alezux-toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    font-size: 18px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alezux-toggle-password:hover {
    color: #6c5ce7;
}

.field-group {
    display: flex;
    flex-direction: column;
}

.field-group label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
    display: block;
    margin-bottom: 8px;
    /* Valor por defecto */
}

/* Strength Meter */
.password-strength-meter {
    height: 6px;
    background-color: #f0f0f0;
    border-radius: 3px;
    margin-top: 10px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    width: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.password-requirements {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.password-requirements li {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.password-requirements li i {
    font-size: 14px;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.password-requirements li.met {
    color: #27ae60;
}

.password-requirements li.met i {
    opacity: 1;
    color: #27ae60;
}

.button-wrapper {
    margin-top: 30px;
    width: 100%;
}

.alezux-btn-align-left .button-wrapper {
    text-align: left;
}

.alezux-btn-align-center .button-wrapper {
    text-align: center;
}

.alezux-btn-align-right .button-wrapper {
    text-align: right;
}

.alezux-btn-align-justify .button-wrapper {
    text-align: justify;
}

.alezux-submit-btn {
    background: #6c5ce7;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.alezux-btn-align-justify .alezux-submit-btn {
    width: 100%;
}

.alezux-submit-btn:hover {
    background: #a29bfe;
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

/* Colores del medidor */
.strength-weak {
    background-color: #ff4757;
    width: 25%;
}

.strength-fair {
    background-color: #ffa502;
    width: 50%;
}

.strength-good {
    background-color: #2ed573;
    width: 75%;
}

.strength-strong {
    background-color: #27ae60;
    width: 100%;
}