@font-face { font-family: "Santander Headline"; src: url("../assets/fonts/santander_headline_light.ttf") format("truetype"); font-weight: 300; }
@font-face { font-family: "Outfit"; src: url("../assets/fonts/outfit_regular.ttf") format("truetype"); font-weight: 400; }
@font-face { font-family: "Outfit"; src: url("../assets/fonts/outfit_semi_bold.ttf") format("truetype"); font-weight: 600; }

:root {
  --bg: #000;
  --pink: #f10045;
  --field: #1c1c1c;
  --muted: #9a9a9a;
  --disabled: #3a3a3a;
  --disabled-text: #8a8a8a;
  --focus: #2f7dff;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: #fff; }
body { font-family: "Outfit", sans-serif; }

.app {
  min-height: 100%;
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.appbar {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  height: 56px;
  padding: 8px 8px 0;
  padding-top: calc(8px + env(safe-area-inset-top));
}
.icon-btn {
  width: 44px; height: 44px; border: 0; background: none;
  display: grid; place-items: center; cursor: pointer;
}
.icon-btn img { width: 22px; filter: brightness(10); }
.logo { height: 18px; justify-self: center; }

.screen { display: none; flex: 1; flex-direction: column; }
.screen.on { display: flex; }

.hero {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 8px 24px 0;
}
.hero img { width: min(88%, 340px); }

.bottom { padding: 8px 24px 0; }
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px 24px 0;
}
.spacer { flex: 1; min-height: 24px; }

.hello {
  font-family: "Santander Headline", "Outfit", sans-serif;
  font-weight: 300;
  font-size: 36px;
  color: var(--pink);
  text-align: center;
  margin: 8px 0 28px;
}

.lbl {
  display: block;
  font-size: 14px;
  color: #d0d0d0;
  margin: 0 0 8px;
}

.box {
  background: var(--field);
  border-radius: 12px;
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  margin-bottom: 18px;
}
.box input, .box select {
  flex: 1;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: 16px/1.2 "Outfit", sans-serif;
}
.box select { appearance: none; cursor: pointer; }
.select-box { position: relative; }
.chev { color: #cfcfcf; pointer-events: none; }

.btn {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font: 600 16px "Outfit", sans-serif;
  cursor: pointer;
}
.btn:disabled {
  background: var(--disabled);
  color: var(--disabled-text);
  cursor: default;
}

.link {
  display: block;
  margin: 16px 0 8px;
  text-align: center;
  color: #fff;
  font-size: 15px;
}

.user {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: -12px 0 28px;
  color: #cfcfcf;
  font-size: 15px;
}
.user strong { font-weight: 600; color: #fff; }
.pencil {
  border: 0; background: none; color: #cfcfcf; cursor: pointer; font-size: 16px;
}

.pass-box { position: relative; padding-right: 48px; }
.pass-box.focus { outline: 2px solid var(--focus); }
.slots {
  position: absolute;
  left: 18px; right: 48px; top: 0; bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: end;
  padding-bottom: 14px;
  pointer-events: none;
}
.slots span {
  height: 2px;
  background: #6a6a6a;
  position: relative;
}
.slots span.filled::before {
  content: "";
  position: absolute;
  left: 50%; top: -14px;
  width: 8px; height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: #fff;
}
.slots span.show { color: #fff; height: auto; background: none; text-align: center; font-size: 18px; padding-bottom: 2px; }
#password {
  position: absolute;
  inset: 0 48px 0 0;
  opacity: 0.02;
  caret-color: transparent;
}
.eye {
  position: absolute; right: 8px; top: 0; bottom: 0;
  width: 40px; border: 0; background: none; cursor: pointer;
}

.forgot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 0;
  font-size: 14px;
}
.forgot a { color: #fff; }
.lock { font-size: 13px; }

.brand {
  padding: 10px 24px calc(18px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
}
.brand img { height: 16px; }
