/* src/estilos.css */
:root {
  --ink: #1b2430;
  --muted: #8b95a3;
  --paper: #f5f6f8;
  --card: #ffffff;
  --line: #e6eaf0;
  --green: #1d6848;
  --green-dark: #123828;
  --danger-bg: #fdecec;
  --danger: #c81e1e;
  --shadow: 0 10px 30px rgba(27, 36, 48, 0.06);
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Poppins",
    "Helvetica Neue",
    Arial,
    sans-serif;
}
* {
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
*::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
html,
body {
  margin: 0;
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
}
button,
input {
  font: inherit;
}
.login {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: max(4.2rem, calc(env(safe-area-inset-top) + 3.4rem)) max(0.85rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) max(0.85rem, env(safe-area-inset-left));
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(
      1100px 620px at 50% -8%,
      rgba(229, 9, 20, 0.5),
      transparent 58%),
    radial-gradient(
      820px 520px at 110% 110%,
      rgba(120, 0, 10, 0.55),
      transparent 52%),
    linear-gradient(
      165deg,
      #050506 0%,
      #120005 42%,
      #2a0008 74%,
      #6e000e 100%);
  color: #fff;
}
.login-fondo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 18% 86%,
      rgba(229, 9, 20, 0.22),
      transparent 48%),
    radial-gradient(
      ellipse at 88% 12%,
      rgba(80, 0, 8, 0.4),
      transparent 46%);
}
@keyframes apareceTarjeta {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.login-logo {
  width: clamp(92px, 34vw, 168px);
  height: auto;
  margin: 0 auto 0.85rem;
}
.login h1 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: clamp(0.82rem, 2.6vw, 0.95rem);
  font-weight: 650;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}
.login-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  display: grid;
  gap: clamp(0.75rem, 2.4vw, 1rem);
  margin: 0;
  padding: clamp(1.25rem, 4.5vw, 2.2rem) clamp(1rem, 4vw, 1.7rem) clamp(1.05rem, 3.5vw, 1.6rem);
  border: 1px solid rgba(220, 0, 0, 0.45);
  border-radius: 1.15rem;
  background: rgba(12, 12, 14, 0.42);
  opacity: 0;
  pointer-events: none;
  box-shadow:
    0 0 0 1px rgba(229, 9, 20, 0.18),
    0 0 28px rgba(229, 9, 20, 0.28),
    0 18px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.login-separador {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}
.login-card.entrada {
  pointer-events: auto;
  animation: apareceTarjeta 3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.login-card label {
  display: grid;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.campo {
  position: relative;
  display: block;
}
.login-card .campo svg {
  position: absolute;
  top: 50%;
  left: 0.85rem;
  width: 1.05rem;
  height: 1.05rem;
  transform: translateY(-50%);
  fill: none;
  stroke: #8b93a0;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.login-card input {
  width: 100%;
  height: 2.75rem;
  padding: 0 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.35rem;
  color: #1c2430;
  background: #f4f6f8;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}
.login-card input:focus {
  outline: none;
  border-color: #e50914;
  background: #fff;
}
.ojo {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border: 0;
  border-radius: 0.35rem;
  color: #6d7582;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
}
.ojo svg {
  position: static;
  width: 1.15rem;
  height: 1.15rem;
  transform: none;
}
a.ingresar {
  display: grid;
  place-items: center;
  text-decoration: none;
}
.ingresar {
  height: 2.75rem;
  margin-top: 0.35rem;
  border: 0;
  border-radius: 0.35rem;
  color: #fff;
  background: #e50914;
  box-shadow: 0 4px 16px rgba(229, 9, 20, 0.4);
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}
.ingresar:hover {
  background: #c20710;
  transform: translateY(-1px);
}
.ingresar:disabled {
  cursor: wait;
  opacity: 0.75;
}
.login .alerta {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 0.4rem;
  color: var(--danger);
  background: var(--danger-bg);
  font-size: 0.88rem;
  letter-spacing: 0;
  text-transform: none;
}
.login .aviso {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 0.4rem;
  color: #166534;
  background: #dcfce7;
  font-size: 0.88rem;
  letter-spacing: 0;
  text-transform: none;
}
.login-nota {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
}
.login-olvido {
  justify-self: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}
.modulos {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f1f5f9 100%);
  color: #1e293b;
}
.modulos-fondo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(220, 38, 38, 0.08) 0%,
      transparent 60%),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f1f5f9 100%);
}
.modulos-contenido {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  padding: 0 0 3rem 0;
  display: flex;
  flex-direction: column;
}
.barra {
  width: 100%;
  margin: 0;
  padding: 0.9rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background:
    linear-gradient(
      90deg,
      #991b1b 0%,
      #dc2626 100%);
  border-bottom: 1px solid #7f1d1d;
  box-shadow: 0 4px 12px rgba(153, 27, 27, 0.15);
}
.barra-marca {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.barra-marca img {
  height: 2.1rem;
  width: auto;
  background: #ffffff;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}
.barra h1 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffffff;
}
.barra-acciones {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.usuario {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ffffff;
}
.salir {
  padding: 0.42rem 0.95rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.salir:hover {
  background: #ffffff;
  color: #b91c1c;
}
.modulos .rejilla {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(68rem, 92%);
  margin: auto;
  padding-top: 2rem;
  gap: 1.25rem;
}
a.tarjeta {
  color: inherit;
  text-decoration: none;
}
.tarjeta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 8.6rem;
  min-height: 8.6rem;
  padding: 1.1rem 0.85rem;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  color: #1e293b;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
  will-change: transform;
}
.tarjeta:hover {
  transform: translateY(-4px);
  background: #ffffff;
  border-color: #dc2626;
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.12);
}
.tarjeta h2 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 550;
  letter-spacing: 0.04em;
  color: #1e293b;
  transition: color 0.22s ease;
}
.tarjeta:hover h2 {
  color: #dc2626;
}
.tarjeta .icono-box {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dc2626;
  transition: all 0.22s ease;
}
.tarjeta:hover .icono-box {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}
.tarjeta svg {
  width: 1.5rem;
  height: 1.5rem;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}
.tarjeta:hover svg {
  transform: scale(1.08);
}
.codigo {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.descripcion {
  margin: 0.4rem 0 0;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.4;
}
.accion {
  display: block;
  margin-top: auto;
  padding: 0.62rem 0.7rem;
  border-radius: 0.35rem;
  background: #e50914;
  color: #fff;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.estado {
  margin: 0 auto;
  padding: 2rem 0;
  color: #475569;
  font-weight: 500;
}
.modulos .alerta {
  margin: 1rem auto;
  width: min(68rem, 92%);
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  color: var(--danger);
  background: var(--danger-bg);
}
@media (max-width: 1024px) {
  .modulos .rejilla {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .barra {
    align-items: stretch;
    flex-direction: column;
    gap: 0.75rem;
  }
  .barra-acciones {
    width: 100%;
    justify-content: space-between;
  }
}
@media (max-width: 640px) {
  .modulos .rejilla {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
}
@media (max-width: 520px) {
  .login-card label {
    letter-spacing: 0.06em;
  }
  .login h1 {
    letter-spacing: 0.08em;
  }
  .login-card input,
  .ingresar {
    font-size: 1.05rem;
  }
  .barra-marca img {
    height: 1.8rem;
  }
  .modulos .rejilla {
    grid-template-columns: minmax(0, 20.5rem);
  }
  .tarjeta {
    height: auto;
    min-height: 7.5rem;
  }
}
@media (max-height: 760px) {
  .login {
    justify-content: flex-start;
    padding-top: max(3.4rem, calc(env(safe-area-inset-top) + 2.8rem));
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  }
  .login-logo {
    width: min(112px, 28vh);
    margin-bottom: 0.4rem;
  }
  .login-card {
    gap: 0.7rem;
  }
}
@media (max-height: 500px) {
  .login {
    padding-top: max(2.8rem, calc(env(safe-area-inset-top) + 2.4rem));
  }
  .login-logo {
    width: min(72px, 18vh);
    margin-bottom: 0.25rem;
  }
  .login h1 {
    margin-bottom: 0.15rem;
  }
  .login-card {
    gap: 0.45rem;
    padding-block: 0.85rem;
  }
  .login-card input,
  .ingresar {
    height: 2.35rem;
  }
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
