/*
 * Copyright 2022 Cendio AB.
 * For more information, see http://www.cendio.com
*/

/*
 * NOTE: Use multiples of 6px for alignments (margins, padding, etc.)
 */

div.pam_text {
    font-family: Mulish, sans-serif;
    text-align: left;
}

img.password-eye {
    position: absolute;
    right: 18px;
    top: 0;
    bottom: 0;
    height: 18px;
    margin: auto;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.1s;
}

.input:hover .password-eye,
.input input[type=text] ~ .password-eye,
.input input:not(:placeholder-shown) ~ .password-eye {
    opacity: 1;
}

/* Disable Edge password reveal button */
input::-ms-reveal {
    display: none;
}

#caps_lock_indicator {
    font-size: smaller;
    width: fit-content;

    display: none; /* Hide by default */

    position: absolute;
    background-color: white;
    padding: 1px 4px;
    border-radius: 6px;
    margin-inline: auto; /* Center horizontally */
    bottom: calc(-1em + 2px); /* Place on bottom input border */
    left: 0;
    right: 0;
}
