/* ============================================================
   assets/css/base.css
   Estilos compartidos: navbar, hero, inputs, footer, toast
   ============================================================ */

:root {
  --azul:       #1a3c6e;
  --azul-claro: #2563a8;
  --acento:     #f59e0b;
  --fondo:      #f0f4fa;
  --card-bg:    #ffffff;
  --texto:      #1e2d40;
  --gris:       #6b7a8d;
  --borde:      #d1dae8;
  --verde:      #16a34a;
  --rojo:       #dc2626;
}

* { box-sizing: border-box; }

body {
  font-family: "Roboto", sans-serif;
  background: var(--fondo);
  color: var(--texto);
  min-height: 100vh;
}


/* ─── Navbar ─────────────────────────────────────── */
.navbar-custom {
  background: var(--azul);
  box-shadow: 0 2px 12px rgba(26,60,110,.25);
  margin-bottom: 2rem;
}
.navbar-custom .navbar-brand {
  font-family: "Roboto", sans-serif;
  font-size: 1.35rem;
  color: #fff !important;
  letter-spacing: .5px;
}
.navbar-custom .nav-link {
  color: rgba(255,255,255,.75) !important;
  font-weight: 500;
  font-size: .9rem;
  transition: color .2s;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--acento) !important;
}


/* ─── Selector de idioma con banderas ────────────── */
/* Cada botón de idioma */
.btn-lang {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 6px;
  color: rgba(255,255,255,.65);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .5px;
  padding: .2rem .5rem;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  line-height: 1;
}
.btn-lang:hover {
  border-color: rgba(255,255,255,.35);
  color: #fff;
  background: rgba(255,255,255,.08);
}
/* Idioma activo */
.btn-lang.lang-active {
  border-color: var(--acento);
  color: #fff;
  background: rgba(245,158,11,.15);
}

/* Bandera (emoji) */
.lang-flag {
  font-size: 1.1rem;
  line-height: 1;
}


/* ─── Hero ────────────────────────────────────────── */
.page-hero {
  color: #fff;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
}
.page-hero h1 {
  font-family: "Roboto", sans-serif;
  font-size: 1.85rem;
  margin-bottom: .35rem;
}
.page-hero p { opacity: .8; font-size: .95rem; margin: 0; }


/* ─── Inputs compartidos ──────────────────────────── */
.form-label {
  font-weight: 600;
  font-size: .85rem;
  color: var(--texto);
  margin-bottom: .3rem;
}
.form-control {
  border: 1.5px solid var(--borde);
  border-radius: 8px;
  font-size: .92rem;
  padding: .55rem .85rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
  border-color: var(--azul-claro);
  box-shadow: 0 0 0 3px rgba(37,99,168,.15);
}


/* ─── Toast ───────────────────────────────────────── */
.toast-container { z-index: 9999; }
.toast-err { border-left: 4px solid #ef4444; }


/* ─── Footer ──────────────────────────────────────── */
footer {
  text-align: center;
  font-size: .78rem;
  color: var(--gris);
  padding: 1.5rem 0 2rem;
}

.footer-element-separator{
  margin: 0 10px; 
  color: #ccc;
}
