:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0c1017;
  color: #f7f8fb;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top left, rgba(74, 106, 255, 0.18), transparent 35%),
    radial-gradient(circle at bottom right, rgba(226, 75, 74, 0.16), transparent 35%),
    #0c1017;
}

button, input { font: inherit; }

.shell {
  width: min(92vw, 500px);
  padding: 36px 0;
}

.hero { margin-bottom: 22px; }

.eyebrow {
  margin: 0 0 7px;
  color: #8fa7ff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.17em;
}

h1, h2 { margin: 0; }
h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); }
h2 { font-size: 2rem; }
.subtitle, .account-details { color: #a8afbd; line-height: 1.6; }

.panel {
  padding: 26px;
  border: 1px solid #252c39;
  border-radius: 20px;
  background: rgba(20, 25, 35, 0.92);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 22px;
  padding: 5px;
  border-radius: 12px;
  background: #0d1118;
}

.tab {
  padding: 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #9aa4b4;
  cursor: pointer;
}

.tab.active { background: #252d3c; color: white; }

.form { display: grid; gap: 16px; }
label { display: grid; gap: 7px; color: #cbd1dc; font-size: 0.9rem; }
.optional { color: #747e8f; font-size: 0.78rem; }

input {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #323b4b;
  border-radius: 10px;
  outline: none;
  background: #0b0f16;
  color: white;
}

input:focus { border-color: #718bff; box-shadow: 0 0 0 3px rgba(113, 139, 255, 0.15); }
button { cursor: pointer; }

.primary, .secondary, .danger {
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  font-weight: 750;
}

.primary { margin-top: 2px; background: #718bff; color: #0a1022; }
.secondary { width: 100%; margin-top: 12px; background: #293244; color: white; }
.danger { width: 100%; margin-top: 10px; background: #4a2328; color: #ffb8bd; }
.avatar {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: #1f633f;
  font-size: 1.5rem;
}

.message { min-height: 1.4em; margin: 15px 0 0; color: #ffb8bd; font-size: 0.9rem; }
.message.success { color: #8ce0ae; }
.loading { color: #a8afbd; text-align: center; }
.hidden { display: none; }
