@charset "UTF-8";

.app-footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    z-index: 30;
    width: min(520px, 100%);
    color: var(--team-font-color-2, #fff);
    transform: translateX(-50%);
}

.app-footer__nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
    height: 76px;
    box-sizing: border-box;
    padding: 0 0.75rem env(safe-area-inset-bottom);
    border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    background: var(--team-color-2, #000);
    box-shadow: 0 -8px 30px rgba(39, 27, 70, 0.1);
    backdrop-filter: blur(14px);
}

.app-footer__nav a {
    display: flex;
    min-width: 0;
    height: 66px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    color: inherit;
    font-size: 0.68rem;
    text-decoration: none;
    opacity: 0.72;
}

.app-footer__nav i {
    font-size: 1.35rem;
}

.app-footer__nav .app-footer__item--active {
    color: var(--team-color-1, #0046c8);
    opacity: 1;
}

.app-footer__placeholder {
    display: block;
    height: 66px;
}

.app-footer__back > i {
    position: relative;
    display: block;
    width: 1.35rem;
    height: 1.35rem;
}

.app-footer__back > i::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: .58rem;
    height: .58rem;
    border-bottom: 2px solid currentColor;
    border-left: 2px solid currentColor;
    content: '';
    transform: translate(-35%, -50%) rotate(45deg);
}

.app-footer__selection {
    width: fit-content;
    margin: 0 0 0.65rem auto;
    padding: 0.45rem 0.7rem;
    border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
    border-radius: 0.75rem;
    background: var(--team-color-3, #fff);
    box-shadow: 0 4px 16px rgba(39, 27, 70, 0.12);
}

.app-footer__selection select {
    color: inherit;
    font: inherit;
}

.app-footer__selection option {
    color: #25233a;
}

@media (max-width: 767px) {
    .app-footer {
        right: 0;
        left: 0;
        width: auto;
        transform: none;
    }

    .app-footer__nav {
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .app-footer__selection {
        margin-right: 0.75rem;
    }
}

.app-footer__nav .app-footer__profile { opacity: 1; }
.app-footer__avatar { display: grid; place-items: center; width: 32px; height: 32px; box-sizing: border-box; overflow: hidden; border: 2px solid currentColor; border-radius: 50%; font-size: .65rem; font-weight: 700; }
.app-footer__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.app-footer__profile:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; border-radius: 8px; }
