/* Shared bottom navigation for the main, discover, service and profile pages. */
.tab-bar {
    position: fixed;
    z-index: 999;
    bottom: 0;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    max-width: 430px;
    height: 82px;
    padding-bottom: env(safe-area-inset-bottom);
    border-radius: 22px 22px 0 0;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -5px 20px rgba(45, 65, 73, .11);
    transform: translateX(-50%);
}

.tab-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-width: 48px;
    color: #687b86;
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.tab-bar a.is-current { color: #10aaa5; font-weight: 700; }
.tab-bar .tab-icon { display: block; height: 27px; font-size: 23px; line-height: 24px; }
.tab-bar .ai-icon { display: grid; width: 42px; height: 42px; margin-top: -16px; place-content: center; border-radius: 50%; background: #15c6c9; color: #fff; font-size: 14px; font-weight: 700; line-height: 1; box-shadow: 0 5px 13px rgba(21, 198, 201, .28); }

@media (max-width: 350px) { .tab-bar a { min-width: 42px; font-size: 10px; } }
