/* Password Toggle - Style Symfony UX */
.toggle-password-container {
    position: relative;
}

.toggle-password-icon {
    height: 1.25rem;
    width: 1.25rem;
}

.toggle-password-button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0.25rem;
}

.toggle-password-button:hover {
    color: #495057;
}

.toggle-password-container input {
    padding-right: 2.5rem;
}

/* Support input-group Bootstrap - icône à l'intérieur */
.input-group .toggle-password-container {
    position: relative;
}

.input-group .toggle-password-container input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
