:root {
  --bg: #efefef;
  --card: #ffffff;
  --text: #151515;
  --muted: #6c6c6c;
  --border: #d9d9d9;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  --radius: 14px;
  --red: #e10d1b;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.loginCard {
  width: min(520px, 92vw);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 46px 34px;
}

.logoBlock {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.logoMark {
  display: grid;
  grid-auto-flow: column;
  align-items: end;
  gap: 8px;
  line-height: 1;
}

.logoV {
  font-weight: 900;
  font-size: 72px;
  letter-spacing: -6px;
  color: #4b4b4b;
  transform: skewX(-10deg);
}

.logoO {
  width: 66px;
  height: 66px;
  border-radius: 999px;
  background: var(--red);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 46px;
  transform: translateY(6px);
}

.logoText {
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 20px;
}

.logoTextMain {
  color: #4b4b4b;
}

.logoTextAccent {
  color: var(--red);
  margin-left: 6px;
}

.title {
  text-align: center;
  font-size: 34px;
  font-weight: 650;
  margin: 18px 0 22px;
}

.form {
  display: grid;
  gap: 14px;
}

.field {
  width: 100%;
}

.input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 16px;
  outline: none;
  background: #fff;
}

.input::placeholder {
  color: #8a8a8a;
}

.input:focus {
  border-color: #bdbdbd;
}

.passwordField {
  position: relative;
}

.toggleButton {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0.75;
}

.toggleButton:hover {
  opacity: 1;
}

.eyeIcon {
  width: 18px;
  height: 18px;
  fill: #707070;
}

.forgotLink {
  font-size: 13px;
  color: #2a2a2a;
  text-decoration: none;
  width: fit-content;
  margin-top: -6px;
}

.forgotLink:hover {
  text-decoration: underline;
}

.submitButton {
  margin-top: 10px;
  height: 52px;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.submitButton:active {
  transform: translateY(1px);
}

.arrow {
  font-size: 18px;
}

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 420px) {
  .loginCard {
    padding: 32px 22px 26px;
  }

  .title {
    font-size: 28px;
  }

  .logoV {
    font-size: 64px;
  }

  .logoO {
    width: 58px;
    height: 58px;
    font-size: 40px;
  }
}


.page {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 56px 16px;
}

.content {
  width: min(880px, 94vw);
  text-align: center;
}

.logoBlock {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 34px;
}

.logoMark {
  display: grid;
  grid-auto-flow: column;
  align-items: end;
  gap: 8px;
  line-height: 1;
}

.logoV {
  font-weight: 900;
  font-size: 86px;
  letter-spacing: -6px;
  color: #4b4b4b;
  transform: skewX(-10deg);
}

.logoO {
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: var(--red);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 52px;
  transform: translateY(8px);
}

.logoText {
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 22px;
}

.logoTextMain {
  color: #4b4b4b;
}

.logoTextAccent {
  color: var(--red);
  margin-left: 6px;
}

.headline {
  font-size: 36px;
  font-weight: 500;
  margin: 0 0 26px;
}

.subhead {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 14px;
}

.steps {
  list-style-position: inside;
  margin: 0 auto 46px;
  padding: 0;
  width: min(860px, 92vw);
  display: grid;
  gap: 12px;
  color: #222;
  font-size: 13.5px;
  line-height: 1.6;
}

.downloadButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 340px;
  height: 52px;
  padding: 0 22px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.downloadButton:active {
  transform: translateY(1px);
}

.downloadIcon {
  font-size: 18px;
  transform: translateY(-1px);
}

@media (max-width: 520px) {
  .logoV {
    font-size: 72px;
  }

  .logoO {
    width: 66px;
    height: 66px;
    font-size: 44px;
  }

  .headline {
    font-size: 30px;
  }

  .downloadButton {
    min-width: 260px;
  }
}


.snackbar-wrapper {position: fixed; z-index: 99999; bottom: 16px; right: 16px; display: flex; flex-direction: column; gap: 12px;}
.snackbar-wrapper .snackbar {background: #008000; transition: all 0.5s; opacity: 0; transform: translateX(100%); color: #fff; padding: 10px 20px; border-radius: 8px; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between;}
.snackbar-wrapper .snackbar.active {opacity: 1; transform: translateX(0);}

/* Page scaffold */
.subhead {
  margin: 24px 0 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.userList {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 760px;
}

/* Each user row */
.userList li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 14px 16px;
  margin: 10px 0;

  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  color: #0f172a;

  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.userList li:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

/* Make long emails wrap nicely */
.userList li {
  overflow-wrap: anywhere;
}

/* Inline form/button alignment */
.inlineForm {
  margin: 0;
  display: flex;
  align-items: center;
}

/* Delete button */
.deleteButton {
  appearance: none;
  border: 1px solid #fecaca;
  background: #fee2e2;
  color: #991b1b;

  padding: 8px 12px;
  border-radius: 10px;

  font-size: 14px;
  font-weight: 700;
  line-height: 1;

  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, transform 120ms ease;
}

.deleteButton:hover {
  background: #fecaca;
  border-color: #fca5a5;
  transform: translateY(-1px);
}

.deleteButton:active {
  transform: translateY(0);
}

/* Keyboard focus */
.deleteButton:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.35);
  outline-offset: 2px;
}

/* Small screens */
@media (max-width: 520px) {
  .userList li {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .deleteButton {
    width: 100%;
    justify-content: center;
  }
}


.pageActions {
  max-width: 760px;
  margin-bottom: 16px;
}

.backButton {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 8px 12px;
  border-radius: 10px;

  text-decoration: none;
  font-size: 14px;
  font-weight: 600;

  color: #1e293b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;

  transition: background 140ms ease, border-color 140ms ease, transform 120ms ease;
}

.backButton:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.backButton:active {
  transform: translateY(0);
}

.backButton:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.35);
  outline-offset: 2px;
}

.userEmail {
  flex: 1;
}
