#side-tab {
  position: fixed;
  top: 40%;
  right: 0;
  width: 48px;
  height: 120px;
  background: linear-gradient(135deg, #ff512f 60%, #ffba4d 100%);
  color: #fff;
  border-radius: 12px 0 0 12px;
  box-shadow: 0 0 12px #ff512f88;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2000;
  font-weight: bold;
  font-size: 1.1em;
  transition: right 0.2s;
}

#side-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  height: 100vh;
  background: #181a1b;
  box-shadow: -2px 0 16px #ff512f44;
  border-left: 2px solid #ffba4d99;
  z-index: 2100;
  transition: right 0.3s cubic-bezier(.7,0,.2,1);
  padding: 1.5em 1.2em 1.2em 1.2em;
  color: #fff;
}

#side-drawer.open {
  right: 0;
}

#close-drawer {
  background: none;
  border: none;
  color: #ffba4d;
  font-size: 2em;
  position: absolute;
  top: 8px;
  right: 12px;
  cursor: pointer;
  padding: 0.1em 0.3em;
  z-index: 2;
}

.drawer-content {
  margin-top: 2.5em;
}

.online-users-widget {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1em;
  color: #ffba4d;
  background: rgba(36,17,17,0.13);
  border-radius: 8px;
  padding: 0.3em 0.8em;
  margin-bottom: 0.7em;
  box-shadow: 0 0 6px #ffba4d33;
}


.online-users-widget i {
  font-size: 1.15em;
  min-width: 1.3em;
  text-align: center;
}


.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  margin-top: 1em;
}

.drawer-btn {
  display: flex;
  align-items: center;
  gap: 0.7em;
  background: rgba(36, 17, 17, 0.18);
  color: #ffba4d;
  border: 1.5px solid #ff512f55;
  border-radius: 10px;
  padding: 0.5em 1.1em;
  font-size: 1.07em;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 0 8px #ff512f22;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s, border 0.16s;
}

.drawer-btn i {
  font-size: 1.2em;
  min-width: 1.3em;
  text-align: center;
}

.drawer-btn:hover {
  background: rgba(255, 81, 47, 0.18);
  color: #fff;
  border: 1.5px solid #ffba4d;
  box-shadow: 0 0 12px #ffba4d88;
}

/* Responsive Anpassungen für Side Drawer und Tab */
@media (max-width: 600px) {
  #side-tab {
    width: 38px;
    height: 80px;
    font-size: 0.97em;
    top: 30%;
  }
  #side-drawer {
    width: 96vw;
    right: -100vw;
    padding: 1em 0.5em 0.7em 0.5em;
    font-size: 0.98em;
  }
  #side-drawer.open {
    right: 0;
  }
  .drawer-content {
    margin-top: 1.2em;
  }
  .drawer-btn {
    font-size: 0.99em;
    padding: 0.5em 0.6em;
  }
  .online-users-widget {
    font-size: 0.98em;
    padding: 0.2em 0.5em;
  }
}
@media (max-width: 400px) {
  #side-tab {
    width: 30px;
    height: 60px;
    font-size: 0.92em;
  }
  #side-drawer {
    width: 99vw;
    padding: 0.7em 0.2em 0.5em 0.2em;
    font-size: 0.96em;
  }
  .drawer-btn {
    font-size: 0.97em;
    padding: 0.4em 0.3em;
  }
}
