/* Recovery pages (forgot / reset password) — customer-facing, dark to match
   the app shell. Self-contained so the auth pages stay tiny and consistent. */

:root {
  --rc-accent: #53eafd;
  --rc-accent-2: #b9a6ff;
  --rc-fg: #f4f6f8;
  --rc-muted: #9aa4ab;
  --rc-line: rgba(236, 235, 231, .13);
}

html, body { min-height: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(83, 234, 253, .1), transparent 62%),
    radial-gradient(700px 460px at 88% 8%, rgba(185, 166, 255, .08), transparent 65%),
    #000101;
  color: var(--rc-fg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.rc-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 40px 18px;
}

.rc-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rc-fg);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -.015em;
}
.rc-brand img { border-radius: 9px; }

.rc-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 404px;
  padding: 30px 28px 26px;
  border-radius: 20px;
  border: 1px solid var(--rc-line);
  background:
    linear-gradient(90deg, transparent, rgba(143, 216, 232, .55), rgba(185, 166, 255, .35), transparent) top / 100% 1px no-repeat,
    linear-gradient(160deg, rgba(17, 20, 25, .97), rgba(6, 7, 10, .99));
  box-shadow: 0 34px 90px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .045);
}

.rc-card h1 {
  margin: 0 0 8px;
  font-size: 23px;
  font-weight: 680;
  letter-spacing: -.02em;
}

.rc-sub {
  margin: 0 0 22px;
  color: var(--rc-muted);
  font-size: 14px;
  line-height: 1.55;
}

.rc-card label {
  display: block;
  margin: 0 0 7px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #93a1a8;
}
.rc-card label + input,
.rc-card label + .rc-field { margin-bottom: 16px; }

.rc-card input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid var(--rc-line);
  background: linear-gradient(180deg, rgba(24, 26, 31, .9), rgba(8, 9, 11, .9));
  color: var(--rc-fg);
  font: inherit;
  font-size: 14.5px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.rc-card input::placeholder { color: #6f6b61; }
.rc-card input:focus {
  outline: none;
  border-color: rgba(83, 234, 253, .55);
  box-shadow: 0 0 0 3px rgba(83, 234, 253, .12);
}

.rc-field { position: relative; }
.rc-field input { padding-right: 62px; }
.rc-eye {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 9px;
  border: 0;
  border-radius: 8px;
  background: rgba(236, 235, 231, .05);
  color: #c3cdd2;
  font: inherit;
  font-size: 11.5px;
  cursor: pointer;
}
.rc-eye:hover { background: rgba(236, 235, 231, .1); color: #fff; }

.rc-btn {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 20px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #53eafd, #8fd8e8 45%, #b9a6ff);
  color: #04161c;
  font: inherit;
  font-weight: 700;
  font-size: 14.5px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 26px -12px rgba(83, 234, 253, .75), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .2s ease, filter .2s ease;
}
.rc-btn:hover:not(:disabled) { filter: brightness(1.07); transform: translateY(-1px); }
.rc-btn:active:not(:disabled) { transform: translateY(0) scale(.99); }
.rc-btn:disabled { opacity: .55; cursor: not-allowed; }
.rc-btn:focus-visible { outline: 2px solid var(--rc-accent); outline-offset: 3px; }
.rc-btn-link { margin-top: 4px; }

.rc-msg {
  margin: 0 0 14px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
  border: 1px solid transparent;
}
.rc-err { background: rgba(127, 29, 29, .28); color: #fecaca; border-color: rgba(248, 113, 113, .25); }

.rc-foot {
  margin: 18px 0 0;
  font-size: 13px;
  text-align: center;
}
.rc-foot a { color: #b9c7cf; text-decoration: none; }
.rc-foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.rc-hint { margin: 0 0 4px; font-size: 12.5px; color: #8b959b; line-height: 1.5; }
.rc-hint a { color: #cfeff7; }

.rc-done { text-align: center; }
.rc-done .rc-sub { margin-bottom: 18px; }
.rc-tick {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 700;
  color: #04211a;
  background: linear-gradient(135deg, #6dffcf, #53eafd);
  box-shadow: 0 10px 28px -12px rgba(109, 255, 207, .8);
}
.rc-tick-bad { color: #2a0b0b; background: linear-gradient(135deg, #fca5a5, #f87171); }

@media (prefers-reduced-motion: reduce) {
  .rc-btn { transition: none; }
}
