:root {
  color-scheme: dark;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, #11345b 0, transparent 40%),
    radial-gradient(circle at bottom right, #123c36 0, transparent 35%),
    #07111f;
  color: #f4f7fb;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: min(100%, 470px);
  padding: 32px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 26px;
  background: rgba(12, 25, 43, .88);
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 28px;
}

.logo {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(135deg, #17d69d, #1688ff);
  font-size: 28px;
  font-weight: 800;
}

h1, h2, p {
  margin-top: 0;
}

.brand p {
  color: #94a4ba;
  margin-bottom: 0;
}

form {
  display: grid;
  gap: 17px;
}

label {
  display: grid;
  gap: 8px;
  color: #c8d3e2;
  font-size: 14px;
}

input {
  width: 100%;
  border: 1px solid #30435d;
  border-radius: 14px;
  padding: 14px 15px;
  background: #0a1728;
  color: white;
  font-size: 16px;
  outline: none;
}

input:focus {
  border-color: #18ca9b;
  box-shadow: 0 0 0 3px rgba(24,202,155,.15);
}

button,
.button-link {
  border: 0;
  border-radius: 14px;
  padding: 15px;
  background: linear-gradient(135deg, #18ca9b, #1688ff);
  color: white;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

button:disabled {
  opacity: .55;
  cursor: wait;
}

.message {
  min-height: 22px;
  color: #ff9f9f;
  margin: 0;
}

.success {
  display: grid;
  gap: 14px;
}

.success code {
  padding: 14px;
  border-radius: 12px;
  background: #081322;
  word-break: break-all;
}

.note {
  margin: 24px 0 0;
  color: #7f91a8;
  font-size: 13px;
  line-height: 1.5;
}

.hidden {
  display: none;
}
