/* === CONTENEDOR PRINCIPAL === */
.cuerpo {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background-color: transparent;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
}

/* =========================
   PALETA DYNAMIX (A + B)
   ========================= */
:root {
  --navy-deep: #0A1A2F;
  --navy-grafito: #1a1a41;
  --teal-accent: #18E0E0;
  --electric-blue: #1A75FF;
  --text-light: #F1F1F1;
  --white: #ffffff;
}

/* =========================
   BOTÓN DE MENÚ
   ========================= */
.contenedor-boton-menu {
  margin: 10px 0 12px 12px;
  display: flex;
  justify-content: flex-start;
}

.menu-btn {
  padding: 10px 15px;
  background: var(--navy-deep);
  color: var(--text-light);
  border: 1px solid var(--teal-accent);
  font-size: 17px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.menu-btn:hover {
  background: var(--teal-accent);
  color: var(--navy-deep);
}

/* =========================
   OVERLAY
   ========================= */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  z-index: 900;
}

.overlay.show {
  display: block;
}

/* =========================
   SIDEBAR
   ========================= */
.sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 260px;
  height: 100%;
  background: var(--navy-deep);
  color: var(--text-light);
  padding: 22px;
  transition: left 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
}

.sidebar.open {
  left: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--teal-accent);
  cursor: pointer;
  transition: 0.2s;
}

.close-btn:hover {
  color: var(--electric-blue);
}

/* =========================
   LISTA PRINCIPAL
   ========================= */
.options-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.options-list li {
  background: var(--navy-grafito);
  padding: 12px 15px;
  border-radius: 6px;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  transition: background 0.2s;
}

.options-list li:hover {
  background: #2c2c40;
}

.options-list li.active {
  background: var(--electric-blue);
  color: var(--white);
}

/* =========================
   SUBMENÚ
   ========================= */
.submenu {
  list-style: none;
  padding-left: 10px;
  margin-top: 8px;
  display: none;
}

.submenu li {
  background: #1c2538;
  margin-bottom: 6px;
  padding: 10px;
  border-left: 3px solid var(--teal-accent);
  font-size: 14px;
}

.submenu li.active {
  background: var(--electric-blue);
}

/* =========================
   IFRAME
   ========================= */
.contenedor-iframe {
  width: 100%;
  height: calc(100vh - 180px);
}

.contenedor-iframe iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 480px) {
  .sidebar {
    width: 220px;
  }
}
