Diferencia entre revisiones de «MediaWiki:Common.css»

De Oroza RO Wiki
Ir a la navegación Ir a la búsqueda
Sin resumen de edición
Etiquetas: Reversión manual Revertido
Sin resumen de edición
Etiqueta: Reversión manual
Línea 1: Línea 1:
/* =========================================================
/* =========================================================
   PANEL SUPERIOR NATIVO DE MEDIAWIKI / VECTOR
   OROZA WIKI - ESTILOS GENERALES MEJORADOS
   ---------------------------------------------------------
   ---------------------------------------------------------
   Objetivo:
   Objetivo:
   - Quitar comportamiento sticky / fixed
   - Mantener tu estilo visual limpio y profesional
   - Hacer que ya no se encime al hacer scroll
  - Mejorar el comportamiento en celular
   - Darle un look más limpio y moderno
   - Evitar que navbar, tablas e imágenes rompan el diseño
  - Integrarlo mejor con tu diseño blanco / azul / oro
   - Hacer el CSS más fácil de entender y mantener
========================================================= */
========================================================= */




/* =========================================================
/* =========================================================
   1) DESACTIVAR HEADER PEGAJOSO DEL SKIN
   1) BASE GENERAL DEL SITIO
   ---------------------------------------------------------
   ---------------------------------------------------------
   Esto evita que el panel nativo se quede encima al bajar.
   Estilos globales del body, tipografía y color base
========================================================= */
========================================================= */
body {
  background-color: #f2f2f2;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  color: #333;
  overflow-x: hidden; /* Evita scroll horizontal accidental */
}
/* Hace que imágenes y elementos no se salgan del ancho de pantalla */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
}
.vector-sticky-header,
.vector-sticky-header,
.vector-sticky-pinned-container,
.vector-sticky-pinned-container,
.mw-sticky-header,
.mw-sticky-header {
.sticky-header,
  display: none !important;
#mw-head,
}
#mw-head-base {
 
   position: static !important;
 
   top: auto !important;
/* =========================================================
   left: auto !important;
  2) CONTENIDO PRINCIPAL
   right: auto !important;
  ---------------------------------------------------------
   transform: none !important;
  Caja principal blanca donde se ve el contenido de la wiki
   z-index: auto !important;
========================================================= */
#content {
  background-color: #fff;
  padding: 30px;
  margin: 20px auto;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.10);
  max-width: 1200px;
}
 
/* =========================================================
  3) TITULO PRINCIPAL DE PAGINA
  ---------------------------------------------------------
  Controla el heading principal de MediaWiki
========================================================= */
.firstHeading {
  font-size: 2.2rem;
  font-weight: bold;
  color: #2b4a6d;
  margin-bottom: 20px;
  line-height: 1.2;
  text-align: center;
}
 
 
/* =========================================================
  4) TABLA DE CONTENIDO
  ---------------------------------------------------------
  Caja del índice / TOC
========================================================= */
#toc {
  background-color: #eef4ff;
  border: 1px solid #cddaf1;
  padding: 10px;
  border-radius: 8px;
}
 
 
/* =========================================================
  5) ENLACES
  ---------------------------------------------------------
  Estilo general para links
========================================================= */
a {
  color: #1e70bf;
  text-decoration: none;
}
 
a:hover {
  text-decoration: underline;
}
 
.mw-body a {
  color: #1e70bf;
  font-weight: 500;
}
 
 
/* =========================================================
  6) ENCABEZADOS JERARQUICOS
  ---------------------------------------------------------
  h1 a h6 centrados, elegantes y sin subrayado
========================================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
   font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  font-weight: 700;
  text-align: center;
  color: #2b4a6d;
   margin-top: 40px;
  margin-bottom: 30px;
  line-height: 1.3;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.08);
  border-bottom: none;
  background: none !important;
}
 
/* Tamaños progresivos de títulos */
h1 {
  font-size: 2.8rem;
}
 
h2 {
   font-size: 2.5rem;
}
 
h3 {
  font-size: 2.3rem;
}
 
h4 {
  font-size: 1.6rem;
}
 
h5 {
  font-size: 1.3rem;
}
 
h6 {
  font-size: 1.1rem;
  color: #444;
}
 
 
/* =========================================================
  7) BOTONES CON ICONO
  ---------------------------------------------------------
  Útiles para enlaces visuales tipo botón
========================================================= */
.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #2b4a6d;
  color: white;
   padding: 8px 12px;
  border-radius: 8px;
   text-decoration: none;
   font-weight: 600;
  transition: background 0.2s ease;
  box-sizing: border-box;
}
 
.button-icon:hover {
  background: #1e324f;
}
}


/* Evita espacios reservados para sticky headers */
.button-icon::before {
html,
   content: '🔹';
body {
   scroll-padding-top: 0 !important;
}
}




/* =========================================================
/* =========================================================
   2) LIMPIEZA DEL FONDO SUPERIOR DEL SKIN
   8) CAJAS INFORMATIVAS
   ---------------------------------------------------------
   ---------------------------------------------------------
   Quita la franja gris/azulada vieja del skin.
   Bloques para avisos, recomendaciones y alertas
========================================================= */
========================================================= */
#mw-head-base {
.box-info {
   display: none !important;
  background: #eef4ff;
  border-left: 5px solid #1e70bf;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
}
 
.box-warning {
  background: #fff4e5;
  border-left: 5px solid #ffa500;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
}
 
.box-tip {
   background: #eaffea;
  border-left: 5px solid #28a745;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
}
}




/* =========================================================
/* =========================================================
   3) CONTENEDOR PRINCIPAL DEL PANEL SUPERIOR
   9) LISTAS
   ---------------------------------------------------------
   ---------------------------------------------------------
   Lo convertimos en una caja blanca centrada,
   Espaciado para ul y ol
  más integrada con tu contenido.
========================================================= */
========================================================= */
#mw-head {
ul,
   max-width: 1200px !important;
ol {
  width: calc(100% - 40px) !important;
   padding-left: 40px;
   margin: 12px auto 20px auto !important;
   margin-bottom: 20px;
  padding: 12px 16px !important;
  background: #ffffff !important;
  border: 1px solid #dbe4ee !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 24px rgba(22, 34, 52, 0.08) !important;
  box-sizing: border-box !important;
}
}




/* =========================================================
/* =========================================================
   4) RESET DE NAVEGACION IZQUIERDA Y DERECHA
   10) NAVBAR HORIZONTAL
   ---------------------------------------------------------
   ---------------------------------------------------------
   Quitamos offsets raros del skin para que se ordene mejor.
   Menú superior personalizado
  Mejorado para que no se rompa tan fácil en pantallas chicas
========================================================= */
========================================================= */
#left-navigation,
.oroza-navbar {
#right-navigation {
  background: #2b3e50;
   float: none !important;
  padding: 15px 25px;
   position: static !important;
  display: flex;
   margin: 0 !important;
  flex-wrap: wrap; /* Permite acomodar links si no caben */
   width: auto !important;
  gap: 18px 30px;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  border-bottom: 3px solid #ffb400;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin: 20px auto;
  max-width: 1200px;
  position: relative;
  box-sizing: border-box;
}
 
.oroza-navbar a {
   color: white !important;
   text-decoration: none;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap; /* Evita que un link se parta en dos renglones */
}
 
.oroza-navbar a:hover {
   text-decoration: underline;
   color: #ffcc33 !important;
}
}


#left-navigation {
/* Logo en desktop: se mantiene posicionado a la izquierda */
   display: inline-flex !important;
.oroza-navbar-logo {
   align-items: center !important;
   position: absolute;
   flex-wrap: wrap !important;
   left: 25px;
   gap: 8px !important;
   display: flex;
   align-items: center;
}
}


#right-navigation {
.oroza-navbar-logo img {
   display: flex !important;
   width: 80px;
   align-items: center !important;
   height: auto;
   justify-content: space-between !important;
   filter: drop-shadow(0 0 5px white);
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 10px !important;
}
}




/* =========================================================
/* =========================================================
   5) MENUS Y TABS
   11) SIDEBAR LATERAL
   ---------------------------------------------------------
   ---------------------------------------------------------
   Modernizamos el estilo de tabs del skin.
   Menú lateral de navegación
========================================================= */
========================================================= */
.vector-menu,
.oroza-sidebar {
.vector-menu-tabs,
  background: #ffffff;
.vector-menu-tabs ul,
  border: 1px solid #ddd;
.vector-menu-tabs li,
  padding: 15px 20px;
.vector-menu-dropdown {
  border-radius: 10px;
   position: static !important;
  width: 280px;
   background: transparent !important;
  font-size: 14px;
   box-shadow: none !important;
   box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
   margin-bottom: 20px;
   box-sizing: border-box;
}
}


.vector-menu-tabs ul,
/* Título de cada sección del menú lateral */
.vector-menu-tabs li {
.oroza-sidebar .menu-title {
   margin: 0 !important;
  font-weight: bold;
   padding: 0 !important;
  color: #2b4a6d;
   list-style: none !important;
  font-size: 17px;
   margin: 20px 0 12px;
   border-left: 4px solid #ffb400;
   padding-left: 10px;
}
}


.vector-menu-tabs li a,
/* Lista interna del sidebar */
.vector-menu-tabs li span,
.oroza-sidebar ul {
.vector-menu-dropdown .vector-menu-heading,
   list-style: none;
#p-views li a,
   padding-left: 0;
#p-cactions li a {
   margin: 0;
   display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
   padding: 8px 12px !important;
  margin: 0 !important;
  border: 1px solid #dbe4ee !important;
  border-radius: 10px !important;
  background: #f8fbff !important;
  color: #29415e !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  box-shadow: 0 2px 8px rgba(22, 34, 52, 0.04) !important;
   transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}
}


.vector-menu-tabs li a:hover,
.oroza-sidebar li {
.vector-menu-tabs li span:hover,
   margin: 6px 0;
.vector-menu-dropdown .vector-menu-heading:hover,
   display: flex;
#p-views li a:hover,
   align-items: center;
#p-cactions li a:hover {
   gap: 8px;
   background: #eef5fc !important;
   border-color: #cfdceb !important;
   color: #1d324c !important;
   text-decoration: none !important;
}
}


/* Tab activo */
.oroza-sidebar li::before {
.vector-menu-tabs .selected a,
   display: inline-block;
.vector-menu-tabs .selected span,
   margin-right: 3px;
#p-views .selected a {
   background: linear-gradient(180deg, #35506f 0%, #2b3e50 100%) !important;
   border-color: rgba(255, 180, 0, 0.45) !important;
  color: #ffffff !important;
  box-shadow:
    0 6px 14px rgba(22, 34, 52, 0.10),
    inset 0 -2px 0 #ffb400 !important;
}
}




/* =========================================================
/* =========================================================
   6) AREA DE USUARIO Y BUSCADOR
   12) TABLAS PERSONALIZADAS
   ---------------------------------------------------------
   ---------------------------------------------------------
   Los acomodamos y les damos mejor presencia visual.
   Mejoradas para escritorio y con scroll horizontal en móvil
========================================================= */
========================================================= */
#p-personal,
.oroza-table {
#p-search {
  width: 100%;
   float: none !important;
  border-collapse: collapse;
   position: static !important;
  margin: 20px 0;
   margin: 0 !important;
  font-size: 14px;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  overflow: hidden;
}
 
.oroza-table thead {
  background-color: #2b4a6d;
  color: #fff;
  text-align: left;
  font-weight: bold;
}
 
.oroza-table th,
.oroza-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}
 
.oroza-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}
 
.oroza-table tbody tr:hover {
   background-color: #eef4ff;
}
 
.oroza-table .highlight {
   color: #ffb400;
   font-weight: bold;
}
 
.oroza-table .center-icon {
  text-align: center;
  font-size: 18px;
}
}


#p-personal {
.oroza-table .zeny {
   display: flex !important;
  color: #28a745;
   align-items: center !important;
  font-weight: bold;
   flex-wrap: wrap !important;
}
   gap: 8px !important;
 
/* Variante opcional para tablas de ancho automático */
.oroza-table.auto-width {
   width: auto !important;
   max-width: 100%;
   table-layout: auto !important;
   margin: 20px auto;
  display: table;
}
}


#p-personal ul {
 
  display: flex !important;
/* =========================================================
  align-items: center !important;
  13) EFECTO ZOOM EN IMAGENES
  flex-wrap: wrap !important;
  ---------------------------------------------------------
  gap: 8px !important;
  Útil para imágenes pequeñas o decorativas
   margin: 0 !important;
========================================================= */
   padding: 0 !important;
.zoom-img {
  list-style: none !important;
   transition: transform 0.25s ease;
   cursor: zoom-in;
}
}


#p-personal li {
.zoom-img:hover {
   margin: 0 !important;
   transform: scale(1.35);
   padding: 0 !important;
   z-index: 10;
}
}


#p-personal a {
 
  display: inline-flex !important;
/* =========================================================
  align-items: center !important;
  14) IMAGENES REDONDEADAS CON EFECTO SUAVE
  min-height: 36px !important;
  ---------------------------------------------------------
  padding: 7px 10px !important;
  Tus imágenes principales decorativas
   border-radius: 10px !important;
========================================================= */
   color: #35506f !important;
img {
  text-decoration: none !important;
   max-width: 100%;
   height: auto;
}
}


#p-personal a:hover {
img.round-fade {
   background: #f3f8fd !important;
  width: 55%;
   text-decoration: none !important;
  border-radius: 20px;
  margin: 10px auto;
  display: block;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1), 0 0 15px rgba(0, 0, 0, 0.08);
   transition: transform 0.3s ease, opacity 0.3s ease;
   object-fit: cover;
  opacity: 0.97;
}
}


/* Buscador */
img.round-fade:hover {
#p-search {
   transform: scale(1.08);
   margin-left: auto !important;
  opacity: 1;
}
}


#searchform {
 
  display: flex !important;
/* =========================================================
  align-items: center !important;
  15) OCULTAR ELEMENTOS ORIGINALES DE MEDIAWIKI
   gap: 8px !important;
  ---------------------------------------------------------
  Esto oculta partes viejas del layout por defecto
========================================================= */
#p-logo,
#footer,
#mw-panel {
   display: none !important;
}
}


#searchInput {
 
  height: 40px !important;
/* =========================================================
  min-width: 260px !important;
  16) TOGGLE / MENU COLAPSABLE
  padding: 0 14px !important;
  ---------------------------------------------------------
  border: 1px solid #d6e0ea !important;
  Si no lo usas, se deja oculto
  border-radius: 12px !important;
========================================================= */
   background: #fbfdff !important;
.toggle-checkbox {
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.03) !important;
   display: none;
}
}


#searchInput:focus {
.toggle-label {
   outline: none !important;
   display: none !important;
  border-color: rgba(255, 180, 0, 0.55) !important;
  box-shadow: 0 0 0 4px rgba(255, 180, 0, 0.10) !important;
}
}




/* =========================================================
/* =========================================================
   7) RESPONSIVE
   17) TABLET Y MOVIL
  ---------------------------------------------------------
  Aquí está la mejora más importante.
  Ya no apilamos la navbar completa en columna.
  En lugar de eso:
  - reducimos tamaños
  - hacemos wrap controlado
  - ajustamos logo
  - permitimos scroll en tablas
========================================================= */
/* =========================================================
  RESPONSIVE CORREGIDO
   ---------------------------------------------------------
   ---------------------------------------------------------
   En pantallas pequeñas, el panel se compacta.
   - No reduce el ancho en PC
  - Corrige mejor el móvil
  - Usa !important en lo necesario porque en wiki a veces
    hay estilos inline que ganan prioridad visual
========================================================= */
========================================================= */
@media screen and (max-width: 980px) {
@media screen and (max-width: 768px) {
   #mw-head {
  /* Caja principal más compacta en móvil */
     width: calc(100% - 20px) !important;
   #content {
     margin: 10px auto 16px auto !important;
     padding: 16px !important;
    padding: 10px 12px !important;
     margin: 10px !important;
     border-radius: 12px !important;
     border-radius: 10px !important;
   }
   }


   #left-navigation,
   /* Si tu layout usa wrapper flex */
  #right-navigation,
   .oroza-flex-wrapper {
   #p-personal,
  #p-personal ul {
     display: flex !important;
     display: flex !important;
     flex-wrap: wrap !important;
     flex-direction: column !important;
     gap: 6px !important;
     gap: 16px !important;
   }
   }


   #p-search {
   .oroza-flex-wrapper > div {
     width: 100% !important;
     width: 100% !important;
     margin-left: 0 !important;
     max-width: 100% !important;
    min-width: 0 !important;
   }
   }


   #searchform {
   /* Sidebar a ancho completo */
  .oroza-sidebar {
     width: 100% !important;
     width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 16px !important;
    display: block !important;
    padding: 14px 16px !important;
    box-sizing: border-box !important;
  }
  .oroza-sidebar .menu-title {
    font-size: 15px !important;
    margin: 16px 0 10px !important;
  }
  .oroza-sidebar li {
    font-size: 13px !important;
    line-height: 1.35 !important;
    gap: 6px !important;
   }
   }


   #searchInput {
   /* Navbar:
    en vez de ponerla en columna, dejamos fila con wrap */
  .oroza-navbar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px 10px !important;
    padding: 12px 10px !important;
    margin: 12px 10px !important;
    border-radius: 10px !important;
  }
 
  /* El logo absoluto suele romper el centrado en móvil */
  .oroza-navbar-logo {
    position: static !important;
    left: auto !important;
     width: 100% !important;
     width: 100% !important;
     min-width: 0 !important;
     justify-content: center !important;
    margin-bottom: 6px !important;
  }
 
  .oroza-navbar-logo img {
    width: 56px !important;
    max-width: 56px !important;
   }
   }


   .vector-menu-tabs li a,
   .oroza-navbar a {
  .vector-menu-tabs li span,
    display: inline-flex !important;
  .vector-menu-dropdown .vector-menu-heading,
    align-items: center !important;
  #p-views li a,
     justify-content: center !important;
  #p-cactions li a {
     padding: 6px 9px !important;
     min-height: 34px !important;
     padding: 7px 10px !important;
     font-size: 13px !important;
     font-size: 13px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
  /* Títulos más compactos en móvil */
  .firstHeading {
    font-size: 1.6rem !important;
    line-height: 1.2 !important;
    margin-bottom: 14px !important;
   }
   }
}


  h1 {
    font-size: 1.9rem !important;
    margin-top: 24px !important;
    margin-bottom: 18px !important;
  }


  h2 {
    font-size: 1.6rem !important;
    margin-top: 22px !important;
    margin-bottom: 16px !important;
  }
  h3 {
    font-size: 1.35rem !important;
    margin-top: 20px !important;
    margin-bottom: 14px !important;
  }


  h4 {
    font-size: 1.15rem !important;
    margin-top: 18px !important;
    margin-bottom: 12px !important;
  }


  h5 {
    font-size: 1rem !important;
    margin-top: 16px !important;
    margin-bottom: 10px !important;
  }


  h6 {
    font-size: 0.95rem !important;
    margin-top: 14px !important;
    margin-bottom: 10px !important;
  }


  /* Listas más compactas */
  ul,
  ol {
    padding-left: 22px !important;
    margin-bottom: 16px !important;
  }


  /* Cajas informativas */
  .box-info,
  .box-warning,
  .box-tip {
    padding: 12px !important;
    margin: 14px 0 !important;
    border-radius: 8px !important;
  }


  /* Botones ocupan mejor el ancho disponible */
  .button-icon {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }


  /* Tablas con scroll horizontal */
  .oroza-table,
  .oroza-table.auto-width {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    white-space: nowrap !important;
  }


  .oroza-table th,
  .oroza-table td {
    white-space: nowrap !important;
    font-size: 13px !important;
    padding: 10px 12px !important;
  }


  /* Imágenes más fluidas */
  img.round-fade {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 14px !important;
    margin: 10px auto !important;
  }


/* Gerais */
  /* Hover desactivado en móvil */
* { margin: 0; padding: 0; }
  .zoom-img:hover,
img { border: none; }
  img.round-fade:hover {
    transform: none !important;
    opacity: 0.97 !important;
  }


body {
  .toggle-label {
    background: url(../images/bg.png) no-repeat center top #fff;
     display: none !important;
    background-size: cover;
  }
    background-position: center;
    background-attachment: fixed;
    font-family: verdana, arial;
     font-size: 12px;  
    color: #333;
}
}


/* =========================================================
  MOVILES PEQUEÑOS
========================================================= */
@media screen and (max-width: 480px) {
  #content {
    padding: 12px !important;
    margin: 8px !important;
    border-radius: 8px !important;
  }


a { text-decoration: none; color: #5F5855; }
  .oroza-navbar {
a:hover { color: #5FDDFF; }
    gap: 6px 8px !important;
    padding: 10px 8px !important;
  }


.c1 { color: #2E7D32; font-size: 18px; margin-top: 45px;}
  .oroza-navbar a {
.c2 { color: #333; font-size: 18px; }
    font-size: 12px !important;
    padding: 6px 8px !important;
  }


/* Contenedor principal */
  .oroza-navbar-logo img {
#tudo {
    width: 48px !important;
  width: 100%;
    max-width: 48px !important;
  max-width: 1200px; /* Ajusta el máximo ancho */
   }
   margin: 0 auto; /* Centrar el contenedor */
  padding: 20px; /* Añadir padding para espacio interno */
}


.logo {
  .firstHeading {
  display: block;
    font-size: 1.4rem !important;
  margin: 0 auto;
   }
 
  /* --- MEJORA AQUÍ --- */
  /* clamp(mínimo, preferido_flexible, máximo) */
  /* El logo nunca será más pequeño de 100px,
    intentará medir el 15% del ancho de la pantalla,
    pero nunca superará los 220px. */
  width: clamp(250px, 30vw, 450px);  
   /* ------------------ */
 
  height: auto;
}


/* Estilo para el menú */
  h1 {
#menu {
    font-size: 1.65rem !important;
  margin-top: 20px; /* Separación del logo */
   }
   text-align: center; /* Centrar el contenido del menú */
}


#menu ul {
  h2 {
  list-style: none; /* Eliminar los puntos de la lista */
    font-size: 1.4rem !important;
  padding: 0; /* Eliminar padding */
   }
  display: flex; /* Usar Flexbox para alineación */
  justify-content: center; /* Centrar los elementos horizontalmente */
   gap: 20px; /* Espacio entre elementos del menú */
}


#menu ul li {
  h3 {
  display: inline-block; /* Mantener elementos en línea */
    font-size: 1.2rem !important;
}
  }


#menu ul li a {
   .oroza-sidebar {
   text-decoration: none; /* Eliminar subrayado */
    padding: 12px !important;
  color: #fff; /* Color del texto */
   }
  background-color: #47D2FE; /* Fondo de los enlaces */
  padding: 10px 20px; /* Espacio interno */
  border-radius: 5px; /* Bordes redondeados */
  font-weight: bold; /* Hacer la letra más gruesa */
   transition: background-color 0.3s ease, transform 0.3s ease; /* Transición suave */
}


#menu ul li a:hover {
  .oroza-sidebar li {
  background-color: #FFE169; /* Cambiar fondo al pasar el ratón */
    font-size: 12px !important;
   transform: translateY(-3px); /* Levantar el enlace ligeramente */
   }
}
}


/* Responsivo: Ajustar el menú en pantallas pequeñas */
/* =========================================================
@media (max-width: 768px) {
  19) AJUSTE PARA DISPOSITIVOS QUE SI SOPORTAN HOVER
   #menu ul {
  ---------------------------------------------------------
     flex-direction: column; /* Cambiar a columna en pantallas pequeñas */
  Solo deja zoom bonito en escritorio / mouse
     gap: 10px; /* Espacio reducido entre elementos */
========================================================= */
@media (hover: hover) {
   .zoom-img:hover {
     transform: scale(1.35);
     z-index: 10;
   }
   }


   #menu ul li {
   img.round-fade:hover {
     width: 100%; /* Los elementos ocupan todo el ancho */
     transform: scale(1.08);
    opacity: 1;
   }
   }
}


   #menu ul li a {
 
     display: block; /* Asegurar que los enlaces ocupen todo el ancho */
/* =========================================================
     text-align: center; /* Centrar el texto */
  20) AJUSTE PARA DISPOSITIVOS TOUCH
  ---------------------------------------------------------
  Quita animaciones de hover agresivas en celular
========================================================= */
@media (hover: none) {
   .zoom-img:hover,
  img.round-fade:hover {
     transform: none;
     opacity: 0.97;
   }
   }
}
}


/* Conteúdo */
#conteudo { width: 440px; margin: 0 auto; min-height: 200px; clear: both; }


/* Login
 
#login-box { width: 250px;  margin: 60px auto 0; text-align: center;}
/* =========================================================
*/
  MENU LATERAL OROZA - VERSION MEJORADA
/* Estilo para la caja de login */
  ---------------------------------------------------------
#login-box {
  Objetivo:
   width: 320px; /* Ancho del contenedor */
  - Integrarse con el estilo general blanco + dorado
   margin: 25px auto; /* Centrar el contenedor y margen superior */
  - Verse más premium y ordenado
   padding: 20px; /* Espacio interno */
  - Mantener compatibilidad con tu HTML actual
   text-align: center; /* Centrar el texto */
  - Funcionar bien en desktop y celular
   background-color: #f9f9f9; /* Fondo claro */
  - No modificar navbar ni contenido principal
   border-radius: 10px; /* Bordes redondeados */
========================================================= */
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra para profundidad */
 
   border: 1px solid #ddd; /* Borde sutil */
 
/* =========================================================
  1) VARIABLES VISUALES DEL MENU
  ---------------------------------------------------------
  Si luego quieres ajustar color, sombra o bordes,
  aquí lo cambias todo más fácil.
========================================================= */
:root {
  --oroza-side-bg: #ffffff;
  --oroza-side-panel: #ffffff;
  --oroza-side-item: #fbfcfe;
   --oroza-side-item-hover: #f4f8fc;
   --oroza-side-border: #e4ebf3;
   --oroza-side-border-soft: #eef3f8;
   --oroza-side-text: #243246;
  --oroza-side-muted: #607086;
  --oroza-side-gold: #dcae1d;
   --oroza-side-gold-strong: #c79400;
   --oroza-side-gold-soft: rgba(220, 174, 29, 0.12);
  --oroza-side-shadow: 0 12px 30px rgba(22, 34, 52, 0.08);
   --oroza-side-shadow-soft: 0 4px 14px rgba(22, 34, 52, 0.05);
   --oroza-side-radius: 18px;
  --oroza-side-radius-sm: 12px;
}
}


/* Estilo para los campos de entrada y etiquetas */
 
#login-box label {
/* =========================================================
   display: block; /* Hacer que las etiquetas ocupen toda la línea */
  2) CONTENEDOR GENERAL DEL MENU
   margin-bottom: 10px; /* Espacio inferior para separación */
  ---------------------------------------------------------
   font-weight: bold; /* Negrita para destacar */
  Este envuelve el toggle y el panel lateral.
   font-size: 14px; /* Tamaño de fuente ajustado */
========================================================= */
  color: #333; /* Color de texto oscuro */
.oroza-sidebar-toggle {
  text-align: left; /* Alinear las etiquetas a la izquierda */
   width: 100%;
   color: var(--oroza-side-text);
   font-family: "Segoe UI", Tahoma, Arial, sans-serif;
   box-sizing: border-box;
}
}


#login-box input[type="text"],
 
#login-box input[type="password"] {
/* =========================================================
  width: calc(100% - 20px); /* Asegura que los inputs llenen el ancho disponible */
  3) CHECKBOX OCULTO PARA TOGGLE EN MOVIL
  padding: 10px; /* Espacio interno */
  ---------------------------------------------------------
  margin-bottom: 20px; /* Espacio inferior entre los campos */
  Se usa solo para abrir/cerrar el menú en pantallas chicas.
  border: 1px solid #ccc; /* Borde claro */
========================================================= */
  border-radius: 5px; /* Bordes redondeados */
.toggle-checkbox {
  font-size: 16px; /* Tamaño de fuente legible */
   display: none;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); /* Sombra interna */
  transition: border-color 0.3s ease; /* Transición suave para foco */
   display: block; /* Asegura que los inputs estén alineados verticalmente */
  margin: 0 auto 20px; /* Alinea los inputs y añade margen inferior */
}
}


#login-box input[type="text"]:focus,
#login-box input[type="password"]:focus {
  border-color: #66afe9; /* Cambio de color en el foco */
  outline: none; /* Elimina el borde de enfoque predeterminado */
}


/* Estilo para el botón de login */
/* =========================================================
.login-button {
  4) BOTON DE TOGGLE MOVIL
   width: 100%; /* Asegura que el botón ocupe todo el ancho */
  ---------------------------------------------------------
   padding: 10px; /* Espacio interno */
  En desktop permanece oculto.
   margin-top: 20px; /* Añade espacio superior */
  En móvil aparece como botón para mostrar el menú.
   background-color: #4CAF50; /* Fondo verde para el botón */
========================================================= */
   color: #fff; /* Texto blanco */
.toggle-label {
   border: none; /* Elimina bordes */
  display: none;
   border-radius: 5px; /* Bordes redondeados */
   width: 100%;
   font-size: 18px; /* Tamaño de fuente más grande */
  box-sizing: border-box;
   font-weight: bold; /* Negrita para el texto */
   padding: 13px 16px;
   cursor: pointer; /* Cambia el cursor a una mano */
   margin-bottom: 14px;
   transition: background-color 0.3s ease; /* Transición suave */
  border: 1px solid var(--oroza-side-border);
  border-radius: 14px;
   background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
   color: var(--oroza-side-text);
   font-size: 14px;
   font-weight: 800;
   text-align: center;
   letter-spacing: 0.2px;
   cursor: pointer;
  box-shadow: var(--oroza-side-shadow-soft);
   transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
}


.login-button:hover {
.toggle-label:hover {
   background-color: #45a049; /* Fondo más oscuro en hover */
   border-color: #d8e1ea;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 8px 20px rgba(22, 34, 52, 0.08);
}
}


.login-button:active {
  background-color: #3e8e41; /* Fondo más oscuro cuando se presiona */
}


/* Estilo para el título del login */
/* =========================================================
.login-title {
  5) PANEL PRINCIPAL DEL SIDEBAR
   font-size: 24px; /* Tamaño de fuente grande */
  ---------------------------------------------------------
   font-weight: bold; /* Negrita */
  Caja blanca premium del menú lateral.
   color: #333; /* Color oscuro */
========================================================= */
   margin-bottom: 20px; /* Espacio inferior para separación */
.oroza-sidebar {
   text-align: center; /* Alinea el texto al centro */
   background: var(--oroza-side-panel);
  border: 1px solid var(--oroza-side-border);
   border-radius: 22px;
   padding: 16px;
   box-shadow: var(--oroza-side-shadow);
   box-sizing: border-box;
}
}


/* inputs, labels, bts */
label { display: block; color: #5F5855; }
input, #descricao { width: 240px; margin: 3px 0; padding: 4px 3px; border: 1px solid #fec211; }
input:focus, textarea:focus { background: #fde7a4; }
.bt { width: 75px; height: 25px; padding: 0; margin: 2px 0; border: 0; }
.votar, .trocar { text-align: center; margin-top: 30px; }
.votar img  { cursor: pointer; }


/* Info box
/* =========================================================
.info { padding: 12px; margin: 10px 0; font-size: x-small; border: 1px solid #dfc373; -moz-border-radius: 6px; -webkit-border-radius: 6px; background: #8FC1E2; }*/
  6) TITULOS DE CATEGORIA
 
  ---------------------------------------------------------
/* Info box */
  Bloques tipo sección para dividir el menú.
.info {
  Estilo azul + dorado, combinado con la navbar.
   padding: 15px; /* Aumenta el padding para mayor espacio interno */
========================================================= */
   margin: 12px 0; /* Aumenta el margen para más espacio entre elementos */
.oroza-sidebar .menu-title {
   font-size: 14px; /* Ajusta el tamaño de fuente a un valor legible */
   display: flex;
   border: 1px solid #dfc373; /* Mantén el borde */
  align-items: center;
   border-radius: 6px; /* Uso de border-radius estándar */
  gap: 10px;
   background-color: #f0f8ff; /* Cambio a un color más claro para mejor legibilidad */
   margin: 18px 0 10px;
   color: #333; /* Color de texto oscuro para buen contraste */
   padding: 12px 14px;
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra sutil para profundidad */
  background: linear-gradient(180deg, #35506f 0%, #2b3e50 100%);
   transition: background-color 0.3s ease; /* Transición suave para cambios de fondo */
   border: 1px solid rgba(255, 180, 0, 0.35);
   border-left: 5px solid #ffb400;
  border-radius: 12px;
   color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
   letter-spacing: 0.2px;
   text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
   box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
}


.info:hover {
.oroza-sidebar .menu-title:first-child {
   background-color: #e0f0ff; /* Color de fondo al pasar el ratón */
   margin-top: 0;
}
}


/* Icones */
.icone { vertical-align: -3px; margin-right: 5px; }


/* Selecionar Top
/* =========================================================
#selecionar-top { width: 263px; margin: 50px auto 0 auto; font-size: 18px; font-weight: bold; margin-top: 45px;}
  7) LISTAS BASE DEL MENU
#selecionar-top select { padding: 2px; border: 1px solid #fec211; width: 230px; }
  ---------------------------------------------------------
*/
  Elimina estilos de lista por defecto.
#seleccionar-top {
========================================================= */
  display: flex; /* Flexbox para centrar y alinear elementos */
.oroza-sidebar ul {
  flex-direction: column; /* Alinea los elementos verticalmente */
   list-style: none;
  align-items: center; /* Centra los elementos horizontalmente */
   margin: 0;
  justify-content: center; /* Centra los elementos verticalmente */
   padding: 0;
  width: 300px; /* Ajusta el ancho según necesites */
  margin: 20px auto; /* Centro horizontal y espacio superior */
  padding: 20px; /* Añade espacio interno para mayor comodidad */
  background-color: #f9f9f9; /* Fondo claro */
   border: 2px solid #ccc; /* Borde sutil */
  border-radius: 10px; /* Bordes redondeados */
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Sombra sutil para profundidad */
   font-size: 18px; /* Hace el texto más grande */
}
}


#seleccionar-top .label-top {
.oroza-sidebar li {
   margin-bottom: 10px; /* Espacio entre el label y el select */
   margin: 0;
   font-weight: bold; /* Negrita para el label */
   padding: 0;
}
}


#seleccionar-top select {
.oroza-sidebar li + li {
   width: 100%; /* Asegura que el select ocupe todo el ancho disponible */
   margin-top: 6px;
  padding: 10px; /* Espacio interno para mejor apariencia */
  border: 1px solid #ddd; /* Borde claro */
  border-radius: 5px; /* Bordes redondeados */
  font-size: 16px; /* Ajusta el tamaño de la fuente del select */
  background-color: #fff; /* Fondo blanco */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Sombra para el select */
  appearance: none; /* Elimina el estilo predeterminado del navegador */
}
}


#seleccionar-top select:focus {
 
   border-color: #666; /* Cambia el color del borde en foco */
/* =========================================================
   outline: none; /* Elimina el borde de enfoque predeterminado */
  8) ENLACES DEL MENU
   box-shadow: 0 0 5px rgba(102, 102, 102, 0.5); /* Sombra en foco */
  ---------------------------------------------------------
  Cada opción se ve como tarjeta pequeña.
========================================================= */
.oroza-sidebar li a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  padding: 10px 12px;
  background: var(--oroza-side-item);
  border: 1px solid var(--oroza-side-border-soft);
   border-radius: var(--oroza-side-radius-sm);
  color: var(--oroza-side-text) !important;
   text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
   box-shadow: var(--oroza-side-shadow-soft);
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}
}


/* Hover suave, elegante y compatible con tu look */
.oroza-sidebar li a:hover {
  background: var(--oroza-side-item-hover);
  border-color: #dce5ef;
  color: #162234 !important;
  text-decoration: none !important;
  transform: translateX(3px);
  box-shadow: 0 8px 18px rgba(22, 34, 52, 0.08);
}


#top-infos {
/* Focus visible para accesibilidad */
  margin-top: 15px;
.oroza-sidebar li a:focus {
   line-height: 17px;  
   outline: none;
   line-height: 1.5;
   border-color: rgba(220, 174, 29, 0.58);
   font-size: 16px; /* Tamaño de fuente específico para #top-infos */
   box-shadow: 0 0 0 4px rgba(220, 174, 29, 0.12);
}
}


#item-infos {  
/* Estado activo opcional:
   margin-top: 15px;  
  si algún día agregas class="active" al link actual */
   line-height: 17px;  
.oroza-sidebar li a.active,
   line-height: 1.5;
.oroza-sidebar li a.is-active {
   font-size: 16px; /* Tamaño de fuente específico para #item-infos */
   background: linear-gradient(180deg, #fffaf1 0%, #fff4dd 100%);
   border-color: rgba(220, 174, 29, 0.38);
   color: #1a2738 !important;
   box-shadow:
    0 8px 18px rgba(22, 34, 52, 0.06),
    inset 0 0 0 1px rgba(220, 174, 29, 0.08);
}
}


/* Itens
#itens { width: 100%; text-align: center; }*/


/* Estilo general de la tabla */
/* =========================================================
#itens {
  9) ICONO, TEXTO Y FLECHA
   width: 100%; /* Ocupa todo el ancho disponible */
  ---------------------------------------------------------
   border-collapse: collapse; /* Elimina los espacios entre bordes */
  Mejor control visual de cada parte del link.
   margin: 20px 0; /* Margen superior e inferior */
========================================================= */
   font-size: 16px; /* Tamaño de fuente ajustado */
.menu-icon {
   text-align: left; /* Alinea el texto a la izquierda */
   width: 22px;
   min-width: 22px;
   text-align: center;
   font-size: 16px;
   line-height: 1;
  opacity: 0.96;
}
}


/* Estilo para las celdas de encabezado */
.menu-text {
#itens th {
   flex: 1;
   background-color: #54D0FC; /* Fondo verde */
   min-width: 0;
   color: white; /* Texto en blanco */
   word-break: break-word;
   padding: 12px 15px; /* Espaciado interno */
  text-align: center; /* Centra el texto en el encabezado */
}
}


/* Estilo para las celdas */
.menu-arrow {
#itens td {
  color: var(--oroza-side-gold-strong);
   padding: 12px 15px; /* Espaciado interno */
   font-size: 14px;
   border-bottom: 1px solid #ddd; /* Borde inferior */
   font-weight: 900;
   text-align: center; /* Centra el contenido de las celdas */
   line-height: 1;
  opacity: 0.92;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
}


/* Estilo para las filas alternas */
.oroza-sidebar li a:hover .menu-arrow {
#itens tr:nth-child(even) {
  transform: translateX(2px);
   background-color: #f2f2f2; /* Color de fondo para filas pares */
   opacity: 1;
}
}


/* Estilo para las imágenes en las celdas */
#itens td img {
  max-width: 50px; /* Tamaño máximo para las imágenes */
  height: auto; /* Mantiene la proporción de la imagen */
}


/* Estilo para los enlaces */
/* =========================================================
#itens td a {
  10) AJUSTE DESKTOP
   color: #333; /* Color de texto */
  ---------------------------------------------------------
   text-decoration: none; /* Elimina el subrayado */
  Mantiene el menú con un ancho agradable y estable.
========================================================= */
@media screen and (min-width: 981px) {
   .oroza-sidebar {
    max-width: 330px;
   }
}
}


#itens td a:hover {
  text-decoration: underline; /* Subraya el enlace al pasar el ratón */
}


/* Estilo para el hover en las filas */
/* =========================================================
#itens tr:hover {
  11) TABLET / MOVIL
  background-color: #D0F3FF; /* Color de fondo al pasar el ratón */
  ---------------------------------------------------------
}
  Muestra botón toggle y colapsa el menú lateral.
 
========================================================= */
/* Estilo para la tabla responsive */
@media screen and (max-width: 980px) {
@media (max-width: 768px) {
   .toggle-label {
   #itens {
     display: block;
     display: block;
    overflow-x: auto;
    white-space: nowrap;
   }
   }


   #itens th, #itens td {
   .oroza-sidebar {
     white-space: nowrap; /* Evita que el texto se desborde */
     display: none;
    padding: 14px;
    border-radius: 18px;
   }
   }
}


/* Footer */
  .toggle-checkbox:checked + .toggle-label + .oroza-sidebar {
#footer { font-size: 11px; margin-top: 30px; border-top: 1px solid #dfc373; padding: 10px; text-align: center; }
    display: block;
  }


/* Instalação */
  .oroza-sidebar .menu-title {
#install { width: 270px; background: #fff; margin: 0 auto; padding: 30px; }
    font-size: 14px;
#install fieldset { padding: 10px; border: 1px dashed #dfc373; -moz-border-radius: 6px; -webkit-border-radius: 6px; margin-bottom: 10px; }
    padding: 11px 12px;
  }


  .oroza-sidebar li a {
    min-height: 44px;
    font-size: 13.5px;
    padding: 10px 11px;
  }


  .menu-icon {
    width: 20px;
    min-width: 20px;
    font-size: 15px;
  }
}


/* Botón estilizado para intercambio */
.btn-trocar {
  display: inline-block; /* Permite aplicar padding y centrado */
  padding: 10px 20px; /* Espacio interno horizontal y vertical */
  margin-top: 15px; /* Espacio superior */
  font-size: 16px; /* Tamaño de la fuente */
  font-weight: bold; /* Negrita */
  color: #fff; /* Texto blanco */
  background-color: #4CAF50; /* Fondo verde */
  border: none; /* Sin borde */
  border-radius: 5px; /* Bordes redondeados */
  text-decoration: none; /* Elimina el subrayado del enlace */
  text-align: center; /* Centra el texto */
  transition: background-color 0.3s ease, transform 0.3s ease; /* Transiciones suaves */
  cursor: pointer; /* Cambia el cursor a una mano */
}


.btn-trocar:hover {
/* =========================================================
   background-color: #45a049; /* Color de fondo más oscuro en hover */
  12) CELULAR PEQUEÑO
  transform: translateY(-3px); /* Levanta el botón ligeramente en hover */
  ---------------------------------------------------------
}
  Compacta un poco más sin perder legibilidad.
========================================================= */
@media screen and (max-width: 480px) {
   .toggle-label {
    padding: 12px 14px;
    font-size: 13px;
    border-radius: 12px;
  }


.btn-trocar:active {
  .oroza-sidebar {
  background-color: #3e8e41; /* Color de fondo más oscuro cuando se presiona */
    padding: 12px;
  transform: translateY(0); /* Elimina el levantamiento al hacer clic */
    border-radius: 16px;
}
  }


  .oroza-sidebar .menu-title {
    gap: 8px;
    margin: 16px 0 9px;
    padding: 10px 11px;
    font-size: 13px;
  }


/* Caja de puntos */
  .oroza-sidebar li + li {
.points-box {
    margin-top: 5px;
  text-align: center;
   }
  margin: 20px auto;
  padding: 20px;
  background-color: #f0fdf4;
   border: 2px solid #2E7D32;
  border-radius: 12px;
  max-width: 300px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}


/* Etiqueta de puntos */
  .oroza-sidebar li a {
.points-label {
    min-height: 42px;
  font-size: 18px;
    padding: 9px 10px;
  color: #2E7D32;
    font-size: 13px;
  font-weight: bold;
    gap: 9px;
  margin-bottom: 8px;
  }
}


/* Valor de puntos */
  .menu-icon {
.points-value {
    width: 18px;
  font-size: 23px;
    min-width: 18px;
  font-weight: bold;
    font-size: 14px;
   color: #1b5e20;
   }
}


.login-subtitle {
  .menu-arrow {
  font-size: 14px;
    font-size: 13px;
  color: #555;
   }
  text-align: center;
   margin-bottom: 20px;
}
}

Revisión del 10:06 5 abr 2026

/* =========================================================
   OROZA WIKI - ESTILOS GENERALES MEJORADOS
   ---------------------------------------------------------
   Objetivo:
   - Mantener tu estilo visual limpio y profesional
   - Mejorar el comportamiento en celular
   - Evitar que navbar, tablas e imágenes rompan el diseño
   - Hacer el CSS más fácil de entender y mantener
========================================================= */


/* =========================================================
   1) BASE GENERAL DEL SITIO
   ---------------------------------------------------------
   Estilos globales del body, tipografía y color base
========================================================= */
body {
  background-color: #f2f2f2;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  color: #333;
  overflow-x: hidden; /* Evita scroll horizontal accidental */
}

/* Hace que imágenes y elementos no se salgan del ancho de pantalla */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}


img {
  max-width: 100%;
  height: auto;
}

.vector-sticky-header,
.vector-sticky-pinned-container,
.mw-sticky-header {
  display: none !important;
}


/* =========================================================
   2) CONTENIDO PRINCIPAL
   ---------------------------------------------------------
   Caja principal blanca donde se ve el contenido de la wiki
========================================================= */
#content {
  background-color: #fff;
  padding: 30px;
  margin: 20px auto;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.10);
  max-width: 1200px;
}

/* =========================================================
   3) TITULO PRINCIPAL DE PAGINA
   ---------------------------------------------------------
   Controla el heading principal de MediaWiki
========================================================= */
.firstHeading {
  font-size: 2.2rem;
  font-weight: bold;
  color: #2b4a6d;
  margin-bottom: 20px;
  line-height: 1.2;
  text-align: center;
}


/* =========================================================
   4) TABLA DE CONTENIDO
   ---------------------------------------------------------
   Caja del índice / TOC
========================================================= */
#toc {
  background-color: #eef4ff;
  border: 1px solid #cddaf1;
  padding: 10px;
  border-radius: 8px;
}


/* =========================================================
   5) ENLACES
   ---------------------------------------------------------
   Estilo general para links
========================================================= */
a {
  color: #1e70bf;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.mw-body a {
  color: #1e70bf;
  font-weight: 500;
}


/* =========================================================
   6) ENCABEZADOS JERARQUICOS
   ---------------------------------------------------------
   h1 a h6 centrados, elegantes y sin subrayado
========================================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  font-weight: 700;
  text-align: center;
  color: #2b4a6d;
  margin-top: 40px;
  margin-bottom: 30px;
  line-height: 1.3;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.08);
  border-bottom: none;
  background: none !important;
}

/* Tamaños progresivos de títulos */
h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2.3rem;
}

h4 {
  font-size: 1.6rem;
}

h5 {
  font-size: 1.3rem;
}

h6 {
  font-size: 1.1rem;
  color: #444;
}


/* =========================================================
   7) BOTONES CON ICONO
   ---------------------------------------------------------
   Útiles para enlaces visuales tipo botón
========================================================= */
.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #2b4a6d;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
  box-sizing: border-box;
}

.button-icon:hover {
  background: #1e324f;
}

.button-icon::before {
  content: '🔹';
}


/* =========================================================
   8) CAJAS INFORMATIVAS
   ---------------------------------------------------------
   Bloques para avisos, recomendaciones y alertas
========================================================= */
.box-info {
  background: #eef4ff;
  border-left: 5px solid #1e70bf;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
}

.box-warning {
  background: #fff4e5;
  border-left: 5px solid #ffa500;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
}

.box-tip {
  background: #eaffea;
  border-left: 5px solid #28a745;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
}


/* =========================================================
   9) LISTAS
   ---------------------------------------------------------
   Espaciado para ul y ol
========================================================= */
ul,
ol {
  padding-left: 40px;
  margin-bottom: 20px;
}


/* =========================================================
   10) NAVBAR HORIZONTAL
   ---------------------------------------------------------
   Menú superior personalizado
   Mejorado para que no se rompa tan fácil en pantallas chicas
========================================================= */
.oroza-navbar {
  background: #2b3e50;
  padding: 15px 25px;
  display: flex;
  flex-wrap: wrap; /* Permite acomodar links si no caben */
  gap: 18px 30px;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  border-bottom: 3px solid #ffb400;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin: 20px auto;
  max-width: 1200px;
  position: relative;
  box-sizing: border-box;
}

.oroza-navbar a {
  color: white !important;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap; /* Evita que un link se parta en dos renglones */
}

.oroza-navbar a:hover {
  text-decoration: underline;
  color: #ffcc33 !important;
}

/* Logo en desktop: se mantiene posicionado a la izquierda */
.oroza-navbar-logo {
  position: absolute;
  left: 25px;
  display: flex;
  align-items: center;
}

.oroza-navbar-logo img {
  width: 80px;
  height: auto;
  filter: drop-shadow(0 0 5px white);
}


/* =========================================================
   11) SIDEBAR LATERAL
   ---------------------------------------------------------
   Menú lateral de navegación
========================================================= */
.oroza-sidebar {
  background: #ffffff;
  border: 1px solid #ddd;
  padding: 15px 20px;
  border-radius: 10px;
  width: 280px;
  font-size: 14px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  box-sizing: border-box;
}

/* Título de cada sección del menú lateral */
.oroza-sidebar .menu-title {
  font-weight: bold;
  color: #2b4a6d;
  font-size: 17px;
  margin: 20px 0 12px;
  border-left: 4px solid #ffb400;
  padding-left: 10px;
}

/* Lista interna del sidebar */
.oroza-sidebar ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.oroza-sidebar li {
  margin: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.oroza-sidebar li::before {
  display: inline-block;
  margin-right: 3px;
}


/* =========================================================
   12) TABLAS PERSONALIZADAS
   ---------------------------------------------------------
   Mejoradas para escritorio y con scroll horizontal en móvil
========================================================= */
.oroza-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  overflow: hidden;
}

.oroza-table thead {
  background-color: #2b4a6d;
  color: #fff;
  text-align: left;
  font-weight: bold;
}

.oroza-table th,
.oroza-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}

.oroza-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.oroza-table tbody tr:hover {
  background-color: #eef4ff;
}

.oroza-table .highlight {
  color: #ffb400;
  font-weight: bold;
}

.oroza-table .center-icon {
  text-align: center;
  font-size: 18px;
}

.oroza-table .zeny {
  color: #28a745;
  font-weight: bold;
}

/* Variante opcional para tablas de ancho automático */
.oroza-table.auto-width {
  width: auto !important;
  max-width: 100%;
  table-layout: auto !important;
  margin: 20px auto;
  display: table;
}


/* =========================================================
   13) EFECTO ZOOM EN IMAGENES
   ---------------------------------------------------------
   Útil para imágenes pequeñas o decorativas
========================================================= */
.zoom-img {
  transition: transform 0.25s ease;
  cursor: zoom-in;
}

.zoom-img:hover {
  transform: scale(1.35);
  z-index: 10;
}


/* =========================================================
   14) IMAGENES REDONDEADAS CON EFECTO SUAVE
   ---------------------------------------------------------
   Tus imágenes principales decorativas
========================================================= */
img {
  max-width: 100%;
  height: auto;
}

img.round-fade {
  width: 55%;
  border-radius: 20px;
  margin: 10px auto;
  display: block;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1), 0 0 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, opacity 0.3s ease;
  object-fit: cover;
  opacity: 0.97;
}

img.round-fade:hover {
  transform: scale(1.08);
  opacity: 1;
}


/* =========================================================
   15) OCULTAR ELEMENTOS ORIGINALES DE MEDIAWIKI
   ---------------------------------------------------------
   Esto oculta partes viejas del layout por defecto
========================================================= */
#p-logo,
#footer,
#mw-panel {
  display: none !important;
}


/* =========================================================
   16) TOGGLE / MENU COLAPSABLE
   ---------------------------------------------------------
   Si no lo usas, se deja oculto
========================================================= */
.toggle-checkbox {
  display: none;
}

.toggle-label {
  display: none !important;
}


/* =========================================================
   17) TABLET Y MOVIL
   ---------------------------------------------------------
   Aquí está la mejora más importante.
   Ya no apilamos la navbar completa en columna.
   En lugar de eso:
   - reducimos tamaños
   - hacemos wrap controlado
   - ajustamos logo
   - permitimos scroll en tablas
========================================================= */
/* =========================================================
   RESPONSIVE CORREGIDO
   ---------------------------------------------------------
   - No reduce el ancho en PC
   - Corrige mejor el móvil
   - Usa !important en lo necesario porque en wiki a veces
     hay estilos inline que ganan prioridad visual
========================================================= */
@media screen and (max-width: 768px) {
  /* Caja principal más compacta en móvil */
  #content {
    padding: 16px !important;
    margin: 10px !important;
    border-radius: 10px !important;
  }

  /* Si tu layout usa wrapper flex */
  .oroza-flex-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  .oroza-flex-wrapper > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* Sidebar a ancho completo */
  .oroza-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 16px !important;
    display: block !important;
    padding: 14px 16px !important;
    box-sizing: border-box !important;
  }

  .oroza-sidebar .menu-title {
    font-size: 15px !important;
    margin: 16px 0 10px !important;
  }

  .oroza-sidebar li {
    font-size: 13px !important;
    line-height: 1.35 !important;
    gap: 6px !important;
  }

  /* Navbar:
     en vez de ponerla en columna, dejamos fila con wrap */
  .oroza-navbar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px 10px !important;
    padding: 12px 10px !important;
    margin: 12px 10px !important;
    border-radius: 10px !important;
  }

  /* El logo absoluto suele romper el centrado en móvil */
  .oroza-navbar-logo {
    position: static !important;
    left: auto !important;
    width: 100% !important;
    justify-content: center !important;
    margin-bottom: 6px !important;
  }

  .oroza-navbar-logo img {
    width: 56px !important;
    max-width: 56px !important;
  }

  .oroza-navbar a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 9px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  /* Títulos más compactos en móvil */
  .firstHeading {
    font-size: 1.6rem !important;
    line-height: 1.2 !important;
    margin-bottom: 14px !important;
  }

  h1 {
    font-size: 1.9rem !important;
    margin-top: 24px !important;
    margin-bottom: 18px !important;
  }

  h2 {
    font-size: 1.6rem !important;
    margin-top: 22px !important;
    margin-bottom: 16px !important;
  }

  h3 {
    font-size: 1.35rem !important;
    margin-top: 20px !important;
    margin-bottom: 14px !important;
  }

  h4 {
    font-size: 1.15rem !important;
    margin-top: 18px !important;
    margin-bottom: 12px !important;
  }

  h5 {
    font-size: 1rem !important;
    margin-top: 16px !important;
    margin-bottom: 10px !important;
  }

  h6 {
    font-size: 0.95rem !important;
    margin-top: 14px !important;
    margin-bottom: 10px !important;
  }

  /* Listas más compactas */
  ul,
  ol {
    padding-left: 22px !important;
    margin-bottom: 16px !important;
  }

  /* Cajas informativas */
  .box-info,
  .box-warning,
  .box-tip {
    padding: 12px !important;
    margin: 14px 0 !important;
    border-radius: 8px !important;
  }

  /* Botones ocupan mejor el ancho disponible */
  .button-icon {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  /* Tablas con scroll horizontal */
  .oroza-table,
  .oroza-table.auto-width {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    white-space: nowrap !important;
  }

  .oroza-table th,
  .oroza-table td {
    white-space: nowrap !important;
    font-size: 13px !important;
    padding: 10px 12px !important;
  }

  /* Imágenes más fluidas */
  img.round-fade {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 14px !important;
    margin: 10px auto !important;
  }

  /* Hover desactivado en móvil */
  .zoom-img:hover,
  img.round-fade:hover {
    transform: none !important;
    opacity: 0.97 !important;
  }

  .toggle-label {
    display: none !important;
  }
}

/* =========================================================
   MOVILES PEQUEÑOS
========================================================= */
@media screen and (max-width: 480px) {
  #content {
    padding: 12px !important;
    margin: 8px !important;
    border-radius: 8px !important;
  }

  .oroza-navbar {
    gap: 6px 8px !important;
    padding: 10px 8px !important;
  }

  .oroza-navbar a {
    font-size: 12px !important;
    padding: 6px 8px !important;
  }

  .oroza-navbar-logo img {
    width: 48px !important;
    max-width: 48px !important;
  }

  .firstHeading {
    font-size: 1.4rem !important;
  }

  h1 {
    font-size: 1.65rem !important;
  }

  h2 {
    font-size: 1.4rem !important;
  }

  h3 {
    font-size: 1.2rem !important;
  }

  .oroza-sidebar {
    padding: 12px !important;
  }

  .oroza-sidebar li {
    font-size: 12px !important;
  }
}

/* =========================================================
   19) AJUSTE PARA DISPOSITIVOS QUE SI SOPORTAN HOVER
   ---------------------------------------------------------
   Solo deja zoom bonito en escritorio / mouse
========================================================= */
@media (hover: hover) {
  .zoom-img:hover {
    transform: scale(1.35);
    z-index: 10;
  }

  img.round-fade:hover {
    transform: scale(1.08);
    opacity: 1;
  }
}


/* =========================================================
   20) AJUSTE PARA DISPOSITIVOS TOUCH
   ---------------------------------------------------------
   Quita animaciones de hover agresivas en celular
========================================================= */
@media (hover: none) {
  .zoom-img:hover,
  img.round-fade:hover {
    transform: none;
    opacity: 0.97;
  }
}



/* =========================================================
   MENU LATERAL OROZA - VERSION MEJORADA
   ---------------------------------------------------------
   Objetivo:
   - Integrarse con el estilo general blanco + dorado
   - Verse más premium y ordenado
   - Mantener compatibilidad con tu HTML actual
   - Funcionar bien en desktop y celular
   - No modificar navbar ni contenido principal
========================================================= */


/* =========================================================
   1) VARIABLES VISUALES DEL MENU
   ---------------------------------------------------------
   Si luego quieres ajustar color, sombra o bordes,
   aquí lo cambias todo más fácil.
========================================================= */
:root {
  --oroza-side-bg: #ffffff;
  --oroza-side-panel: #ffffff;
  --oroza-side-item: #fbfcfe;
  --oroza-side-item-hover: #f4f8fc;
  --oroza-side-border: #e4ebf3;
  --oroza-side-border-soft: #eef3f8;
  --oroza-side-text: #243246;
  --oroza-side-muted: #607086;
  --oroza-side-gold: #dcae1d;
  --oroza-side-gold-strong: #c79400;
  --oroza-side-gold-soft: rgba(220, 174, 29, 0.12);
  --oroza-side-shadow: 0 12px 30px rgba(22, 34, 52, 0.08);
  --oroza-side-shadow-soft: 0 4px 14px rgba(22, 34, 52, 0.05);
  --oroza-side-radius: 18px;
  --oroza-side-radius-sm: 12px;
}


/* =========================================================
   2) CONTENEDOR GENERAL DEL MENU
   ---------------------------------------------------------
   Este envuelve el toggle y el panel lateral.
========================================================= */
.oroza-sidebar-toggle {
  width: 100%;
  color: var(--oroza-side-text);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  box-sizing: border-box;
}


/* =========================================================
   3) CHECKBOX OCULTO PARA TOGGLE EN MOVIL
   ---------------------------------------------------------
   Se usa solo para abrir/cerrar el menú en pantallas chicas.
========================================================= */
.toggle-checkbox {
  display: none;
}


/* =========================================================
   4) BOTON DE TOGGLE MOVIL
   ---------------------------------------------------------
   En desktop permanece oculto.
   En móvil aparece como botón para mostrar el menú.
========================================================= */
.toggle-label {
  display: none;
  width: 100%;
  box-sizing: border-box;
  padding: 13px 16px;
  margin-bottom: 14px;
  border: 1px solid var(--oroza-side-border);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  color: var(--oroza-side-text);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: var(--oroza-side-shadow-soft);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.toggle-label:hover {
  border-color: #d8e1ea;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 8px 20px rgba(22, 34, 52, 0.08);
}


/* =========================================================
   5) PANEL PRINCIPAL DEL SIDEBAR
   ---------------------------------------------------------
   Caja blanca premium del menú lateral.
========================================================= */
.oroza-sidebar {
  background: var(--oroza-side-panel);
  border: 1px solid var(--oroza-side-border);
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--oroza-side-shadow);
  box-sizing: border-box;
}


/* =========================================================
   6) TITULOS DE CATEGORIA
   ---------------------------------------------------------
   Bloques tipo sección para dividir el menú.
   Estilo azul + dorado, combinado con la navbar.
========================================================= */
.oroza-sidebar .menu-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 10px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #35506f 0%, #2b3e50 100%);
  border: 1px solid rgba(255, 180, 0, 0.35);
  border-left: 5px solid #ffb400;
  border-radius: 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.oroza-sidebar .menu-title:first-child {
  margin-top: 0;
}


/* =========================================================
   7) LISTAS BASE DEL MENU
   ---------------------------------------------------------
   Elimina estilos de lista por defecto.
========================================================= */
.oroza-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.oroza-sidebar li {
  margin: 0;
  padding: 0;
}

.oroza-sidebar li + li {
  margin-top: 6px;
}


/* =========================================================
   8) ENLACES DEL MENU
   ---------------------------------------------------------
   Cada opción se ve como tarjeta pequeña.
========================================================= */
.oroza-sidebar li a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  padding: 10px 12px;
  background: var(--oroza-side-item);
  border: 1px solid var(--oroza-side-border-soft);
  border-radius: var(--oroza-side-radius-sm);
  color: var(--oroza-side-text) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: var(--oroza-side-shadow-soft);
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

/* Hover suave, elegante y compatible con tu look */
.oroza-sidebar li a:hover {
  background: var(--oroza-side-item-hover);
  border-color: #dce5ef;
  color: #162234 !important;
  text-decoration: none !important;
  transform: translateX(3px);
  box-shadow: 0 8px 18px rgba(22, 34, 52, 0.08);
}

/* Focus visible para accesibilidad */
.oroza-sidebar li a:focus {
  outline: none;
  border-color: rgba(220, 174, 29, 0.58);
  box-shadow: 0 0 0 4px rgba(220, 174, 29, 0.12);
}

/* Estado activo opcional:
   si algún día agregas class="active" al link actual */
.oroza-sidebar li a.active,
.oroza-sidebar li a.is-active {
  background: linear-gradient(180deg, #fffaf1 0%, #fff4dd 100%);
  border-color: rgba(220, 174, 29, 0.38);
  color: #1a2738 !important;
  box-shadow:
    0 8px 18px rgba(22, 34, 52, 0.06),
    inset 0 0 0 1px rgba(220, 174, 29, 0.08);
}


/* =========================================================
   9) ICONO, TEXTO Y FLECHA
   ---------------------------------------------------------
   Mejor control visual de cada parte del link.
========================================================= */
.menu-icon {
  width: 22px;
  min-width: 22px;
  text-align: center;
  font-size: 16px;
  line-height: 1;
  opacity: 0.96;
}

.menu-text {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.menu-arrow {
  color: var(--oroza-side-gold-strong);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.92;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.oroza-sidebar li a:hover .menu-arrow {
  transform: translateX(2px);
  opacity: 1;
}


/* =========================================================
   10) AJUSTE DESKTOP
   ---------------------------------------------------------
   Mantiene el menú con un ancho agradable y estable.
========================================================= */
@media screen and (min-width: 981px) {
  .oroza-sidebar {
    max-width: 330px;
  }
}


/* =========================================================
   11) TABLET / MOVIL
   ---------------------------------------------------------
   Muestra botón toggle y colapsa el menú lateral.
========================================================= */
@media screen and (max-width: 980px) {
  .toggle-label {
    display: block;
  }

  .oroza-sidebar {
    display: none;
    padding: 14px;
    border-radius: 18px;
  }

  .toggle-checkbox:checked + .toggle-label + .oroza-sidebar {
    display: block;
  }

  .oroza-sidebar .menu-title {
    font-size: 14px;
    padding: 11px 12px;
  }

  .oroza-sidebar li a {
    min-height: 44px;
    font-size: 13.5px;
    padding: 10px 11px;
  }

  .menu-icon {
    width: 20px;
    min-width: 20px;
    font-size: 15px;
  }
}


/* =========================================================
   12) CELULAR PEQUEÑO
   ---------------------------------------------------------
   Compacta un poco más sin perder legibilidad.
========================================================= */
@media screen and (max-width: 480px) {
  .toggle-label {
    padding: 12px 14px;
    font-size: 13px;
    border-radius: 12px;
  }

  .oroza-sidebar {
    padding: 12px;
    border-radius: 16px;
  }

  .oroza-sidebar .menu-title {
    gap: 8px;
    margin: 16px 0 9px;
    padding: 10px 11px;
    font-size: 13px;
  }

  .oroza-sidebar li + li {
    margin-top: 5px;
  }

  .oroza-sidebar li a {
    min-height: 42px;
    padding: 9px 10px;
    font-size: 13px;
    gap: 9px;
  }

  .menu-icon {
    width: 18px;
    min-width: 18px;
    font-size: 14px;
  }

  .menu-arrow {
    font-size: 13px;
  }
}