.custom-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  font-size: 14px;
  flex-wrap: nowrap;
}

.custom-topbar span {
  color: white;
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
}

.custom-topbar .topbar-right a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: 8px;
  color: white;
  border: 1px solid white;
  border-radius: 8px;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.custom-topbar .topbar-right a:hover {
  transform: scale(1.2);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
}

/* Responsive font and icon size */
@media (max-width: 1024px) {
  .custom-topbar {
    font-size: 13px;
  }
  .custom-topbar .topbar-right a {
    width: 28px;
    height: 28px;
  }
}
@media (max-width: 768px) {
  .custom-topbar {
    font-size: 12px;
  }
  .custom-topbar .topbar-right a {
    width: 26px;
    height: 26px;
  }
}
@media (max-width: 480px) {
  .custom-topbar {
    font-size: 11px;
  }
  .custom-topbar .topbar-right a {
    width: 24px;
    height: 24px;
  }
}
