/* style.css MINIMO, solo para RegistrationsV2 (login, my account, new_submission, etc). */
/* Esta herramienta tiene su propio diseno (cr_style.css) que no debemos tocar.           */
/* Aqui solo van las reglas del menu/franja de arriba, y el arreglo de los campos del      */
/* formulario. Nada de body, titulos, listas, tablas ni cajas: eso es cosa de la propia    */
/* herramienta, no nuestra.                                                                */

@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&display=swap');

/* ---------- Cabecera: logo + texto ---------- */

#title
{
  position: static;
  width: 100%;
  background-color: #FFFFFF;
  overflow: hidden;
}

.site-header
{
  background: transparent;
  padding: 1.5em 1.8em 1.4em 1.8em;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 26px;
  flex-wrap: wrap;
}

.site-header::before
{
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 25%; height: 4px;
  background: #143a6b;
}

.site-header-text
{
  text-align: left;
  flex: 0 1 auto;
}

.site-header-text h1
{
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.2em;
  color: #143a6b;
  margin: 0 0 0.3em 0;
  line-height: 1.3;
  text-align: left;
}

.site-header-text p
{
  font-family: 'Inter', -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #143a6b;
  margin: 0;
  text-align: left;
}

.site-header-logos
{
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.site-header-logos img
{
  height: 46px;
  width: auto;
  display: block;
}

/* ---------- Franja: Full menu + Affiliates area ---------- */

#ecosta-menu-toggle
{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#site-topbar
{
  position: static;    /* se desplaza con la pagina, no se queda fija comiendo espacio */
  width: 100%;
  padding: 0 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 0;
  z-index: 950;
  box-sizing: border-box;
}

.site-topbar-card
{
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(20,30,50,0.10), 0 18px 44px rgba(20,30,50,0.13);
  overflow: hidden;
}

.menu-btn
{
  display: flex;
  width: 100%;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  height: 56px;
  padding: 0 24px;
  background-color: #fff8ef;
  border: none;
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
  animation: menu-btn-pulse 1.6s ease-in-out 2;
}

.menu-btn::before
{
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 25%; height: 3px;
  background: #143a6b;
}

@keyframes menu-btn-pulse
{
  0%   { transform: scale(1); }
  50%  { transform: scale(1.015); }
  100% { transform: scale(1); }
}

.menu-bars
{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
}

.menu-bars span
{
  display: block;
  height: 4px;
  background-color: #0f3d7a;
  border-radius: 2px;
}

.menu-btn-label
{
  color: #0f3d7a;
  font-size: 24px;
  font-weight: 700;
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  white-space: nowrap;
}

.become-member-btn
{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #0f3d7a;
  font-size: 24px;
  font-weight: 700;
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  text-decoration: none;
  white-space: nowrap;
}

.become-member-btn:hover
{
  text-decoration: underline;
}

/* ---------- Panel de menu completo ---------- */

#ecosta-full-menu-panel
{
  position: fixed;
  inset: 0;
  background-color: #eef2f6;
  z-index: 999;
  overflow-y: auto;
  padding: 50px 30px 40px 30px;
  box-sizing: border-box;
  text-align: left;
  font-family: 'Inter', -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

#ecosta-menu-toggle:checked ~ #ecosta-full-menu-panel
{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-close
{
  position: fixed;
  top: 12px;
  right: 24px;
  font-size: 36px;
  line-height: 1;
  color: #000000;
  cursor: pointer;
  z-index: 1001;
}

#ecosta-full-menu-panel ul
{
  max-width: 1000px;
  margin: 0 auto;
  columns: 3 260px;
  column-gap: 30px;
}

#ecosta-full-menu-panel ul li
{
  color: #000000;
  list-style-type: none;
  padding: 3px 0;
  break-inside: avoid;
}

#ecosta-full-menu-panel a
{
  text-decoration: underline;
  display: block;
  color: #0f60bd;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
}

#ecosta-full-menu-panel li.selected a
{
  color: #0f60bd;
}

#ecosta-full-menu-panel ul ul
{
  columns: 1;
  margin: 6px 0 8px 0;
}

#ecosta-full-menu-panel ul ul li
{
  padding-left: 18px;
  padding-top: 1px;
  padding-bottom: 1px;
}

#ecosta-full-menu-panel ul ul li a
{
  font-size: 16px;
  font-weight: normal;
  color: #333333;
}

/* ---------- Pantallas estrechas ---------- */

@media screen and (max-width: 600px), screen and (max-height: 500px) {

  #site-topbar { position: static; }

  .site-header { padding: 1em 1.1em 0.9em 1.1em; gap: 14px; }
  .site-header-text h1 { font-size: 1em; line-height: 1.25; }
  .site-header-text p { font-size: 13px; }
  .site-header-logos img { height: 26px; }
  .site-header-logos { gap: 10px; padding-bottom: 0.6em; }

  .menu-btn { height: 46px; padding: 0 14px; gap: 10px; }
  .menu-btn-label { font-size: 18px; }

}

/* ---------- Arreglo puntual del formulario de login/registro ---------- */
/* Solo afecta a los campos con estas clases exactas (.container / .box),   */
/* que son las que usa este formulario en concreto. No toca nada mas de la  */
/* pagina.                                                                  */

.container input[type="text"],
.container input[type="password"],
.container input[type="email"],
.box input[type="text"],
.box input[type="password"],
.box input[type="email"]
{
  border: 1px solid #cccccc;
  padding: 6px 8px;
  border-radius: 3px;
}

.container input[type="submit"],
.box input[type="submit"]
{
  display: inline-block;
  width: auto;
  padding: 6px 16px;
  font-size: 14px;
  cursor: pointer;
  background-color: #e8e8e8;
  color: #333333;
  border: 1px solid #bbbbbb;
  border-radius: 3px;
}

/* ---------- Devolver a #menuv su aspecto de caja de siempre ---------- */
/* La propia herramienta de registro usa este id para su cajita lateral    */
/* (Actions, Administration...), aprovechando el estilo que le daba la web */
/* principal de fabrica. Nuestro panel nuevo ya no usa este nombre         */
/* (ahora se llama #ecosta-full-menu-panel), asi que esto no choca con     */
/* nada nuestro, solo le devuelve su caja a la herramienta.                */

#menuv		/* barra horizontal, siempre en el mismo sitio (justo debajo de la cabecera), */
{		/* sin adivinar numeros: la posicion la da el propio orden del documento.     */
	background-color: #0f60bd;
	position: static;
	width: 100%;
	box-sizing: border-box;
	text-align: left;
	font-family: normal arial, verdana;
	border-radius: 8px;
	margin: 0 0 20px 0;
	padding: 6px 16px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	row-gap: 4px;
}

#menuv title
{
  display: none;   /* las etiquetas <title> del propio bloque son invisibles a proposito */
}

#menuv a, #menuv a:visited
{
  color: #FFFFFF;
  text-decoration: none;
  display: block;
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

#menuv a:hover
{
  background-color: cornflowerblue;
}

#menuv ul
{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
}

#menuv ul li
{
  color: #FFFFFF;
  list-style-type: none;
  display: block;
}
