#almas-mobile-nav-wrapper * {
    box-sizing: border-box !important;
    margin: 0;
    padding: 0;
    line-height: normal;
}

#almas-mobile-nav-wrapper {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 990;
    display: none;
    justify-content: center;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease, visibility 0.4s ease;
    will-change: transform, opacity;
}

#almas-mobile-nav-wrapper.almas-nav-hidden {
    transform: translateY(60px) scale(0.95) translateZ(0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.almas-mobile-nav-glass {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
    transform: translateZ(0);
}

body.dark-mode .almas-mobile-nav-glass {
    background: rgba(20, 25, 35, 0.97) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

#almas-mobile-nav-wrapper .almas-mobile-nav-glass {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 430px;
    border-radius: var(--almas-radius-element, 24px);
    padding: 0 12px !important;
    pointer-events: auto;
    position: relative;
    overflow: visible;
    height: 60px;
    will-change: transform;
    transform: translateZ(0);
    contain: layout paint;
}

#almas-mobile-nav-wrapper .almas-nav-item {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: #334155 !important;
    transition: color 0.25s ease, transform 0.2s ease;
    height: 100%;
}

#almas-mobile-nav-wrapper .almas-nav-item:active {
    transform: scale(0.96);
}

@media (hover: hover){
#almas-mobile-nav-wrapper .almas-nav-item:hover {
    color: var(--almas-highlight, #3b82f6) !important;
}
}

#almas-mobile-nav-wrapper .almas-nav-item.almas-active {
    color: #3b82f6 !important;
}

#almas-mobile-nav-wrapper .almas-nav-icon {
    position: relative;
    width: 36px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    margin-bottom: 2px !important;
}

#almas-mobile-nav-wrapper .almas-nav-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2px;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.25s ease, stroke-width 0.25s ease;
    display: block;
    background: transparent !important;
}

#almas-mobile-nav-wrapper .almas-nav-item.almas-active .almas-nav-icon svg {
    stroke: #3b82f6 !important;
    stroke-width: 2.5px;
}

#almas-mobile-nav-wrapper .almas-nav-title {
    font-size: 10.5px;
    font-weight: 600;
    opacity: 0.85;
    transition: opacity 0.25s ease, font-weight 0.25s ease;
    display: block;
    text-align: center;
}

#almas-mobile-nav-wrapper .almas-nav-item.almas-active .almas-nav-title {
    opacity: 1;
    font-weight: 700;
}

body[style*="overflow: hidden"] #almas-mobile-nav-wrapper {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -1 !important;
    transform: translateY(60px) scale(0.95) translateZ(0) !important;
}

@media (max-width: 1024px) {
    #almas-mobile-nav-wrapper { display: flex; }
    body { padding-bottom: 85px !important; }
}

body.dark-mode #almas-mobile-nav-wrapper .almas-nav-item { color: #cbd5e1 !important; }
body.dark-mode #almas-mobile-nav-wrapper .almas-nav-item.almas-active { color: #60a5fa !important; }
body.dark-mode #almas-mobile-nav-wrapper .almas-nav-item.almas-active .almas-nav-icon svg { stroke: #60a5fa !important; }