/* Shared styling for the login / change-password / forgot-password cards.
   Served as a static asset (_content/DavidsonHR.Shared.Ui/login-card.css) and referenced by
   both apps, so the shared cards render identically regardless of the host app's own CSS.
   Kept as plain (not scoped) CSS because RCL scoped-CSS bundling across the project boundary
   is unreliable — this is the robust way to ship shared component styles. */

.login-card {
    width: 22.5rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.login-card-logo {
    padding: 1.25rem 0 .75rem;
    text-align: center;
}

.login-card-logo img {
    height: auto;
    display: block;
    margin: 0 auto;
}

.login-pw-wrap {
    position: relative;
}

.login-pw-wrap .form-control {
    padding-right: 2.5rem;
}

/* ONE reveal button, ours. Microsoft Edge draws its own eye inside a password box once something
   is typed, which put two side by side (Steven, 2026-09-14: "I seem to get a second 'show
   password' button"). Hidden only in boxes that have our toggle. */
.login-pw-wrap input::-ms-reveal,
.login-pw-wrap input::-ms-clear {
    display: none;
}

.login-pw-toggle {
    position: absolute;
    top: 50%;
    right: .375rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: .375rem;
    cursor: pointer;
    color: #7a8195;
    display: flex;
    align-items: center;
}

.login-pw-toggle:hover {
    color: #191F45;
}

.login-btn {
    background: #191F45;
    color: #fff;
    font-weight: 500;
}

.login-btn:hover {
    background: #2a3358;
    color: #fff;
}

.login-forgot {
    color: #344767;
    text-decoration: none;
    font-size: .9rem;
}

.login-forgot:hover {
    text-decoration: underline;
}
