/**
 * Adjustable style values for the protective overlay.
 */
:root {
    --cover-z-index: 500;
    --cover-opacity: 0.2;
    --cover-blur-radius: 5px;
}

/**
 * Don't touch anything below here if you don't know what you're doing.
 */

*:has(> div.auth-overlay) {
    overflow: hidden;
}

div.auth-overlay {
    position: absolute;
    z-index: var(--cover-z-index);
    background-color: rgba(100, 100, 100, var(--cover-opacity));
    backdrop-filter: blur(var(--cover-blur-radius));
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: auto;
}

div.auth-overlay div.connector {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    background-color: #fff;
    width: 80%;
    max-width: 500px;

    padding: 1.5em;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}
body > div.auth-overlay div.connector {
    top: 150px;
    transform: translateX(-50%);
}

div.auth-overlay div.connector > * {
    text-align: center;
}
div.auth-overlay div.connector h1,
div.auth-overlay div.connector h2,
div.auth-overlay div.connector h3 {
    margin-top: 0;
}
div.auth-overlay div.connector a.btn {
    margin: 0;
}

div.auth-logout {
    position: fixed;
    top: 100px;
    right: 0;
    padding: 1em;
    max-width: 200px;
    z-index: 999;

    background-color: #fff;
    border: 1px solid gray;
    border-right: 0;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    text-align: center;
}
div.auth-logout p {
    margin-top: 0;
    margin-bottom: 0.8em;
}
div.auth-logout a.btn {
    margin: 0;
}