/* Bottom Tab Bar - Glass Card Style
   Exactly matches the present-list cards (rgba 0.15 + blur + white border),
   so the bar reads as part of the same design system and white text with
   dark shadow stays readable over any background */
.bottom-tab-bar {
    position: fixed;
    /* Floating dock: same inset as the content cards, so all rounded
       surfaces share one consistent margin */
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    right: 12px;
    margin: 0 auto;
    /* Nearly opaque so text contrast is stable regardless of what
       scrolls behind the floating bar */
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(14px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
    border: 2px solid rgba(255, 255, 255, 0.55) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
    /* Fully rounded - same radius as the glass cards */
    border-radius: 20px;
    z-index: 1000;
    padding: 6px 0;
    /* iOS 26-style minimize behavior: slides away on scroll down,
       returns on scroll up (driven by tab-bar-functions.js) */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.bottom-tab-bar.tab-bar-hidden {
    transform: translateY(calc(100% + 28px));
    opacity: 0;
    pointer-events: none;
}

.tab-bar-container {
    display: flex;
    /* Cluster tabs near the center (Apple-style) instead of spreading
       them to the far edges of a wide dock */
    justify-content: center;
    gap: 14px;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 0 16px;
    /* min-height instead of a fixed height: the items (icon + label +
       pill padding) define the row, so labels can never be clipped by
       the bar - it grows to fit them */
    min-height: 58px;
    height: auto;
}

/* No width caps: the dock always spans the full width minus the same
   12px inset the content cards use, so their edges align at every size.
   (On screens >= 992px the dock is replaced by the desktop sidebar.) */

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-decoration: none;
    color: #8e8e93;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    /* Wide, flat pill: generous side padding, tight vertical padding -
       the selection reads as wider than tall (landscape) with the label */
    padding: 6px 22px 6px;
    border-radius: 16px;
    cursor: pointer;
    position: relative;
    flex: 0 1 auto;
    min-width: 76px;
    /* No max-width cap: each tab sizes to its label so text is never
       truncated - the pill keeps its padding as breathing room */
}

/* Selection pill behind the active tab (iOS 26 style) - a soft
   capsule tinted in the tab's accent color wraps icon + label.
   Depth: a faint tinted ring outline, a pressed-in inner shadow at the
   top and a hairline highlight at the bottom edge. */
.tab-item.active.home-tab {
    background: rgba(244, 67, 54, 0.12);
    box-shadow: 0 0 0 1px rgba(229, 57, 53, 0.18),
                inset 0 1.5px 3px rgba(183, 28, 28, 0.14),
                inset 0 -1px 0 rgba(255, 255, 255, 0.6);
}
.tab-item.active.activity-tab {
    background: rgba(255, 152, 0, 0.14);
    box-shadow: 0 0 0 1px rgba(239, 108, 0, 0.20),
                inset 0 1.5px 3px rgba(230, 81, 0, 0.14),
                inset 0 -1px 0 rgba(255, 255, 255, 0.6);
}
.tab-item.active.leaderboard-tab {
    background: rgba(33, 150, 243, 0.13);
    box-shadow: 0 0 0 1px rgba(30, 136, 229, 0.20),
                inset 0 1.5px 3px rgba(21, 101, 192, 0.14),
                inset 0 -1px 0 rgba(255, 255, 255, 0.6);
}
.tab-item.active.form-tab {
    background: rgba(76, 175, 80, 0.13);
    box-shadow: 0 0 0 1px rgba(67, 160, 71, 0.20),
                inset 0 1.5px 3px rgba(46, 125, 50, 0.14),
                inset 0 -1px 0 rgba(255, 255, 255, 0.6);
}
.tab-item.active.messages-tab {
    background: rgba(123, 31, 162, 0.12);
    box-shadow: 0 0 0 1px rgba(123, 31, 162, 0.20),
                inset 0 1.5px 3px rgba(74, 20, 140, 0.14),
                inset 0 -1px 0 rgba(255, 255, 255, 0.6);
}

.tab-item:hover {
    color: #636366;
}

.tab-item:hover i {
    color: #636366;
}

/* Icon wrapper for badge positioning */
.tab-icon-wrapper {
    position: relative;
    /* Flex (not inline-block) so no baseline gap sneaks in, and the same
       bottom margin as bare icons - keeps all labels on one line */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1px;
    height: 28px;
}

/* Remove double margin for icons inside wrapper */
.tab-icon-wrapper i {
    margin-bottom: 0 !important;
}

/* Apple-style: bare icons, no chips or shadows behind them */
.tab-item i {
    font-size: 24px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    width: 40px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 2px;
    color: #8e8e93;
}

/* Notification badge - hugs the bell glyph's top-right corner (iOS style).
   iOS system red, crisp white ring, pops in once when it appears
   (constant pulsing was distracting - real iOS badges are static). */
.notification-badge {
    position: absolute;
    top: -3px;
    right: 1px;
    min-width: 18px;
    height: 18px;
    background: #FF3B30;
    color: white;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 1px 4px rgba(255, 59, 48, 0.45);
    border: 2px solid #ffffff;
    animation: badgePop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* The count must stay white - the per-tab active/inactive color rules
   (.tab-item span { color: ... }) match this span too and tinted it */
.tab-item .notification-badge,
.tab-item.active .notification-badge {
    color: #ffffff !important;
}

/* Springy pop when the badge appears */
@keyframes badgePop {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.tab-item span {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    font-size: 11px !important;
    font-weight: 500 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
    margin-top: 2px;
    text-align: center;
    line-height: 1.2;
    /* The label must always be fully visible - the tab sizes to fit it,
       never the other way around */
    display: block;
    overflow: visible;
    white-space: nowrap;
    color: #8e8e93;
    font-variant-numeric: tabular-nums;
    -webkit-font-smoothing: antialiased;
    text-shadow: none;
}

.tab-item.active {
    color: inherit;
}

/* Active: filled icon + label tinted in the tab's own color
   (Apple structure, per-tab accent) */
.tab-item.active span {
    font-weight: 600 !important;
}

.tab-item.active.home-tab i,
.tab-item.active.home-tab span { color: #E53935; }

.tab-item.active.activity-tab i,
.tab-item.active.activity-tab span { color: #EF6C00; }

.tab-item.active.leaderboard-tab i,
.tab-item.active.leaderboard-tab span { color: #1E88E5; }

.tab-item.active.messages-tab i,
.tab-item.active.messages-tab span { color: #7B1FA2; }

.tab-item.active.form-tab i,
.tab-item.active.form-tab span { color: #43A047; }

/* No indicator line (Android pattern) - selection is shown by the
   filled icon + accent tint, the iOS way */
.tab-item::before {
    display: none;
}

.tab-item:hover:not(.active) i {
    transform: scale(1.05);
}

/* Floating Action Button (FAB) - Red Gradient Style */
.tab-fab {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF5722, #F44336);
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 16px rgba(244, 67, 54, 0.4), 
                0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-fab i {
    color: white;
    font-size: 26px;
    line-height: 1;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-fab:hover {
    transform: translateX(-50%) translateY(-2px);
    background: linear-gradient(135deg, #F44336, #E91E63);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.5), 
                0 3px 10px rgba(0, 0, 0, 0.15);
}

.tab-fab:hover i {
    transform: scale(1.1);
}

.tab-fab:active {
    transform: translateX(-50%) translateY(0);
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.4), 
                0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Spacer for FAB - fixed slot so tabs stay clustered near the center */
.tab-spacer {
    flex: 0 0 76px;
}

/* Add padding to body to prevent content from being hidden behind tab bar
   (floating dock: bar height + 12px bottom inset) */
body.has-tab-bar {
    padding-bottom: 104px;
}

body.has-tab-bar.expanded {
    padding-bottom: 164px;
}

/* Hamburger Menu Button - Glass Morphism Style */
.tab-bar-menu-btn {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 32px;
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(30px) saturate(180%) brightness(1.1) !important;
    -webkit-backdrop-filter: blur(30px) saturate(180%) brightness(1.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-bottom: none !important;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1),
                0 -1px 4px rgba(0, 0, 0, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.tab-bar-menu-btn i {
    color: #666;
    font-size: 18px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-bar-menu-btn:hover {
    background: rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.12),
                0 -2px 6px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.tab-bar-menu-btn:hover i {
    color: #333;
    transform: scale(1.1);
}



/* Overlay for both menu and notifications */
.tab-bar-menu-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 9998 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
    pointer-events: none !important;
}

.tab-bar-menu-overlay.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Notifications Panel - Override all page styles */
.tab-bar-notifications-panel,
body.recipients-page .tab-bar-notifications-panel,
.recipients-page .tab-bar-notifications-panel {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3), 0 -4px 16px rgba(0, 0, 0, 0.2) !important;
    z-index: 9999 !important;
    transform: translateY(100%) !important;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    max-height: 70vh !important;
    min-height: 300px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    pointer-events: auto !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tab-bar-notifications-panel.show,
body.recipients-page .tab-bar-notifications-panel.show,
.recipients-page .tab-bar-notifications-panel.show {
    transform: translateY(0) !important;
    visibility: visible !important;
}

.tab-bar-notifications-header,
body.recipients-page .tab-bar-notifications-header,
.recipients-page .tab-bar-notifications-header {
    padding: 20px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    flex-shrink: 0 !important;
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
}

.tab-bar-notifications-header h5,
body.recipients-page .tab-bar-notifications-header h5,
.recipients-page .tab-bar-notifications-header h5 {
    margin: 0 !important;
    color: #2d3748 !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    text-shadow: none !important;
}

.tab-bar-notifications-header i,
body.recipients-page .tab-bar-notifications-header i,
.recipients-page .tab-bar-notifications-header i {
    color: #2d3748 !important;
    filter: none !important;
    text-shadow: none !important;
}

.tab-bar-notifications-close {
    background: rgba(0, 0, 0, 0.05) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    color: #2d3748 !important;
}

.tab-bar-notifications-close:hover {
    background: rgba(0, 0, 0, 0.1) !important;
}

.tab-bar-notifications-close i {
    color: #2d3748 !important;
    font-size: 18px !important;
}

.tab-bar-notifications-content,
body.recipients-page .tab-bar-notifications-content,
.recipients-page .tab-bar-notifications-content {
    flex: 1 !important;
    overflow-y: auto !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-overflow-scrolling: touch !important;
}

.tab-bar-notification-item,
body.recipients-page .tab-bar-notification-item,
.recipients-page .tab-bar-notification-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 15px 20px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
}

.tab-bar-notification-item:hover {
    background: rgba(0, 0, 0, 0.02) !important;
}

.tab-bar-notification-item.unread {
    background: rgba(33, 150, 243, 0.05) !important;
}

.tab-bar-notification-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.tab-bar-notification-icon i {
    font-size: 20px !important;
}

.tab-bar-notification-content {
    flex: 1 !important;
    min-width: 0 !important;
}

.tab-bar-notification-message,
body.recipients-page .tab-bar-notification-message,
.recipients-page .tab-bar-notification-message {
    font-size: 14px !important;
    color: #2d3748 !important;
    margin-bottom: 4px !important;
    line-height: 1.4 !important;
    text-shadow: none !important;
}

.tab-bar-notification-time,
body.recipients-page .tab-bar-notification-time,
.recipients-page .tab-bar-notification-time {
    font-size: 12px !important;
    color: #718096 !important;
    text-shadow: none !important;
}

.tab-bar-notification-time i,
body.recipients-page .tab-bar-notification-time i,
.recipients-page .tab-bar-notification-time i {
    font-size: 12px !important;
    color: #718096 !important;
    text-shadow: none !important;
    filter: none !important;
}

.tab-bar-notification-unread-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #2196F3 !important;
    flex-shrink: 0 !important;
    margin-top: 6px !important;
}

.tab-bar-notifications-empty,
body.recipients-page .tab-bar-notifications-empty,
.recipients-page .tab-bar-notifications-empty {
    text-align: center !important;
    padding: 60px 20px !important;
    color: #718096 !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
}

.tab-bar-notifications-empty i,
body.recipients-page .tab-bar-notifications-empty i,
.recipients-page .tab-bar-notifications-empty i {
    font-size: 48px !important;
    margin-bottom: 16px !important;
    opacity: 0.5 !important;
    color: #718096 !important;
    text-shadow: none !important;
    filter: none !important;
}

.tab-bar-notifications-empty p,
body.recipients-page .tab-bar-notifications-empty p,
.recipients-page .tab-bar-notifications-empty p {
    color: #718096 !important;
    margin: 0 !important;
    text-shadow: none !important;
}

.tab-bar-notifications-view-all,
body.recipients-page .tab-bar-notifications-view-all,
.recipients-page .tab-bar-notifications-view-all {
    padding: 16px 20px !important;
    text-align: center !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    flex-shrink: 0 !important;
}

.tab-bar-notifications-view-all a,
body.recipients-page .tab-bar-notifications-view-all a,
.recipients-page .tab-bar-notifications-view-all a {
    color: #2196F3 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-shadow: none !important;
}

.tab-bar-notifications-view-all a:hover,
body.recipients-page .tab-bar-notifications-view-all a:hover,
.recipients-page .tab-bar-notifications-view-all a:hover {
    text-decoration: underline !important;
}

/* Hamburger Menu Panel */
.tab-bar-menu-panel {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
    box-shadow: 0 -8px 32px 0 rgba(0, 0, 0, 0.37) !important;
    z-index: 9999 !important;
    transform: translateY(100%) !important;
    transition: transform 0.3s ease !important;
    /* Tall enough for all items on small phones (60vh clipped the
       tiles once the menu grew); dvh accounts for mobile browser UI.
       Scrolls only as a last resort on very small screens. */
    max-height: 85vh !important;
    max-height: 85dvh !important;
    overflow-y: auto !important;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.tab-bar-menu-panel.show {
    transform: translateY(0) !important;
    visibility: visible !important;
}

.tab-bar-menu-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tab-bar-menu-header h5 {
    margin: 0;
    color: #2d3748;
    font-weight: 600;
    font-size: 18px;
}

.tab-bar-menu-close {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #2d3748;
}

.tab-bar-menu-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.tab-bar-menu-content {
    padding: 10px 0;
}

.tab-bar-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    color: #2d3748;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    cursor: pointer;
}

.tab-bar-menu-item:hover {
    background: rgba(102, 126, 234, 0.1);
    border-left-color: #667eea;
}

.tab-bar-menu-item i {
    font-size: 20px;
    width: 25px;
    text-align: center;
    color: #667eea;
}

.tab-bar-menu-item span {
    font-size: 16px;
    font-weight: 500;
}

.tab-bar-menu-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 10px 25px;
}

/* Menu item specific colors */
.tab-bar-menu-item.add-person-item i {
    color: #2196F3; /* material-blue */
}

.tab-bar-menu-item.add-present-item i {
    color: #F44336; /* material-red */
}

.tab-bar-menu-item.reserved-item i {
    color: #FF9800; /* material-orange */
}

.tab-bar-menu-item.edit-presents-item i {
    color: #4CAF50; /* material-green */
}

.tab-bar-menu-item.settings-item i {
    color: #9C27B0; /* material-purple */
}

.tab-bar-menu-item.logout-item i {
    color: #F44336; /* material-red */
}

.tab-bar-menu-item.logout-item:hover {
    background: rgba(244, 67, 54, 0.1);
    border-left-color: #F44336;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .tab-bar-container {
        padding: 0 4px;
        min-height: 54px;
        height: auto;
        /* Tighter gap so full-length labels fit on narrow phones */
        gap: 8px;
    }
    
    .tab-item {
        /* Wide flat pill on phones too - labels must fit in full */
        padding: 6px 14px 6px;
        min-width: 60px;
    }
    
    .tab-item i {
        font-size: 21px;
        width: 36px;
        height: 26px;
    }
    
    .tab-item span {
        font-size: 10px !important;
        letter-spacing: 0.2px;
    }
    
    .tab-fab {
        width: 52px;
        height: 52px;
        top: -22px;
        border-width: 3px;
    }
    
    .tab-fab i {
        font-size: 22px;
    }
    
    .tab-bar-menu-btn {
        width: 44px;
        height: 28px;
        top: -14px;
    }
    
    .tab-bar-menu-btn i {
        font-size: 16px;
    }
}

/* Animation for tab switching */
@keyframes tabPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.tab-item.active i {
    animation: tabPulse 0.4s ease;
}

/* Glass morphism variants for different backgrounds */
.tab-bar-dark-bg {
    background: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(15px) saturate(180%) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

.tab-bar-light-bg {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(15px) saturate(180%) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
}

/* Apple-style: no per-tab colors - all inactive icons neutral gray,
   the single accent belongs to the active tab only */

/* (per-tab active colors removed - single accent defined above) */

/* ===== Secondary quick-action tiles at the bottom of the menu sheet =====
   Compact icon tiles (like share-sheet quick actions) instead of an accordion */
.tab-bar-menu-secondary {
    display: flex;
    gap: 10px;
    padding: 6px 16px 14px;
}

.tab-bar-menu-tile {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 8px 12px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: #2d3748;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.15s ease, transform 0.1s ease;
}

.tab-bar-menu-tile i {
    font-size: 22px;
    color: #4a5568;
}

.tab-bar-menu-tile:hover,
.tab-bar-menu-tile:active {
    background: rgba(0, 0, 0, 0.1);
    color: #2d3748;
    transform: scale(0.98);
}

.tab-bar-menu-tile.tile-logout i {
    color: #ff3b30;
}
