/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

/* Layout */
.container {
  display: flex;
  height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 250px;
  background: #1e1e2f;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  padding: 1.5em;
  background: #282845;
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
  letter-spacing: 1px;
}

.menu {
  list-style: none;
  flex: 1;
}

.menu li {
  border-bottom: 1px solid #2e2e44;
}

.menu a {
  display: block;
  padding: 0.9em 1.2em;
  color: #ddd;
  text-decoration: none;
  transition: 0.2s;
}

.menu a:hover {
  background: #37375a;
  color: #fff;
}

/* Submenu */
.submenu > ul {
  display: none;
  background: #2a2a40;
}

.submenu.open > ul {
  display: block;
}

.submenu > a::after {
  content: "";
  float: right;
  transition: transform 0.3s;
}

.submenu.open > a::after {
  transform: rotate(90deg);
}

/* Content */
.content {
  flex: 1;
  background: #f5f6fa;
  overflow: hidden;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
}
#category {
  position: relative;
  width: 200px;
  cursor: text;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
#category:focus {
  border-color: #00bcd4;
  box-shadow: 0 0 6px rgba(0, 188, 212, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  @media (max-width: 768px) {
    .sidebar {
      position: fixed;
      width: 220px;
      height: 100%;
      transform: translateX(-100%);
      transition: transform 0.3s;
      z-index: 100;
    }
    .sidebar.active {
      transform: translateX(0);
    }
    .content {
      margin-left: 0;
    }
  }
}
