/* Styles for the Divi login form password toggle (src/js/divi-login.js).
   Hand-written rather than Tailwind: the Tailwind tokens in input.css are
   scoped to .events-app, and Divi's own input selectors are aggressive. */

.ea-pw-wrap {
    position: relative;
    display: block;
}

.ea-pw-wrap input[type="password"],
.ea-pw-wrap input[type="text"] {
    padding-right: 3rem !important;
}

.ea-pw-toggle {
    position: absolute;
    top: 50%;
    right: 0.375rem;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #265977;
    cursor: pointer;
    line-height: 0;
}

.ea-pw-toggle:hover {
    color: #0c9ed9;
}

.ea-pw-toggle:focus-visible {
    outline: 2px solid #265977;
    outline-offset: 2px;
}
