/**
 * SECTOR: 02 - Autenticación, Registro Categorizado y 2FA
 * URL PLATAFORMA: /assets/css/auth.css
 * DESCRIPCIÓN: Layout de la vista de autenticación (paleta STAFF Nexo 360).
 *              Componentes de formulario en auth_components.css.
 *              Variables de color: /assets/css/nexo-variables.css.
 */

body.auth-mesh {
  min-height: 100vh;
  background: transparent !important;
  background-color: transparent !important;
  display: flex;
  flex-direction: column;
  position: relative;
}

.auth-topbar {
  position: sticky; top: 0; z-index: 50; height: 64px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 40px; backdrop-filter: blur(20px);
  background: var(--login-panel); border-bottom: 1px solid var(--border-color);
}
.auth-brand { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px; color: var(--cyan); text-decoration: none; }
.auth-topbar-actions { display: flex; gap: 14px; align-items: center; }
.auth-icon-btn {
  background: none; border: none; cursor: pointer; color: var(--login-text-secondary);
  font: 600 13px 'Space Grotesk', sans-serif; text-decoration: none; padding: 6px; border-radius: 8px;
}
.auth-icon-btn:hover, .auth-icon-btn[data-active] { color: var(--cyan); }
.auth-icon-btn[data-active] { border-bottom: 2px solid var(--cyan); border-radius: 0; }

.auth-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 20px; position: relative; }

.auth-card { width: 100%; max-width: 900px; padding: 32px; position: relative; z-index: 1; }
.auth-head { text-align: center; margin-bottom: 36px; }
.auth-head h1 { font-size: 40px; font-weight: 700; color: var(--text-primary); margin: 0 0 8px; }
.auth-head p { color: var(--login-text-secondary); font-size: 17px; margin: 0; }

.auth-profiles h2 { font: 600 12px 'Space Grotesk', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); text-align: center; margin: 0 0 16px; }
.auth-profiles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 36px; }
.auth-type-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px;
  background: var(--login-panel); border: 2px solid var(--border-color); border-radius: 12px;
  color: var(--text-primary); cursor: pointer; transition: all .25s; font-family: 'Space Grotesk', sans-serif;
}
.auth-type-card .material-symbols-outlined { font-size: 34px; color: var(--cyan); }
.auth-type-card small { color: var(--login-text-secondary); text-align: center; }
.auth-type-card.active { border-color: var(--cyan); box-shadow: 0 0 15px var(--nexo-primary-glow); }

.auth-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.auth-footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 24px 40px; border-top: 1px solid var(--border-color); color: var(--login-text-secondary); font-size: 13px; flex-wrap: wrap; }
.auth-footer-brand { font-weight: 700; color: var(--cyan); }
.auth-footer nav { display: flex; gap: 26px; }
.auth-footer a { color: var(--login-text-secondary); text-decoration: none; }
.auth-footer a:hover { color: var(--purple); }

@media (max-width: 860px) {
  .auth-cols, .auth-profiles-grid { grid-template-columns: 1fr; }
  .auth-blindaje { border-left: none; padding-left: 0; }
  .auth-topbar, .auth-footer { padding-left: 20px; padding-right: 20px; }
  .auth-head h1 { font-size: 28px; }
}
