.urm-password-reset,
.urm-password-reset-confirm {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
}

.urm-button-reset {
    background: #eee !important;
    color: #666 !important;
    -webkit-box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08);
    box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08);
    border-radius: 3px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    flex: 1;
    /* Fix vertical alignment */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    line-height: 1.5;
}

div.urm-field.urm-button-group button.urm-button.urm-button-submit {
    background-color: #090909;
    /* Ensure equal width with the reset button */
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    line-height: 1.5;
    border: none;
    cursor: pointer;
    color: #fff;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 500;
}

/* Button group container */
.urm-field.urm-button-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Ensure both buttons have the same height */
.urm-button-submit,
.urm-button-reset {
    min-height: 44px;
    box-sizing: border-box;
}

.urm-form-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 25px;
}

.urm-message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.urm-message.urm-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.urm-message.urm-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.urm-password-strength {
    margin: 15px 0;
}

.urm-strength-meter {
    height: 5px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
}

.urm-strength-bar {
    height: 100%;
    width: 0%;
    background: #dc3232;
    transition: width 0.3s, background 0.3s;
}

.urm-strength-text {
    font-size: 12px;
    color: #666;
}

/* Barre de force selon score */
.urm-strength-bar[data-score="1"] { width: 25%; background: #dc3232; }
.urm-strength-bar[data-score="2"] { width: 50%; background: #f56e28; }
.urm-strength-bar[data-score="3"] { width: 75%; background: #ffb900; }
.urm-strength-bar[data-score="4"] { width: 100%; background: #46b450; }

.urm-form-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* Modale reCAPTCHA v2 */
#recaptcha-v2-modal .modal_content {
    max-width: 400px;
    width: 90%;
    padding: 30px 20px;
}

/* Centrer le widget reCAPTCHA */
#recaptcha-v2-widget {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    min-height: 78px;
    transform: scale(1.1);
    transform-origin: center;
}