
ul.pwd-rules {
    margin-left: 20px;
}

ul.pwd-rules > span {
    margin-left: -18px;
}

.pwd-rule.ok { 
    color: var(--wp--preset--color--font-tertiary);
    font-weight: 600;
}

.pwd-rule.ko {
    color: #b91c1c;
}

.pwd-confirm-hint {
    margin-top: .25rem; 
    font-size: .9em; 
    color: #777; 
}

.pwd-confirm-hint.ok {
    color: var(--wp--preset--color--font-tertiary);
    font-weight: 600;
}

.pwd-confirm-hint.ko {
    color: #b91c1c;
}

.pwd-rules-wrap { 
    position: relative; 
    display: inline-block; 
    align-self: revert !important;
}

body .category-registration button.pwd-rules-info {
    position: absolute;
    width: 16px; 
    height: 16px; 
    border-radius: 100% !important;
    border: 1 solid var(--wp--preset--color--font-dark-gray) !important;
    background: var(--wp--preset--color--font-light-gray) !important; 
    color: var(--wp--preset--color--font-dark-gray) !important;
    font-size: 10px;
    font-weight: 700; 
    text-align: center; 
    cursor: pointer !important;
    display: inline-block;
    padding: 0 !important;
    margin: 2px !important;
    margin-left: 10px !important;
}

body .category-registration div.pwd-rules-popover {
    position: absolute;
    top: 78px;
    display: none;
    width: 320px;
    min-width: 320px; 
    z-index: 10000;
    padding: 6px 6px; 
    background: var(--wp--preset--color--font-light-gray);
    border-radius: 0;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
}

body .category-registration .pwd-rules-wrap:hover div.pwd-rules-popover,
body .category-registration .pwd-rules-wrap:focus-within div.pwd-rules-popover,
body .category-registration .pwd-rules-wrap.is-open div.pwd-rules-popover { 
    display: block !important; 
}

.pwd-rules {
    margin: 0; 
    padding-left: 1.25rem; 
    list-style: none; 
}

.pwd-rule { 
    position: relative; 
    margin: .25rem 0; 
    color: #64748b; 
}

.pwd-rule::before { 
    content: "•"; 
    position: absolute; 
    left: -1.25rem; 
    opacity: .5; 
}

.pwd-rule.ok { 
    color: var(--wp--preset--color--font-tertiary); 
}

.pwd-rule.ok::before { 
    content: "✔"; 
    opacity: 1; 
}

.pwd-rule.ko { 
    color: #b91c1c; 
}

.pwd-confirm-hint { 
    margin-top: .25rem; 
    font-size: .9em; 
    color: #64748b; 
}

.pwd-confirm-hint.ok { 
    color: #15803d; 
}

.pwd-confirm-hint.ko { 
    color: #b91c1c; 
}

body form.custom-registration p,
body form.custom-registration div.category-registration > div {
    padding-top: 16px;
}

body form.custom-registration .custom-checkboxes p {
    padding-top: 0px;
}

body div.pwd-rules-wrap {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}
    
