body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #fff;
    max-width: 480px;
    margin: auto;
    display: flex;
  }

header h1 {
  color: white;
  background: linear-gradient(45deg, #ff8800, #f32603);
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  padding: 28px 28px 28px 70px;
  margin-top: 0;
  z-index: 9998;
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.25);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

  .logo {
    position: fixed;
    top: 0;
    z-index: 9999;
    border-radius: 50%;
    margin-top: 22px;
    margin-left: 19px;
    background: white;
    padding: 7px 5px 0px 5px;
  }

  /* Sidebar */
  .sidebar {
    position: fixed;
    top: 75px;
    bottom: 55px;
    width: 120px;
    background: #f7f7f7;
    border-right: 1px solid #ddd;
    overflow-y: auto;
    margin-top: 20px;
  }

  .sidebar-item {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
    color: #555;
    font-size: 13px;
    transition: 0.3s;
  }

  .sidebar-item img {
    width: 35px;
    height: 35px;
    display: block;
    margin: 0 auto 5px;
  }

  .sidebar-item.active {
    background: #fff;
    border-left: 3px solid #ef6c00;
    color: #ef6c00;
    font-weight: 600;
  }

  /* Content area (fixed beside sidebar) */
  .content {
    margin-top: 75px;
    margin-left: 120px;
    padding: 10px;
    flex: 1;
    overflow-y: auto;
    height: calc(100vh - 130px);
  }

  .content h2 {
    color: #ef6c00;
    font-size: 17px;
    margin-bottom: 10px;
    border-bottom: 2px solid #ef6c00;
    display: inline-block;
    padding-bottom: 2px;
  }

  .sub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .sub-item {
    text-align: center;
    font-size: 13px;
    cursor: pointer;
    transition: transform 0.2s ease;
  }

  .sub-item:hover {
    transform: scale(1.05);
  }

  .sub-item img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 5px;
    border: 1px solid #f0f0f0;
  }

  .sub-item span {
    display: block;
    margin-top: 4px;
    color: #333;
  }
/* ============================================
   🔥 COMPACT BOTTOM BAR - Gap Fix
   ============================================ */
.bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 90%;
  max-width: 380px;
  justify-content: space-around;
  display: flex;
  background: linear-gradient(45deg,#f32603, #ff8800);
  padding: 6px 10px 8px;
  text-align: center;
  z-index: 9998;
  box-shadow: 0 -3px 15px rgba(239,108,0,0.3), 0 6px 20px rgba(0,0,0,0.12);
  border-radius: 20px;
  animation: slideUpBar 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 0.3s;
}

@keyframes slideUpBar {
  0% {
    transform: translateX(-50%) translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

.bar a {
  text-decoration: none;
  color: rgba(255,255,255,0.95);
  font-weight: 800;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  transition: all 0.3s ease;
  padding: 1px 8px 2px;
  border-radius: 10px;
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1;
}

.bar a img {
  width: 22px;
  height: 22px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: -4px;
}

.bar a:hover,
.bar a.active {
  color: white;
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.bar a:hover img,
.bar a.active img {
  transform: translateY(-3px) scale(1.15);
  opacity: 1;
}

/* Active tab indicator dot */
.bar a.active::after {
  content: '';
  width: 3px;
  height: 3px;
  background: white;
  border-radius: 50%;
  margin-top: 1px;
  box-shadow: 0 0 4px rgba(255,255,255,0.8);
}
  .logo1 {
  position: fixed;
  top: 0;
  z-index: 9998;
  margin-top: 15px;
  margin-left: 15px;
  background: white;
  border-radius: 50%; 
  padding: 2px;     
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 4px rgba(0,0,0,0.15);
}

.logo1 img {
  width: 50px;      
  height: 50px;
  border-radius: 50%; 
  object-fit: cover;
}