:root {
  color-scheme: dark;
  --page: #292b39;
  --panel: #232531;
  --panel-soft: #2d3040;
  --line: #44485e;
  --text: #f4f5fb;
  --muted: #9da3b8;
  --accent: #7ce5ee;
  --green: #6fe7a8;
  --red: #ff8790;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(124, 229, 238, 0.07), transparent 28rem),
    #20222d;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-shell {
  width: min(940px, calc(100% - 32px));
  min-height: 590px;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.auth-card {
  display: flex;
  flex-direction: column;
  padding: 42px 52px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #20222d;
  background: var(--accent);
  border-radius: 8px;
  font-weight: 900;
}

.brand > div {
  display: grid;
  line-height: 1.2;
}

.brand strong {
  font-size: 14px;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.auth-copy {
  margin-top: 58px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 40px);
  letter-spacing: -0.045em;
}

.auth-copy > p:last-child {
  max-width: 390px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

form {
  display: grid;
  margin-top: 31px;
}

label {
  margin-bottom: 8px;
  color: #c4c8d5;
  font-size: 11px;
  font-weight: 700;
}

input {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  color: var(--text);
  background: #1d1f29;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 229, 238, 0.1);
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 46px;
}

.password-field button {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
}

.password-field button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.password-field svg {
  width: 18px;
}

#confirm-wrap {
  display: grid;
  margin-top: 17px;
}

#confirm-wrap[hidden] {
  display: none;
}

.form-note,
.form-error {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.form-error {
  color: var(--red);
}

.submit-button {
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 0 15px;
  color: #20222d;
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.submit-button:hover {
  background: #93ebf1;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.submit-button svg {
  width: 17px;
}

.security-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 28px;
  color: var(--muted);
}

.security-note > svg {
  width: 18px;
  color: var(--green);
}

.security-note > span {
  display: grid;
  line-height: 1.25;
}

.security-note strong {
  color: #c9cdd8;
  font-size: 10px;
}

.security-note small {
  margin-top: 3px;
  font-size: 9px;
}

.auth-art {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #35384a;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.art-grid {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 29px 29px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.art-content {
  position: relative;
  z-index: 1;
  width: 76%;
}

.terminal-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: rgba(29, 31, 41, 0.72);
  border: 1px solid rgba(124, 229, 238, 0.22);
  border-radius: 13px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 18px;
  font-weight: 800;
}

.art-content > p {
  margin: 32px 0 9px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.art-content > strong {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.art-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 35px;
  color: #bec2d0;
  font-size: 10px;
}

.art-status i {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(111, 231, 168, 0.1);
}

@media (max-width: 760px) {
  body {
    align-items: start;
    padding: 16px 0;
  }

  .auth-shell {
    min-height: calc(100vh - 32px);
    grid-template-columns: 1fr;
  }

  .auth-card {
    padding: 32px clamp(22px, 8vw, 46px);
  }

  .auth-copy {
    margin-top: 48px;
  }

  .auth-art {
    display: none;
  }
}

/* Tyler's Tools V12 — true black login theme */
:root {
  --page: #000000;
  --panel: #050505;
  --panel-soft: #0d0d0d;
  --line: #292929;
  --text: #f7f7f7;
  --muted: #9d9d9d;
}

html,
body {
  background: #000000;
}

body {
  background-image: none;
}

.auth-shell {
  background: #050505;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.72);
}

.auth-card {
  background: #050505;
}

input {
  background: #0a0a0a;
  border-color: #292929;
}

.auth-art {
  background: #080808;
  border-left-color: rgba(255, 255, 255, 0.1);
}

.terminal-mark {
  background: #030303;
}
