  body {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .wuluoo-head {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff;
    color: #000;
    border-bottom: 1px solid #ccc;
    height: 60px; /* Consistent height for all pages */
    padding: 0 16px; /* Horizontal padding only */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }
  
  .wuluoo-head .logo {
    height: 24px;
    width: auto;
  }
  
  .wuluoo-head .dm-button {
    text-decoration: none;
    display: inline-block;
  }
  
  .wuluoo-head .dm-icon {
    height: 20px;
    width: 20px;
    transition: filter 0.2s ease;
  }
  
  .wuluoo-head .dm-icon:hover {
    filter: brightness(0.5);
  }
  .page-content {
    /* Ensure content sits below the fixed header */
    padding-top: 60px; /* Offset for fixed header */

   padding-bottom: 10px; /* Same height as .wuluoo-tab-bar */
    padding-left: 16px;
    padding-right: 16px;
    overflow-y: auto;
    height: calc(100vh - 116px); /* account for header and bottom nav */
  }
  .wuluoo-tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff;
    border-top: 1px solid #ccc;
    padding: 8px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 56px;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.05);
  }
  
  .tab-icon img {
    width: 24px;
    height: 24px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
  }
  
  .tab-icon img:hover {
    opacity: 1;
  }
  
  .create-button img {
    width: 32px;
    height: 32px;
  }
  .toggle-tabs {
    position: sticky;
    top: 60px; /* height of the header */
    z-index: 900;
    margin-top: 0;
    border-bottom: 1px solid #ddd;
    background-color: #f5f5f5;
  }
  .tab-button {
    padding: 10px 0;
    width: 50%;
    font-weight: 500;
    color: #444;
    text-align: center;
    border-bottom: 2px solid transparent;
  }
  
  .active-tab {
    border-bottom: 2px solid #24477f;
    color: #24477f;
  }
  
  .tab-content.hidden {
    display: none;
  }
  
  
  #waveform {
    flex: 1;
    height: 40px;
    overflow: hidden;
  }


  .search-header {
    padding: 12px 16px;
    border-bottom: 1px solid #ccc;
    background-color: #f5f5f5;
    color: #000;
  }
  
  .search-bar {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 9999px;
    padding: 8px 16px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .search-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
  }
  
  .search-input {
    background: transparent;
    border: none;
    outline: none;
    color: #000;
    font-size: 16px;
    width: 100%;
  }
  .logo-button {
    cursor: pointer;
    padding: 10px;
    z-index: 50;
  }
  
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background: #f5f5f5;
    color: #000;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 100;
  }
  
  .sidebar.visible {
    transform: translateX(0);
  }
  
  .sidebar ul {
    list-style: none;
    padding: 0;
  }
  
  .sidebar ul li {
    margin: 20px 0;
  }
  
  .sidebar ul li a {
    text-decoration: none;
    font-weight: bold;
    color: white;
  }
  .sidebar {
    transition: transform 0.3s ease;
    transform: translateX(-100%);
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    background-color: #f5f5f5;
    color: #000;
    height: 100%;
    z-index: 9999;
  }
  
  .sidebar.slide-in {
    transform: translateX(0);
  }
  .header-buttons {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #ccc;
    align-items: center;
    background-color: #f5f5f5;
    color: #000;
  }
  
  .cancel-button {
    color: #555;
    font-size: 16px;
    text-decoration: none;
    font-weight: 500;
  }
  
  .post-button {
    background-color: #d9fdd3;
    border: 1px solid #a4e4a0;
    color: #000;
    padding: 6px 14px;
    font-size: 16px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .post-button:hover {
    background-color: #bffcb2;
  }
  .wallet-links {
    /* Ensure wallet links are fully visible below the fixed header */
    margin-top: 56px;
    font-family: Arial, sans-serif;
  }
  
  .wallet-links ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
  }
  
  .wallet-links li {
    font-size: 16px;
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
  }
  
  .wallet-links li:hover {
    text-decoration: underline;
  }
  
  .signout-btn {
    width: 100%;
    padding: 12px 0;
    border: 2px solid white;
    border-radius: 25px;
    font-size: 16px;
    background-color: #f5f5f5;
    color: #000;
    cursor: pointer;
  }
  
  .signout-btn:hover {
    background-color: #e0e0e0;
  }

  .username-link {
    color: inherit;
    text-decoration: none;
  }

  .username-link:hover {
    text-decoration: underline;
  }
  
  .sidebar-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
  }

