@import url('./shared.css');

body {
  background: var(--lighter);
}

/* Layout */
.container {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}

/* Sidebar */
aside {
  background: white;
  border-right: 1px solid var(--border);
  padding: 1.5rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  box-shadow: 1px 0 3px rgba(0,0,0,0.1);
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
}

.menu { list-style: none; }
.menu-item { margin-bottom: 0.5rem; }
.menu-item a {
  display: block;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--text-muted);
  border-radius: 8px;
  transition: all 0.3s;
  font-weight: 600;
}
.menu-item a:hover,
.menu-item a.active { background: var(--light); color: var(--primary); }

main {
  padding: 2rem;
  overflow-y: auto;
}

.section { display: none; animation: fadeIn 0.3s ease-in; }
.section.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}

/* Nota: el resto de estilos específicos del dashboard siguen en app.html por ahora.
   En una segunda pasada podemos migrarlos todos sin riesgo (es un bloque grande). */

