/* Password policy requirements panel, shown below the new password field. */

.kc-password-policy {
    margin-top: 0.75rem;
    padding: 0.4rem 0.75rem;
    border: 1px solid #d2d2d2;
    border-radius: 3px;
    background-color: #fff;
}

.kc-pp-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.kc-pp-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #c9190b;
}

.kc-pp-item.kc-pp-met {
    color: #40811a;
}

.kc-pp-icon::before {
    content: "\2716";
    font-weight: 700;
}

.kc-pp-item.kc-pp-met .kc-pp-icon::before {
    content: "\2714";
}

.kc-pp-constraint {
    margin-left: auto;
    padding-left: 1rem;
    text-align: right;
}

/* Visually hidden, announced by screen readers through the aria-live list. */
.kc-pp-status {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    white-space: nowrap;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
}

.kc-pp-help {
    display: inline-flex;
}

.kc-pp-help-btn {
    width: 1.05rem;
    height: 1.05rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: #2b9af3;
    color: #fff;
    font: 700 italic 0.72rem/1.05rem Georgia, "Times New Roman", serif;
    cursor: help;
}

.kc-pp-tip {
    display: none;
    position: absolute;
    z-index: 10;
    top: calc(100% - 0.1rem);
    left: 0;
    right: 0;
    padding: 0.5rem 0.6rem;
    border-radius: 3px;
    background-color: #151515;
    color: #fff;
    font-size: 0.75rem;
    font-style: normal;
    line-height: 1.35;
    text-align: left;
}

.kc-pp-help:hover .kc-pp-tip,
.kc-pp-help:focus-within .kc-pp-tip {
    display: block;
}

.kc-pp-chars {
    display: block;
    margin-top: 0.3rem;
    font-family: monospace;
    word-break: break-all;
}
