.authservice {
    font-family: inherit;
}

.authservice a,
.authservice summary,
.authservice button {
    text-decoration: none;
}

.authservice summary {
    list-style: none;
}

.authservice summary::-webkit-details-marker {
    display: none;
}

.authservice--header {
    position: relative;
    display: inline-flex;
    align-items: center;
    z-index: 20;
}

.authservice-login-menu,
.authservice-user-menu {
    position: relative;
}

.authservice--authenticated .authservice-user-menu {
    display: inline-flex;
    align-items: center;
    height: 42px;
}

.authservice-login-menu__toggle,
.authservice-user-menu__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 1.1rem;
    border: 1px solid rgba(52, 58, 64, .22);
    border-radius: 999px;
    background: #fff;
    color: #343a40;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(45, 46, 45, .06);
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.authservice--authenticated .authservice-user-menu__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 1.5px;
    border-radius: 50%;
    line-height: 1;
}

.authservice--authenticated .authservice-user-menu__toggle:hover,
.authservice--authenticated .authservice-user-menu__toggle:focus,
.authservice--authenticated .authservice-user-menu.show .authservice-user-menu__toggle {
    border-color: transparent;
    background: transparent;
    color: inherit;
    outline: none;
    box-shadow: none;
    transform: none;
}

.authservice-login-menu__toggle:hover,
.authservice-login-menu__toggle:focus,
.authservice-login-menu.show .authservice-login-menu__toggle,
.authservice-user-menu__toggle:hover,
.authservice-user-menu__toggle:focus,
.authservice-user-menu.show .authservice-user-menu__toggle {
    border-color: #343a40;
    background: #343a40;
    color: #fff;
    outline: none;
    box-shadow: 0 10px 24px rgba(45, 46, 45, .14);
    transform: translateY(-1px);
}

.authservice-login-menu__icon {
    position: relative;
    display: none;
    width: 19px;
    height: 19px;
}

.authservice-login-menu__icon::before,
.authservice-login-menu__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    display: block;
    transform: translateX(-50%);
}

.authservice-login-menu__icon::before {
    top: 1px;
    width: 8px;
    height: 8px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.authservice-login-menu__icon::after {
    bottom: 1px;
    width: 16px;
    height: 8px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 10px 10px 5px 5px;
}

.authservice-login-menu__panel,
.authservice-user-menu__panel {
    position: absolute;
    top: calc(100% + .55rem);
    right: 0;
    width: min(280px, calc(100vw - 2rem));
    padding: .85rem;
    border: 1px solid rgba(52, 58, 64, .12);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(45, 46, 45, .18);
}

.authservice-login-menu__panel:not(.show),
.authservice-user-menu__panel:not(.show) {
    display: none;
}

.authservice-user-menu__toggle {
    position: relative;
    overflow: visible;
}

.authservice-user-menu__toggle > .authservice-user__avatar {
    transition: opacity .18s ease, transform .18s ease;
}

.authservice-user-menu__attention-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    z-index: 2;
    display: block;
    box-sizing: border-box;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #d9535f;
    box-shadow: 0 0 0 0 rgba(217, 83, 95, .45);
    pointer-events: none;
    animation: authservice-attention-pulse 1.8s ease-out 3;
}

.authservice-user-menu.show .authservice-user-menu__attention-dot,
.authservice-user-menu[open] .authservice-user-menu__attention-dot {
    opacity: 0;
}

.site-user-menu__close-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 22px;
    height: 22px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) rotate(-45deg) scale(.65);
    transition: opacity .18s ease, transform .18s ease;
}

.site-user-menu__close-icon::before,
.site-user-menu__close-icon::after {
    content: "";
    position: absolute;
    left: -4.5px;
    display: block;
    width: 31px;
    height: 2px;
    border-radius: 999px;
    background: #343a40;
}

.site-user-menu__close-icon::before {
    top: 10px;
    transform: rotate(45deg);
}

.site-user-menu__close-icon::after {
    bottom: 10px;
    transform: rotate(-45deg);
}

.authservice-user-menu.show .authservice-user-menu__toggle > .authservice-user__avatar {
    opacity: 0;
    transform: rotate(20deg) scale(.65);
}

.authservice-user-menu.show .site-user-menu__close-icon {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0) scale(1);
}

.authservice-user-menu__identity {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    margin-bottom: 12px;
}

.authservice-user-menu__identity-text {
    min-width: 0;
}

.authservice--authenticated .authservice-user-menu__identity .authservice-user__avatar {
    width: 52px;
    height: 52px;
    margin: 0;
}

.authservice-user-menu__identity .authservice-user-menu__title {
    margin-bottom: 3px;
}

.authservice-user-menu__identity .authservice-user-menu__name-full {
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.authservice-user-menu__attention {
    margin: 0 0 12px;
    padding: 12px;
    border-left: 3px solid #d9535f;
    border-radius: 8px;
    background: #f7f8f8;
    color: #343a40;
}

.authservice-user-menu__attention-title {
    margin-bottom: 4px;
    color: #2d2e2d;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.3;
}

.authservice-user-menu__attention-text {
    margin-bottom: 10px;
    color: #6f777c;
    font-size: .84rem;
    line-height: 1.4;
}

.authservice-user-menu__attention-action {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 7px 12px;
    border-radius: 9px;
    background: #343a40;
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.2;
}

.authservice-user-menu__attention-action:hover,
.authservice-user-menu__attention-action:focus {
    background: #2d2e2d;
    color: #fff;
}

.authservice-login-menu__title,
.authservice-user-menu__title {
    margin-bottom: .65rem;
    color: #777d82;
    font-size: .86rem;
    font-weight: 500;
}

.authservice-provider-list {
    display: grid;
    gap: .65rem;
}

.authservice-provider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 46px;
    padding: .65rem .95rem;
    border: 1px solid rgba(52, 58, 64, .14);
    border-radius: 12px;
    background: #fff;
    color: #343a40;
    font-size: .98rem;
    font-weight: 500;
    line-height: 1.2;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .16s ease;
}

.authservice-provider:not([href]),
.authservice-provider[href=""] {
    display: none;
}

.authservice-provider + .authservice-provider {
    margin-top: .55rem;
}

.authservice-provider:hover,
.authservice-provider:focus {
    color: #343a40;
    border-color: rgba(52, 58, 64, .3);
    box-shadow: 0 10px 24px rgba(45, 46, 45, .12);
    transform: translateY(-1px);
}

.authservice-provider__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
}

.authservice-provider__icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

.authservice-provider--facebook {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
}

.authservice-provider--facebook:hover,
.authservice-provider--facebook:focus {
    background: #166fe5;
    border-color: #166fe5;
    color: #fff;
}

.authservice-provider--facebook .authservice-provider__icon svg {
    fill: currentColor;
}

.authservice-provider--google {
    background: #fff;
}

.authservice-provider--telegram {
    background: #229ed9;
    border-color: #229ed9;
    color: #fff;
}

.authservice-provider--telegram:hover,
.authservice-provider--telegram:focus {
    background: #1f94cc;
    border-color: #1f94cc;
    color: #fff;
}

.authservice-provider--telegram .authservice-provider__icon svg {
    fill: currentColor;
}

.authservice-card {
    width: min(100%, 420px);
    padding: 1.25rem;
    border: 1px solid rgba(52, 58, 64, .12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(45, 46, 45, .1);
}

.authservice-card__title {
    margin-bottom: .35rem;
    color: #2d2e2d;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.2;
}

.authservice-card__text {
    margin-bottom: 1rem;
    color: #777d82;
    font-size: .96rem;
    line-height: 1.45;
}

.authservice-user__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    margin-right: .5rem;
    border-radius: 50%;
    object-fit: cover;
    background: #eef2f4;
    color: #343a40;
    font-size: .9rem;
    font-weight: 600;
}

.authservice--authenticated .authservice-user__avatar {
    width: 39px;
    height: 39px;
    margin-right: 0;
}

.authservice-user-menu__name {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.authservice-user-menu__name-full {
    margin-bottom: .75rem;
    color: #2d2e2d;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.authservice-user-menu__logout {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 12px;
    background: #343a40;
    color: #fff;
    font-weight: 500;
}

.authservice-user-menu__logout:hover,
.authservice-user-menu__logout:focus {
    color: #fff;
    background: #2d2e2d;
}

.authservice-message {
    padding: 1rem;
    border: 1px solid rgba(52, 58, 64, .12);
    border-radius: 12px;
    background: #fff;
    color: #343a40;
}

.authservice--profile {
    width: 100%;
}

.authservice-profile {
    width: min(100%, 640px);
    padding: 1.35rem;
    border: 1px solid rgba(52, 58, 64, .12);
    border-radius: 18px;
    background: #fff;
    color: #343a40;
    box-shadow: 0 18px 45px rgba(45, 46, 45, .1);
}

.authservice-profile__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid rgba(52, 58, 64, .1);
}

.authservice-profile__header .authservice-user__avatar {
    width: 72px;
    height: 72px;
    margin-right: 0;
    font-size: 1.6rem;
}

.authservice-profile__avatar-wrap {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
}

.authservice-profile__provider-badge {
    position: absolute;
    right: -3px;
    bottom: -3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #fff;
    color: #343a40;
    box-shadow: 0 5px 14px rgba(45, 46, 45, .2);
}

.authservice-profile__provider-badge svg {
    display: block;
    width: 17px;
    height: 17px;
}

.authservice-profile__provider-badge--facebook {
    background: #1877f2;
    color: #fff;
}

.authservice-profile__provider-badge--facebook svg {
    fill: currentColor;
}

.authservice-profile__provider-badge--telegram {
    background: #229ed9;
    color: #fff;
}

.authservice-profile__provider-badge--telegram svg {
    fill: currentColor;
}

.authservice-profile__identity {
    min-width: 0;
}

.authservice-profile__label,
.authservice-profile__section-title {
    color: #777d82;
    font-size: .9rem;
    font-weight: 500;
}

.authservice-profile__name {
    margin-top: .25rem;
    color: #2d2e2d;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.authservice-profile__email {
    margin-top: .25rem;
    color: #777d82;
    font-size: .98rem;
    overflow-wrap: anywhere;
}

.authservice-profile__email:empty {
    display: none;
}

.authservice-email {
    margin-top: 1.1rem;
    padding: 1rem;
    border-left: 4px solid #343a40;
    background: #f8fafb;
}

.authservice-email--pending {
    border-left-color: #d99b2b;
}

.authservice-email__title {
    color: #2d2e2d;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}

.authservice-email__text {
    margin-top: .3rem;
    color: #666d72;
    font-size: .9rem;
    line-height: 1.4;
}

.authservice-email__form {
    margin-top: .8rem;
}

.authservice-email__label {
    display: block;
    margin-bottom: .35rem;
    color: #343a40;
    font-size: .85rem;
    font-weight: 600;
}

.authservice-email__fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .6rem;
}

.authservice-email__input,
.authservice-email__submit {
    box-sizing: border-box;
    min-height: 42px;
    border-radius: 8px;
    font: inherit;
}

.authservice-email__input {
    min-width: 0;
    padding: .55rem .7rem;
    border: 1px solid rgba(52, 58, 64, .25);
    background: #fff;
    color: #2d2e2d;
}

.authservice-email__input:focus {
    border-color: #343a40;
    outline: 2px solid rgba(52, 58, 64, .14);
    outline-offset: 1px;
}

.authservice-email__submit {
    padding: .55rem 1rem;
    border: 1px solid #343a40;
    background: #343a40;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.authservice-email__submit:hover,
.authservice-email__submit:focus {
    background: #2d2e2d;
}

.authservice-email--pending .authservice-email__submit {
    border-color: rgba(52, 58, 64, .24);
    background: #fff;
    color: #343a40;
}

.authservice-email--pending .authservice-email__submit:hover,
.authservice-email--pending .authservice-email__submit:focus {
    border-color: #343a40;
    background: #eef1f2;
}

.authservice-email__submit:disabled,
.authservice-email__submit[disabled] {
    opacity: .72;
    cursor: wait;
}

.authservice-email__submit:disabled:hover,
.authservice-email__submit[disabled]:hover {
    background: #343a40;
}

.authservice-email--pending .authservice-email__submit:disabled,
.authservice-email--pending .authservice-email__submit[disabled],
.authservice-email--pending .authservice-email__submit:disabled:hover,
.authservice-email--pending .authservice-email__submit[disabled]:hover {
    background: #fff;
    color: #343a40;
}

.authservice-email__message {
    margin-bottom: .75rem;
    padding: .65rem .75rem;
    border-left: 3px solid #667079;
    background: #fff;
    color: #343a40;
    font-size: .86rem;
    line-height: 1.35;
}

.authservice-email__message--success {
    border-left-color: #2c956c;
}

.authservice-email__message--error {
    border-left-color: #c84949;
}

.authservice--email-confirmation {
    width: 100%;
}

.authservice-email-confirmation {
    width: min(100%, 560px);
    box-sizing: border-box;
    padding: 1.5rem;
    border: 1px solid rgba(52, 58, 64, .12);
    border-top: 4px solid #c84949;
    border-radius: 8px;
    background: #fff;
    color: #343a40;
}

.authservice-email-confirmation--success {
    border-top-color: #2c956c;
}

.authservice-email-confirmation__title {
    color: #2d2e2d;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
}

.authservice-email-confirmation__text {
    margin-top: .55rem;
    color: #666d72;
    line-height: 1.5;
}

.authservice-email-confirmation__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 1.1rem;
    padding: .55rem 1rem;
    border-radius: 8px;
    background: #343a40;
    color: #fff;
    font-weight: 600;
}

.authservice-email-confirmation__action:hover,
.authservice-email-confirmation__action:focus {
    background: #2d2e2d;
    color: #fff;
}

.authservice--external-link-result {
    display: flex;
    justify-content: center;
    width: 100%;
}

.authservice-external-link-result-page {
    box-sizing: border-box;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    background: #fff;
    font-family: Arial, sans-serif;
}

.authservice-external-link-result-page__main {
    display: grid;
    align-content: center;
    width: min(100%, 560px);
    min-height: calc(100vh - 40px);
    margin: 0 auto;
    gap: 24px;
}

.authservice-external-link-result-page__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    text-align: center;
}

.authservice-external-link-result-page__logo {
    display: block;
    width: auto;
    max-width: min(100%, 250px);
    max-height: 54px;
    object-fit: contain;
}

.authservice-external-link-result-page__site-name {
    color: #2d2e2d;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.authservice-external-link-result {
    width: min(100%, 560px);
    box-sizing: border-box;
    padding: 1.5rem;
    border: 1px solid rgba(52, 58, 64, .12);
    border-top: 4px solid #c84949;
    border-radius: 8px;
    background: #f8f9fa;
    color: #343a40;
    text-align: center;
}

.authservice-external-link-result--success {
    border-top-color: #2c956c;
}

.authservice-external-link-result__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #f8eaea;
    color: #c84949;
}

.authservice-external-link-result--success .authservice-external-link-result__icon {
    background: #e8f5ef;
    color: #2c956c;
}

.authservice-external-link-result__icon svg {
    display: block;
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.authservice-external-link-result__icon-success,
.authservice-external-link-result--success .authservice-external-link-result__icon-error {
    display: none !important;
}

.authservice-external-link-result--success .authservice-external-link-result__icon-success {
    display: block !important;
}

.authservice-external-link-result__title {
    color: #2d2e2d;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
}

.authservice-external-link-result__text {
    margin-top: .55rem;
    color: #666d72;
    line-height: 1.5;
}

.authservice-profile__membership {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-top: .7rem;
    padding: .32rem .65rem;
    border-radius: 999px;
    background: #eef2f4;
    color: #343a40;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.15;
}

.authservice-profile__membership:empty {
    display: none;
}

.authservice-profile__section {
    padding-top: 1.1rem;
}

.authservice-profile__section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 1rem;
    margin-bottom: .7rem;
}

.authservice-profile__section-title {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0;
    white-space: nowrap;
}

.authservice-profile__section-hint {
    flex: 0 0 auto;
    margin-left: auto;
    color: #747d86;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.authservice-profile__socials {
    display: grid;
    gap: .75rem;
}

.authservice-social {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: center;
    gap: .85rem;
    padding: .85rem;
    border: 1px solid rgba(52, 58, 64, .12);
    border-radius: 14px;
    background: #f8fafb;
}

.authservice-social__main {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.authservice-social__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(52, 58, 64, .1);
}

.authservice-social--facebook .authservice-social__icon {
    background: #1877f2;
    color: #fff;
}

.authservice-social--facebook .authservice-social__icon svg {
    fill: currentColor;
}

.authservice-social--telegram .authservice-social__icon {
    background: #229ed9;
    color: #fff;
}

.authservice-social--telegram .authservice-social__icon svg {
    fill: currentColor;
}

.authservice-social__icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

.authservice-social__body {
    min-width: 0;
}

.authservice-social__name {
    color: #2d2e2d;
    font-weight: 700;
    line-height: 1.25;
}

.authservice-social__status,
.authservice-social__email {
    margin-top: .15rem;
    color: #777d82;
    font-size: .9rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.authservice-social__controls {
    display: grid;
    justify-items: stretch;
    justify-self: end;
    gap: .35rem;
    width: 100%;
    min-width: 0;
}

.authservice-social__action,
.authservice-profile__logout {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 40px;
    padding: .55rem .9rem;
    border-radius: 12px;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.authservice-social__action {
    width: 100%;
}

.authservice-social__action:hover,
.authservice-social__action:focus,
.authservice-profile__logout:hover,
.authservice-profile__logout:focus {
    transform: translateY(-1px);
}

.authservice-social__action--link {
    border: 1px solid #343a40;
    background: #343a40;
    color: #fff;
}

.authservice-social__action--link:hover,
.authservice-social__action--link:focus {
    background: #2d2e2d;
    color: #fff;
}

.authservice-social__action--unlink {
    border: 1px solid rgba(52, 58, 64, .18);
    background: #fff;
    color: #343a40;
}

.authservice-social__action--unlink:hover,
.authservice-social__action--unlink:focus {
    border-color: #343a40;
    color: #343a40;
    box-shadow: 0 8px 20px rgba(45, 46, 45, .1);
}

.authservice-social__action--unlink.authservice-is-confirming,
.authservice-social__action--unlink.authservice-is-confirming:hover,
.authservice-social__action--unlink.authservice-is-confirming:focus,
.authservice-profile__logout.authservice-is-confirming,
.authservice-profile__logout.authservice-is-confirming:hover,
.authservice-profile__logout.authservice-is-confirming:focus,
.authservice-user-menu__logout.authservice-is-confirming,
.authservice-user-menu__logout.authservice-is-confirming:hover,
.authservice-user-menu__logout.authservice-is-confirming:focus {
    border-color: #c84646;
    background: #fff1f1;
    color: #a72f2f;
    box-shadow: 0 8px 20px rgba(168, 47, 47, .12);
    transform: none;
}

.authservice-social__action--disabled {
    border: 1px solid rgba(52, 58, 64, .1);
    background: #edf0f2;
    color: #8a9095;
    cursor: not-allowed;
}

.authservice-social__action--disabled:hover {
    transform: none;
}

.authservice-social__hint {
    color: #777d82;
    font-size: .76rem;
    line-height: 1.25;
    text-align: center;
}

.authservice-profile__logout {
    width: 100%;
    margin-top: 1rem;
    background: #343a40;
    color: #fff;
}

.authservice-profile__logout:hover,
.authservice-profile__logout:focus {
    background: #2d2e2d;
    color: #fff;
}

.authservice-provider.authservice-is-loading,
.authservice-provider.authservice-is-loading:hover,
.authservice-provider.authservice-is-loading:focus,
.authservice-social__action.authservice-is-loading,
.authservice-social__action.authservice-is-loading:hover,
.authservice-social__action.authservice-is-loading:focus,
.authservice-profile__logout.authservice-is-loading,
.authservice-profile__logout.authservice-is-loading:hover,
.authservice-profile__logout.authservice-is-loading:focus,
.authservice-user-menu__logout.authservice-is-loading,
.authservice-user-menu__logout.authservice-is-loading:hover,
.authservice-user-menu__logout.authservice-is-loading:focus {
    cursor: wait;
    opacity: .82;
    transform: none;
    box-shadow: none;
}

.authservice-external-link-is-preparing,
.authservice-external-link-is-preparing:hover,
.authservice-external-link-is-preparing:focus {
    cursor: wait;
    opacity: .72;
    transform: none;
    box-shadow: none;
}

.authservice-action-spinner {
    display: inline-flex;
    flex: 0 0 auto;
    width: 1em;
    height: 1em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: authservice-spin .7s linear infinite;
}

@keyframes authservice-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes authservice-attention-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(217, 83, 95, .45);
    }
    70%,
    100% {
        box-shadow: 0 0 0 7px rgba(217, 83, 95, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .authservice-user-menu__attention-dot {
        animation: none;
    }
}

@media (max-width: 991.98px) {
    .authservice-login-menu__toggle {
        min-height: 40px;
        padding: 0 1rem;
    }

    .authservice--authenticated .authservice-user-menu__toggle {
        border-radius: 50%;
    }

    .authservice-user-menu__name {
        display: none;
    }

    .authservice-user-menu__panel {
        right: 0;
    }
}

@media (max-width: 767.98px) {
    .authservice-social {
        grid-template-columns: 1fr;
    }

    .authservice-social__controls {
        justify-self: stretch;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .authservice-profile {
        padding: 1rem;
        border-radius: 14px;
    }

    .authservice-profile__header {
        align-items: flex-start;
    }

    .authservice-profile__header .authservice-user__avatar {
        width: 58px;
        height: 58px;
        font-size: 1.25rem;
    }

    .authservice-profile__provider-badge {
        width: 24px;
        height: 24px;
    }

    .authservice-profile__provider-badge svg {
        width: 15px;
        height: 15px;
    }

    .authservice-profile__section-header {
        align-items: baseline;
        flex-direction: row;
        justify-content: flex-start;
        gap: .45rem;
    }

    .authservice-profile__section-title {
        flex: 0 0 auto;
        font-size: 1rem;
    }

    .authservice-profile__section-hint {
        margin-left: 0;
        font-size: 1rem;
    }

    .authservice-social {
        grid-template-columns: 1fr;
    }

    .authservice-social__action {
        width: 100%;
    }

    .authservice-social__controls {
        width: 100%;
    }

    .authservice-email {
        padding: .85rem .75rem;
    }

    .authservice-email__fields {
        grid-template-columns: 1fr;
    }

    .authservice-email__submit {
        width: 100%;
    }
}
