:root{
  --bg-0: #ffffff;
  --bg-1: #e0f7ff;
  --bg-2: #b3e5fc;
  --brand: #2196f3;
  --brand-dk: #1976d2;
  --text: #333;
  --line: #b8e3ff;
  --glow: rgba(25,118,210,.28);
}

/* BASE */
html, body{
  display: flex;
  flex-direction: column;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 50%, var(--bg-0) 100%);
  color: var(--text);
  margin: 0;
  padding: 0;
}


#toolbar{
  display: flex;
  flex-direction: row;
  align-items: center;  
  justify-content: space-around;
  gap: 12px;
}
#toolbar-logo img{
  width: 50px !important;  
  height: 50px !important;
}
img{
      width: 100px !important;  
  height: 100px !important;
}

/* LAYOUT PRINCIPAL */
main{
  display: grid;
  grid-template-columns: 1fr 4fr;
  grid-template-areas: "aside content";
  gap: 12px;
  padding: 12px;
}

aside{
  position: sticky;
  top: 20px;
  height: fit-content;
  grid-area: aside;
}

/* IMPORTANTE: usa class="content" en tu HTML */
.content{
  grid-area: content;
}

article{
  border-radius: 8px;
  margin: 5px;
  padding: 5px;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line);
}

/* LISTAS EN ARTICLE (estilo pastilla) */
article ul, article ol{
  padding: 0;
  margin: 0;
}
article ul li,
article ol li{
  border: 1px solid #fff;
  border-radius: 8px;
  margin: 6px 0;
  padding: 8px 10px;
  list-style-position: inside;
  background: rgba(255,255,255,.6);
}
article ul li{ list-style-type: square; }
article ol li{ list-style-type: decimal; }

/* MENÚ LATERAL: enlaces como botones */
aside ul{
  list-style: none;
  padding: 5px;
  margin: 0;
}
aside li{ margin: 8px 0; }

aside a{
  display: block;
  width: 80%;
  background-color: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border: 2px solid var(--brand-dk);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .2px;
  box-shadow: 0 3px 6px rgba(0,0,0,.15);
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
aside a:hover{
  background-color: var(--brand-dk);
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0,0,0,.25);
}
aside a:active{
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0,0,0,.2) inset;
}

/* ENLACES GENERALES EN EL CONTENIDO – botón sutil */
.content a{
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 8px 14px;
  border: 2px solid var(--brand-dk);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 3px 6px rgba(0,0,0,.15);
  transition: transform .15s, box-shadow .15s, background .2s;
}
.content a:hover{
  background: var(--brand-dk);
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0,0,0,.22);
}
.content a:active{
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0,0,0,.18) inset;
}

/* ACCESIBILIDAD: focus visible */
a:focus-visible{
  outline: 3px solid var(--glow);
  outline-offset: 2px;
}

/* FOOTER */
footer{
}
#footer-derechos-reservados{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

/* EVITAR REGLAS GLOBALES INNECESARIAS
ul{ list-style: none; padding: 5px; }  <-- quitado para no romper listas de article
li{ border-radius: 8px; ... }           <-- quitado para no afectar otros li
*/
