/* Estilos compartidos por las pantallas de acceso del panel
   (admin/index.html y admin/reset-password.html) — antes estaban
   duplicados en cada archivo; se centralizan aquí para no tener que
   editar dos copias cada vez que cambie algo. */

html { overflow-x: hidden; }
html, body { height: 100%; }
body {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fdf3f9 0%, #f4f6fd 45%, #eef7fc 75%, #fff8ea 100%);
  overflow-x: hidden;
  position: relative;
  padding: 20px;
}

.gate__blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; z-index: 0; }
.gate__blob--1 { width: 360px; height: 360px; background: var(--pink); top: -110px; left: -90px; }
.gate__blob--2 { width: 320px; height: 320px; background: var(--amber); bottom: -110px; right: -90px; }
.gate__blob--3 { width: 240px; height: 240px; background: var(--teal); top: 55%; left: -60px; opacity: .35; }

.gate__card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  padding: 46px 38px;
  max-width: 380px;
  width: 100%;
  text-align: center;
}
.gate__logo { width: min(220px, 100%); height: auto; margin: 0 auto 24px; }
.gate__title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.gate__text {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 26px;
}

.gate__field {
  text-align: left;
  margin-bottom: 14px;
}
.gate__field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.gate__field input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.gate__field input:focus {
  outline: none;
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px rgba(203, 0, 125, .15);
}

.gate__btn { width: 100%; justify-content: center; margin-top: 6px; }

.gate__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--ink-soft);
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.gate__link:hover { color: var(--magenta); }

.gate__status {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-soft);
  min-height: 18px;
}
.gate__status.is-error { color: var(--magenta-deep); font-weight: 600; }
.gate__status.is-ok { color: #1b8a5a; font-weight: 600; }

.gate__foot {
  margin-top: 26px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

[data-view] { display: none; }
[data-view].is-active { display: block; }
