body {
    background: #9098a2;
    margin: 0;
}

.login-modal {
    width: 27.5rem;
    max-height: 100%;
}

.login-container{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100vw;
    background: #9098a2;
    padding-block: 2rem;
}

@media screen and (max-width: 1024px) {
    .login-container {
        padding-block: 0;
    }

    .login-modal {
        width: 100vw;
    }
}

p, h1, h2, h3, h4, h5, h6, ul {
    margin: 0;
}

hr {
    height: 1px;
    width: 100%;
    margin: 0;
}

button.link {
    border: none;
}

.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: black;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid #ddd;
    position: relative;
    padding-left: 3rem;
    width: 100%;
}

.social-logo {
    height: 24px;
    margin-right: 12px;
    min-width: 24px;
    width: 24px;
    position: absolute;
    left: calc(1rem - 2px);
}

.form-text a[href] {
    border-radius: calc(var(--idmCompLinkBorderradius));
    background: var(--idmCompLinkColorEnabledBg);
    color: var(--idmCompLinkColorEnabledFg);
    opacity: calc(var(--idmCompLinkOpacityEnabled));
    text-decoration-line: underline;
    width: fit-content;
}

.underline {
    text-decoration: underline;
    color: rgb(100, 108, 117);
}

.cursor-pointer {
    cursor: pointer;
}

.modal-dialog {
    flex-direction: column;
    position: absolute;
    border-radius: .5rem;
    inset: 0;
    margin: auto;
    width: 400px;
    height: fit-content;
    border: 1px solid gray;
    background: white;
}

dialog[open] {
    display: flex!important;
}

.modal-header {
    font-weight: bold;
    font-size: 1.25rem;
    line-height: 140%;
    color: #454B54;
    flex: 1;
    padding: 1rem;
}

.modal-body {
    flex: 1;
    padding: 1rem;
}

.modal-footer {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1rem;
}

.inline-space-between {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.hidden { display: none; }

#step-panels {
    overflow: auto;
}

.modal-stack-md {
    padding: 2px;
}

.progressbar-container {
    border-bottom: none;
}

.progressbar {
    padding: 2px;
}

.select-lg {
    line-height: 1.5;
}

.password-strength {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
}

.password-strength-bar {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.password-strength-bar-fill {
    height: 100%;
    width: 0;
    background: #d32f2f;
    transition: width 150ms ease, background-color 150ms ease;
}

.password-strength-bar-fill[data-score="0"] { width: 20%;  background: #d32f2f; }
.password-strength-bar-fill[data-score="1"] { width: 40%;  background: #f57c00; }
.password-strength-bar-fill[data-score="2"] { width: 60%;  background: #fbc02d; }
.password-strength-bar-fill[data-score="3"] { width: 80%;  background: #7cb342; }
.password-strength-bar-fill[data-score="4"] { width: 100%; background: #2e7d32; }

.password-strength-label {
    font-size: 0.875rem;
    font-weight: 600;
}

.password-strength-errors {
    list-style: disc inside;
    padding: 0;
    margin: 0;
    color: #d32f2f;
    font-size: 0.875rem;
}
