/* Eternion Reset Override – full-viewport background + card styling */

:root {
  --ero-primary: #5aa7ff;
  --ero-primary-2: #3b7cff;
  --ero-bg-gradient: radial-gradient(1000px 700px at 50% -10%, rgba(30,50,80,.55), rgba(10,14,22,.9)),
                      linear-gradient(180deg, #0b111b 0%, #0b0f17 100%);
}

html, body { height: 100%; }

/* Wrapper to ensure full-height center */
.ero-reset-wrapper {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 48px) 16px;
}

/* Fixed full-screen background, independent of theme containers */
.ero-reset-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--ero-bg-gradient);
  /* Optional custom image override via inline CSS variable: */
  background-image: var(--ero-bg), none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(1.05);
}

/* Card */
.ero-card {
  width: min(680px, 92vw);
  background: rgba(18, 24, 36, .92);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  padding: clamp(24px, 4vw, 40px);
  color: #d7deea;
}

/* Logo circle or image */
.ero-logo {
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.ero-logo img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  border-radius: 100%;
  box-shadow: 0 8px 30px rgba(0,0,0,.5);
}
.ero-dot {
  display: inline-block;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #6fb1ff, #214bff 60%, #0e1a3d 100%);
  box-shadow: 0 8px 30px rgba(0,0,0,.5);
}

.ero-title {
  margin: 6px 0 14px;
  font-size: 22px;
  letter-spacing: .3px;
  color: #e9f0ff;
}

/* Alerts */
.ero-error, .ero-success {
  padding: 12px 14px;
  border-radius: 10px;
  margin: 10px 0 14px;
  font-size: 14px;
  line-height: 1.5;
}
.ero-error {
  background: rgba(255, 83, 83, .12);
  border: 1px solid rgba(255, 83, 83, .35);
  color: #ffd7d7;
}
.ero-success {
  background: rgba(80, 200, 120, .14);
  border: 1px solid rgba(80, 200, 120, .35);
  color: #d5ffe7;
}

/* Form */
.ero-form label {
  display: block;
  font-size: 13px;
  opacity: .9;
  margin: 12px 0 6px;
}
.ero-form input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(5,10,18,.7);
  color: #e9f0ff;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ero-form input[type="password"]:focus {
  border-color: rgba(90,167,255,.5);
  box-shadow: 0 0 0 3px rgba(90,167,255,.2);
}

.ero-btn {
  width: 100%;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 0;
  color: white;
  font-weight: 700;
  letter-spacing: .4px;
  cursor: pointer;
  background: linear-gradient(180deg, var(--ero-primary) 0%, var(--ero-primary-2) 100%);
  box-shadow: 0 10px 24px rgba(59,124,255,.35);
}

.ero-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
  font-size: 13px;
}
.ero-links a {
  color: #bcd7ff;
  text-decoration: none;
}
.ero-links a:hover { text-decoration: underline; }
