/*
 * MANITAS – Exit
 * Archivo: assets/css/manitas-exit.css
 * Versión: 1.8.0
 * Última actualización: 2026-01-06 22:31:45 -0400
 */

/* ============================================================
   ARCHIVO: assets/css/manitas-exit.css
   PLUGIN: Manitas Core Auth
   ============================================================
   ¿Qué hace este archivo?
   - Estiliza la pantalla de salida /salida/ (shortcode [manitas_salir]).
   - NO debe afectar al resto del sitio, por eso se “scopea”:
       body.manitas-auth .mx-logout-hero ...
   - También neutraliza (solo en auth) wrappers del tema/Elementor
     que suelen crear “capas” extras, márgenes o fondos.
   ============================================================ */


/* ============================================================
   01) Anti-conflictos del tema/Elementor SOLO en auth
   (evita fondos extra y padding externo)
   ============================================================ */

body.manitas-auth #page,
body.manitas-auth .site,
body.manitas-auth #content,
body.manitas-auth .site-content,
body.manitas-auth main,
body.manitas-auth .elementor,
body.manitas-auth .elementor-section,
body.manitas-auth .elementor-container,
body.manitas-auth .elementor-widget-wrap{
  background: transparent !important;
  background-image: none !important;
}

/* Opcional: si ves espacio arriba/abajo por el tema */
body.manitas-auth .site-content,
body.manitas-auth main{
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}


/* ============================================================
   02) Fondo principal (TU diseño, pero blindado y consistente)
   ============================================================ */

body.manitas-auth .mx-logout-hero{
  /* Tokens SOLO para esta pantalla */
  --mx-bg: #0b1220;
  --mx-veil: rgba(0,0,0,.45);
  --mx-pri:#80c342;
  --mx-sec:#00A1B0;
  --mx-text:#e5e7eb;
  --mx-muted:#94a3b8;

  min-height: 100dvh;
  margin: 0;
  display: grid;
  place-items: center;
  color: var(--mx-text);

  /* Fondo único real */
  background:
    linear-gradient(135deg, rgba(11,18,32,.8), rgba(0,0,0,.6)),
    url('https://manitas.inmoplus-online.com/wp-content/uploads/2025/11/fondo_logout.jpg')
    center/cover no-repeat;
}

/* En móviles evitamos “fixed” por rendimiento */
@media (max-width: 768px){
  body.manitas-auth .mx-logout-hero{
    background-attachment: scroll;
  }
}

@media (min-width: 769px){
  body.manitas-auth .mx-logout-hero{
    background-attachment: fixed;
  }
}


/* ============================================================
   03) Contenedor central y tarjeta
   ============================================================ */

body.manitas-auth .mx-layer{
  width: 100%;
  padding: 24px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
}

body.manitas-auth .mx-card{
  width: 100%;
  max-width: 740px;
  background: linear-gradient(180deg, rgba(15,23,42,.9), rgba(2,6,23,.85));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px;
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  padding: 28px;
  text-align: center;
}


/* ============================================================
   04) Tipografía / textos
   ============================================================ */

body.manitas-auth .mx-kicker{
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mx-muted);
  margin-bottom: 6px;
}

body.manitas-auth .mx-title{
  font-size: clamp(26px, 3.6vw, 40px);
  margin: 0 0 8px;
  font-weight: 800;
}

body.manitas-auth .mx-title span{
  background: linear-gradient(135deg, var(--mx-pri), var(--mx-sec));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.manitas-auth .mx-sub{
  color: var(--mx-muted);
  margin: 0 0 18px;
  font-size: 15px;
}


/* ============================================================
   05) Botones / acciones
   ============================================================ */

body.manitas-auth .mx-actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}

body.manitas-auth .mx-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration:none;
  border: 0;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

/* Botón primario */
body.manitas-auth .mx-btn.primary{
  background: linear-gradient(135deg, var(--mx-pri), var(--mx-sec));
  color: #031018;
}
body.manitas-auth .mx-btn.primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(0, 255, 160, .45);
}

/* Botón secundario */
body.manitas-auth .mx-btn.ghost{
  background: rgba(255,255,255,.08);
  border: 2px solid var(--mx-sec);
  color: #9bdde5;
}
body.manitas-auth .mx-btn.ghost:hover{
  background: var(--mx-sec);
  color: #031018;
  box-shadow: 0 0 12px rgba(0, 161, 176, .45);
}

body.manitas-auth .mx-mini{
  margin-top: 12px;
  color: var(--mx-muted);
  font-size: 12px;
}

/* Responsive */
@media (max-width: 560px){
  body.manitas-auth .mx-actions{ grid-template-columns: 1fr; }
  body.manitas-auth .mx-layer{ padding: 16px; }
  body.manitas-auth .mx-card{ padding: 20px; }
}