/* Aurora Gestion · acceso ejecutivo v2 · 2026-08-18 */
html[data-aurora-surface="gestion-erp"] .auth-shell{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:64px 24px 78px;
  overflow:hidden;
  background:
    radial-gradient(circle at 14% 18%,rgba(3,210,111,.19),transparent 28%),
    radial-gradient(circle at 84% 78%,rgba(206,244,49,.12),transparent 31%),
    linear-gradient(138deg,#101817 0%,#102c2c 46%,#014651 100%);
}
html[data-aurora-surface="gestion-erp"] .auth-shell::before{
  content:"";
  position:absolute;
  width:min(68vw,900px);
  aspect-ratio:1;
  border-radius:50%;
  right:-34vw;
  top:-42vw;
  border:1px solid rgba(206,244,49,.13);
  box-shadow:0 0 0 72px rgba(3,210,111,.022),0 0 0 150px rgba(255,255,255,.012);
  pointer-events:none;
}
html[data-aurora-surface="gestion-erp"] .auth-shell::after{
  content:"© 2026 Emedia Group S.A.S. All Rights Reserved. Powered by Mariano Fiori";
  position:absolute;
  left:24px;
  right:24px;
  bottom:22px;
  text-align:center;
  color:rgba(229,244,239,.61);
  font-size:.67rem;
  font-weight:750;
  letter-spacing:.15em;
}
html[data-aurora-surface="gestion-erp"] .auth-card{
  position:relative;
  z-index:1;
  width:min(620px,100%);
  padding:48px 52px 46px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:34px;
  background:linear-gradient(155deg,rgba(255,255,255,.985),rgba(245,250,248,.965));
  box-shadow:0 34px 100px rgba(0,18,21,.38),inset 0 1px 0 rgba(255,255,255,.92);
  backdrop-filter:blur(20px);
}
html[data-aurora-surface="gestion-erp"] .auth-card::before{
  content:"";
  position:absolute;
  top:0;
  left:44px;
  right:44px;
  height:3px;
  border-radius:0 0 999px 999px;
  background:linear-gradient(90deg,transparent,var(--ag-malachite),var(--ag-starship),transparent);
}
html[data-aurora-surface="gestion-erp"] .auth-card .brand-lockup{
  gap:16px;
  margin-bottom:28px;
}
html[data-aurora-surface="gestion-erp"] .auth-card .brand-lockup img{
  width:62px;
  height:62px;
  border-radius:19px;
  box-shadow:0 12px 28px rgba(1,70,81,.18);
}
html[data-aurora-surface="gestion-erp"] .auth-card .brand-lockup strong{
  color:var(--ag-cyprus);
  font-size:1.18rem;
  letter-spacing:.13em;
}
html[data-aurora-surface="gestion-erp"] .auth-card .brand-lockup span{
  display:block;
  margin-top:5px;
  color:#68817c;
  font-size:.77rem;
  letter-spacing:.06em;
}
html[data-aurora-surface="gestion-erp"] .auth-card .status-pill{
  padding:0;
  margin:0 0 10px;
  background:transparent;
  color:#53716b;
  border:0;
  border-radius:0;
  font-size:.69rem;
  letter-spacing:.12em;
  text-transform:uppercase;
}
html[data-aurora-surface="gestion-erp"] .auth-card .status-pill i{
  width:7px;
  height:7px;
  background:var(--ag-malachite);
  box-shadow:0 0 0 5px rgba(3,210,111,.10);
}
html[data-aurora-surface="gestion-erp"] .auth-card h1{
  margin:12px 0 10px;
  color:var(--ag-cyprus);
  font-size:clamp(1.9rem,4vw,2.55rem);
  line-height:1.04;
  letter-spacing:-.035em;
}
html[data-aurora-surface="gestion-erp"] .auth-card>p{
  margin:0 0 28px;
  max-width:480px;
  color:#61746f;
  font-size:.95rem;
  line-height:1.7;
}
html[data-aurora-surface="gestion-erp"] #gestionLoginForm,
html[data-aurora-surface="gestion-erp"] #gestionChangePasswordForm{
  display:grid;
  gap:16px;
}
html[data-aurora-surface="gestion-erp"] #gestionLoginForm>label,
html[data-aurora-surface="gestion-erp"] #gestionChangePasswordForm>label{
  display:grid;
  gap:8px;
  color:#234b47;
  font-size:.73rem;
  font-weight:850;
  letter-spacing:.055em;
  text-transform:uppercase;
}
html[data-aurora-surface="gestion-erp"] #gestionLoginForm input,
html[data-aurora-surface="gestion-erp"] #gestionChangePasswordForm input{
  width:100%;
  min-height:60px;
  padding:0 19px;
  border:1px solid #d7e5e2;
  border-radius:18px;
  outline:none;
  color:#122523;
  background:linear-gradient(180deg,#f7faf9,#f0f6f4);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 5px 14px rgba(1,70,81,.035);
  font-size:1rem;
  font-weight:600;
  letter-spacing:0;
  text-transform:none;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease,transform .18s ease;
}
html[data-aurora-surface="gestion-erp"] #gestionLoginForm input:hover,
html[data-aurora-surface="gestion-erp"] #gestionChangePasswordForm input:hover{
  border-color:#b8d2cd;
  background:#fff;
}
html[data-aurora-surface="gestion-erp"] #gestionLoginForm input:focus,
html[data-aurora-surface="gestion-erp"] #gestionChangePasswordForm input:focus{
  border-color:var(--ag-malachite);
  background:#fff;
  box-shadow:0 0 0 4px rgba(3,210,111,.12),0 12px 24px rgba(1,70,81,.08);
  transform:translateY(-1px);
}
html[data-aurora-surface="gestion-erp"] #gestionLoginForm input::placeholder,
html[data-aurora-surface="gestion-erp"] #gestionChangePasswordForm input::placeholder{
  color:#9aaca8;
}
html[data-aurora-surface="gestion-erp"] #gestionLoginForm .btn-primary,
html[data-aurora-surface="gestion-erp"] #gestionChangePasswordForm .btn-primary{
  width:100%;
  min-height:60px;
  margin-top:5px;
  border:1px solid rgba(1,70,81,.12);
  border-radius:18px;
  background:linear-gradient(105deg,var(--ag-malachite) 0%,#62df68 58%,var(--ag-starship) 100%);
  color:#10211f;
  box-shadow:0 14px 32px rgba(3,210,111,.22);
  font-size:.92rem;
  font-weight:900;
  letter-spacing:.045em;
}
html[data-aurora-surface="gestion-erp"] #gestionLoginForm .btn-primary:hover,
html[data-aurora-surface="gestion-erp"] #gestionChangePasswordForm .btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 38px rgba(3,210,111,.28);
}
html[data-aurora-surface="gestion-erp"] .auth-card .alert{
  margin:0 0 18px;
  border-radius:16px;
  box-shadow:none;
}

/* Pie legal permanente dentro del ERP */
html[data-aurora-surface="gestion-erp"] .app-shell::after{
  content:"© 2026 Emedia Group S.A.S. All Rights Reserved. Powered by Mariano Fiori";
  position:fixed;
  z-index:32;
  left:var(--sidebar);
  right:0;
  bottom:0;
  min-height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:5px 18px;
  border-top:1px solid rgba(1,70,81,.10);
  background:rgba(244,249,248,.92);
  backdrop-filter:blur(12px);
  color:#6d827e;
  font-size:.61rem;
  font-weight:760;
  letter-spacing:.13em;
  pointer-events:none;
}
html[data-aurora-surface="gestion-erp"] .main{
  padding-bottom:76px;
}
html[data-aurora-surface="gestion-erp"] .sidebar-footer{
  line-height:1.55;
}

@media (max-width:760px){
  html[data-aurora-surface="gestion-erp"] .auth-shell{
    align-items:flex-start;
    padding:34px 16px 76px;
  }
  html[data-aurora-surface="gestion-erp"] .auth-card{
    padding:34px 24px 32px;
    border-radius:27px;
  }
  html[data-aurora-surface="gestion-erp"] .auth-card .brand-lockup{
    margin-bottom:22px;
  }
  html[data-aurora-surface="gestion-erp"] .auth-card .brand-lockup img{
    width:54px;
    height:54px;
  }
  html[data-aurora-surface="gestion-erp"] .auth-shell::after{
    left:12px;
    right:12px;
    bottom:15px;
    font-size:.55rem;
    letter-spacing:.09em;
  }
  html[data-aurora-surface="gestion-erp"] .app-shell::after{
    left:0;
    font-size:.52rem;
    letter-spacing:.07em;
    text-align:center;
  }
}
