:root {
  --nm-font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --nm-font-size: 16px;
  --nm-line-height: 1.45;
  --color-primario: #f7c700;   /* Amarillo institucional */
  --color-secundario: #1e1e1e; /* Negro institucional */
  --color-borde: #dcdcdc;
  --color-acento: #0b4272;     /* Azul acento institucional */
}

body {
  margin: 0;
  padding: 24px 16px;
  min-height: 100vh;
  background: radial-gradient(circle at center, #f0eeee, #f0eeee);
  display: grid;
  place-items: center;
  font-family: var(--nm-font-family);
  font-size: var(--nm-font-size);
  line-height: var(--nm-line-height);
  overflow-x: hidden;
  position: relative;
}

.bg-symbol {
  position: absolute;
  top: -74px;
  right: -112px;
  width: 250px;
  height: 250px;
  opacity: 0.07;
  z-index: 0;
  pointer-events: none;
}

.bg-symbol svg {
  width: 100%;
  height: 100%;
  fill: var(--color-secundario);
}

.auth-shell {
  width: min(100%, 400px);
  position: relative;
  z-index: 1;
}

.login-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 40px 30px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.login-brand {
  font-size: 3rem;
  color: var(--color-primario);
  font-weight: 700;
  margin: 0 0 12px;
}

.login-container p {
  font-size: 1rem;
  color: var(--color-secundario);
  font-weight: 700;
  margin-bottom: 1rem;
}

.login-container input[type="email"],
.login-container input[type="password"] {
  width: 100%;
  padding: 12px;
  margin-bottom: .8rem;
  border-radius: 25px;
  border: 1px solid var(--color-borde);
  outline: none;
}

.login-container button {
  width: 100%;
  background-color: var(--color-primario);
  border: none;
  padding: 12px;
  border-radius: 25px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 1rem;
}

.login-container button:hover {
  background-color: #e6b800;
}

.login-container a {
  color: var(--color-acento);
  text-decoration: none;
  font-size: .9rem;
  font-weight: bold;
}

.login-container a:hover {
  text-decoration: underline;
}

.auth-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px auto 0;
  max-width: 330px;
  color: #26445f;
  font-size: .82rem;
  line-height: 1.25;
  text-align: left;
}

.auth-trust__icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: var(--color-acento);
}

.auth-trust strong {
  color: #12375a;
  font-weight: 800;
}

@media (max-width: 576px) {
  body {
    padding: 18px 14px;
  }

  .bg-symbol {
    top: -58px;
    right: -116px;
    width: 250px;
    height: 250px;
    opacity: 0.07;
  }

  .login-container {
    border-radius: 16px;
    padding: 32px 22px;
  }

  .login-brand {
    font-size: 2.5rem;
  }

  .auth-trust {
    max-width: 285px;
    font-size: .78rem;
  }
}

@media (min-width: 577px) and (max-width: 1024px) {
  .bg-symbol {
    top: -68px;
    right: -118px;
    width: 250px;
    height: 250px;
    opacity: 0.07;
  }

  .auth-shell {
    width: min(100%, 420px);
  }

  .auth-trust {
    max-width: 340px;
  }
}
