body.auth {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--grid-gap);
}

body.auth .panel {
    display: flex;
    flex-direction: column;
    max-width: 320px;
    width: 100%;
    background-color: var(--bg-color);
    border: var(--border-width) solid var(--border-color);
    border-radius: var(--border-radius);
    outline: none !important;
}

/* ================================================== */
/* #region PANEL TITLE                                */
/* ================================================== */

body.auth panel-title {
    height: 1.5em;
    padding-inline: 0.375em;
    cursor: default;
}

body.auth panel-title entropy-logo {
    flex: 1;
}

/* #endregion */

/* ================================================== */
/* #region TABS                                       */
/* ================================================== */

body.auth .tab {
    padding-inline: 0.5em;
}

/* #endregion */

/* ================================================== */
/* #region CONTENT                                    */
/* ================================================== */

body.auth .tab-content {
    display: none;
    flex-direction: column;
    position: relative;
}

body.auth .tab-content.active {
    display: flex;
}

body.auth form {
    display: flex;
    flex-direction: column;
}

body.auth .auth-fields-container {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    padding: 0.5em;
}

/* #endregion */

/* ================================================== */
/* #region REDIRECT OPTIONS                           */
/* ================================================== */

body.auth .login-destination {
    display: flex;
    align-items: center;
    gap: 1ch;
    padding-inline: 0.5em;
    padding-block: 0.5em 0;
}

.popover-activator[popovertarget="softwares-list-popover"] {
    padding-inline: 0.5em;
    padding-block: 0.125em;
    border: var(--border-width) solid var(--border-color);
}

.popover-activator[popovertarget="softwares-list-popover"]:hover {
    background-color: var(--bg-color-hover);
    color: var(--text-color-hover);
}

.popover-activator[popovertarget="softwares-list-popover"]::after {
    content: "⏷";
    display: flex;
    justify-content: center;
    align-items: center;
    height: 1.5em;
    margin-left: 1ch;
}

.popover-activator[popovertarget="softwares-list-popover"] span {
    display: flex;
    align-items: center;
}

/* #endregion */

/* ================================================== */
/* #region SUCCESS MESSAGES                           */
/* ================================================== */

.auth .success-message {
    display: flex;
    text-align: center;
    line-height: 1.5;
}

.auth .success-message .entropy-logo {
    width: fit-content;
    padding: 0;
}

/* #endregion */