.password-field {
    position: relative;
    display: flex;
    align-items: center;
}

.password-field input {
    flex: 1;
    padding-right: 30px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    cursor: pointer;
}
.um-icon-help-circled:before {
    content: "\f142";
    color: #ccc;
}
#password-strength {
    margin-top: 10px;
    font-size: 14px;
}
#password-strength {
    display: none;
}
#password-strength.weak {
    color: red;
}

#password-strength.medium {
    color: orange;
}

#password-strength.strong {
    color: green;
}

.forgot-reset-form {
    border-style: solid;
    border-width: 2px;
    border-color: #b8a5c9;
    transition: background .3s,border .3s,border-radius .3s,box-shadow .3s;
    padding: 40px 25px;
    width: 30%;
    margin: auto;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    background: #e5ebf7;
}
.forgot-reset-form label {
    font-family: Open Sans, Arial, sans-serif !important;
    font-size: 16px !important;
    margin-bottom: 8px ! IMPORTANT;
    font-size: 14px !important;
    line-height: 22px !important;
    font-weight: 600;
    color: #000000;
}
.forgot-reset-form input#username_or_email, .forgot-reset-form input#new_password, .forgot-reset-form input#confirm_password {
    padding-left: 10px;
}
/* Overlay background */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}

/* Popup message */
.popup-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 9999;
    display: none;
}

.popup-message p {
    font-size: 16px;
    margin-bottom: 20px;
}

.popup-message button {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.popup-message button:hover {
    background-color: #45a049;
}

/* Responsive */
@media (max-width: 600px) {
    .popup-message {
        width: 90%;
        padding: 15px;
    }
}
/* Responsive styles for smaller screens */
@media (max-width: 768px) {
    .forgot-reset-form {
        width: 80%; /* Adjust the width for tablets */
        padding: 30px 20px; /* Reduce padding for smaller screens */
    }

    .forgot-reset-form label {
        font-size: 14px; /* Slightly smaller font size for labels */
    }
}

@media (max-width: 480px) {
    .forgot-reset-form {
        width: 90%; /* Adjust the width for mobile screens */
        padding: 20px 15px; /* Further reduce padding for very small screens */
    }

    .forgot-reset-form label {
        font-size: 12px; /* Smaller font size for compact view */
    }
}