/* =============================================
   NEIX Middle Office -- gate.css
   Estilos del overlay de login (Microsoft OAuth) y del widget
   #neix-session que muestra el email + boton "Salir" arriba a
   la derecha. Cargado desde index.html antes que gate.js para
   que el overlay aparezca con estilos correctos en el primer
   paint, incluso si el resto del JS todavia no termino de
   cargar.
   ============================================= */

#neix-gate {
  position: fixed;
  inset: 0;
  background: #3d3d3d;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #f7f5f3;
  opacity: 1;
  transition: opacity 0.25s ease;
}
#neix-gate.is-fading-out {
  opacity: 0;
}
#neix-gate .gate-box {
  width: 100%;
  max-width: 380px;
  text-align: center;
}
#neix-gate .gate-logo {
  width: 90px;
  margin: 0 auto 36px;
  display: block;
}
#neix-gate .gate-eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
#neix-gate .gate-eyebrow::before,
#neix-gate .gate-eyebrow::after {
  content: '';
  width: 16px;
  height: 1px;
  background: #ab1930;
}
#neix-gate h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 10px;
}
#neix-gate h1 em {
  font-style: italic;
}
#neix-gate p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 28px;
  line-height: 1.6;
}
#neix-gate .gate-sso-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 24px;
  background: #ffffff;
  border: 1px solid transparent;
  color: #3d3d3d;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
#neix-gate .gate-sso-btn:hover {
  background: #f0ede8;
}
#neix-gate .gate-sso-btn:disabled {
  opacity: 0.5;
  cursor: wait;
}
#neix-gate .gate-sso-icon {
  width: 18px;
  height: 18px;
}
#neix-gate .gate-error {
  min-height: 16px;
  font-size: 11px;
  color: #ab1930;
  margin-top: 14px;
  letter-spacing: 0.05em;
}
#neix-gate .gate-foot {
  margin-top: 42px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.22);
}
#neix-gate .gate-hint {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 14px;
  text-transform: uppercase;
}

#neix-session {
  position: fixed;
  top: 12px;
  right: 16px;
  z-index: 9000;
  display: none;
  align-items: center;
  gap: 8px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
#neix-session.visible {
  display: inline-flex;
}
#neix-session .sess-email {
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.7);
}
#neix-session .sess-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.65);
  padding: 5px 10px;
  font: inherit;
  cursor: pointer;
  letter-spacing: 0.1em;
  transition:
    border-color 0.15s,
    color 0.15s;
}
#neix-session .sess-btn:hover {
  border-color: #ab1930;
  color: #ffffff;
}
