* { box-sizing: border-box; font-family: "Segoe UI", system-ui, sans-serif; }
body { margin: 0; height: 100vh; overflow: hidden; }

/* ================= BACKGROUND ================= */
.background {
  position: fixed;
  inset: 0;
  background: url("bg.png") no-repeat center center;
  background-size: cover;
  z-index: -3;
}

.overlay {
  position: fixed;
  inset: 0;

  background:
    radial-gradient(900px 650px at 50% 35%, rgba(159,220,255,0.18), transparent 60%),
    radial-gradient(900px 650px at 55% 55%, rgba(180,220,255,0.12), transparent 60%),
    rgba(0,0,0,0.45);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  z-index: -2;
}

/* ================= CENTER CARD ================= */
.auth {
  position: relative;
  width: 100%;
  height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #fff;
}

.auth-card {
  width: min(420px, 92vw);
  border-radius: 18px;
  padding: 26px 22px 22px;
  background: rgba(10, 10, 14, 0.52);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 90px rgba(0,0,0,0.70);
  backdrop-filter: blur(10px);
}

.auth-head { text-align: center; margin-bottom: 18px; }
.auth-title {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1.5px;
}
.auth-sub {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255,255,255,0.70);
}

/* screens (keep for app.js) */
.screen { display: none; }
.screen.active { display: block; }

/* ================= INPUTS ================= */
.field {
  position: relative;
  margin-top: 14px;
}

.field input {
  width: 100%;
  height: 54px;
  padding: 0 54px 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
  font-size: 15px;
  outline: none;
}

.field input::placeholder { color: rgba(255,255,255,0.55); }

.field input:focus {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.13);
}

.field-ico {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  opacity: 0.75;
}

.field-ico svg {
  width: 100%;
  height: 100%;
  fill: rgba(255,255,255,0.78);
}

/* ================= LINKS / TEXT ================= */
.link {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
}

.link.subtle {
  display: inline-block;
  margin: 12px auto 0;
  color: rgba(255,255,255,0.50);
  text-decoration: none;
  width: 100%;
  text-align: center;
}

.link.subtle:hover { color: rgba(255,255,255,0.72); }

.link.accent {
  color: rgba(120,255,210,0.95);
  font-weight: 800;
}
.link.accent:hover { text-decoration: underline; }

.divider {
  margin: 18px 0 10px;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.foot {
  text-align: center;
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.60);
}

.foot .q {
  display: inline-block;
  margin-top: 2px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
}

/* ================= BUTTONS ================= */
.btn {
  width: 100%;
  height: 54px;
  margin-top: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
  font-weight: 900;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform .12s ease, filter .12s ease;
}

.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }

.btn.primary {
  margin-top: 16px;
  background: #9fdcff !important; /* BABY BLUE */
  border-color: rgba(0,0,0,0.15);
  color: #0b2a3a;
  text-transform: uppercase;
}ext-transform: uppercase;


.btn.primary .chev {
  font-size: 18px;
  margin-left: 6px;
}

.btn.ghost {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.88);
}

/* register helper (keep from your project) */
.linkOut {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.08);
  text-align: center;
}
.linkTitle {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 800;
  color: rgba(255,255,255,0.70);
  margin-bottom: 6px;
}
.linkCodeValue {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 3px;
  color: #fff;
}

/* restrict & errors (keep compatible) */
.hint { font-size: 13px; color: rgba(255,255,255,0.72); line-height: 1.35; text-align: center; }
.hint.warn { color: rgba(252,165,165,0.92); }

.restrictBox {
  margin-top: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(252,165,165,0.35);
  border-radius: 12px;
  padding: 12px 14px;
}
pre { margin: 0; white-space: pre-wrap; font-size: 13px; color: rgba(252,165,165,0.95); }

.err {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(248,113,113,0.95);
  text-align: center;
}

/* overlay glow mai rece */
.overlay {
  background:
    radial-gradient(900px 650px at 50% 35%, rgba(159,220,255,0.18), transparent 60%),
    radial-gradient(900px 650px at 55% 55%, rgba(180,220,255,0.12), transparent 60%),
    linear-gradient(to bottom, rgba(0,0,0,0.65), rgba(0,0,0,0.65));
}

/* buton principal */
.btn.primary {
  background: #9fdcff; /* baby blue */
  border-color: rgba(0,0,0,0.15);
  color: #0b2a3a;
  text-transform: uppercase;
}

/* hover baby blue */
.btn.primary:hover {
  filter: brightness(1.08);
}

/* link accent */
.link.accent {
  color: #cfefff;
}
.link.accent:hover {
  color: #ffffff;
}

/* focus input */
.field input:focus {
  border-color: rgba(159,220,255,0.6);
  background: rgba(159,220,255,0.12);
}

/* icon input */
.field-ico svg {
  fill: rgba(200,235,255,0.9);
}

/* titlu */
.auth-title {
  color: #eaf7ff;
}

/* text secundar */
.auth-sub,
.foot,
.hint {
  color: rgba(220,240,255,0.75);
}

/* box cod 2FA */
.linkOut {
  border: 1px solid rgba(159,220,255,0.35);
  background: rgba(159,220,255,0.12);
}

.linkCodeValue {
  color: #eaf7ff;
}

/* restrict / warn mai rece */
.restrictBox {
  border: 1px solid rgba(159,220,255,0.45);
}

pre {
  color: #cfefff;
}



.remember {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.remember-box {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: rgba(220,240,255,0.75);
  transition: color .15s ease;
}

.remember-box input {
  display: none;
}

/* checkbox */
.check {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid rgba(159,220,255,0.55);
  background: rgba(159,220,255,0.08);
  position: relative;
  transition: all .15s ease;
}

/* CÂND E BIFAT */
.remember-box input:checked + .check {
  background: #9fdcff;
  border-color: #9fdcff;
  box-shadow: 0 0 10px rgba(159,220,255,0.6);
}

/* bifă */
.remember-box input:checked + .check::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-size: 14px;
  font-weight: 900;
  color: #0b2a3a;
}

/* text baby blue când e bifat */
.remember-box input:checked ~ .text {
  color: #9fdcff;
}

/* hover */
.remember-box:hover .check {
  filter: brightness(1.1);
}

.resetCodeValue {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 3px;
  color: #fff;
}