* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  margin: 0;
  overflow: hidden;
}

.hub-container {
  display: flex;
  height: 100vh;
}

.sidebar {
  width: 240px;
  background-color: #415765;
  color: #fff;
  padding: 15px;
  transition: width 0.3s ease;
  position: relative;
}

.sidebar.collapsed {
  width: 70px;
}

.sidebar-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
}

.sidebar-toggle i {
  font-size: 20px;
}

.sidebar-title {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 20px;
  transition: opacity 0.2s;
}

.sidebar.collapsed .sidebar-title {
  opacity: 0;
}

.sidebar-btn {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  border-radius: 6px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s ease;
}

.sidebar-btn:hover {
  background-color: #475263;
}

.sidebar-btn.active {
  background-color: #374151;
}

.sidebar.collapsed .btn-text {
  display: none;
}

.sidebar.collapsed .sidebar-btn {
  justify-content: center;
}

.content {
  flex: 1;
  background-color: #f3f4f6;
  transition: margin-left 0.3s ease;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
}
