:root{
  --bg: #1a1d24;
  --border: #3a3d42;
  --placeholder: #8a8d91;
  --text: #e4e6eb;
  --blue: #0075e2;
  --blue-light: #4db5ff;
  --input-bg: transparent;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  color: var(--text);
}

.page {
  max-width: 420px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 24px 32px;
  color: var(--text);
}

.lang {
  color: #b0b3b8;
  font-size: 15px;
  margin-top: 12px;
  margin-bottom: 40px;
}

.logo {
  width: 96px;
  height: 96px;
  margin-bottom: 56px;
  display: block;
}

form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field {
  width: 100%;
  padding: 16px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--input-bg);
  color: var(--text);
  font-size: 15px;
  outline: none;
}

.field::placeholder {
  color: var(--placeholder);
}

.field:focus {
  border-color: #6b6f76;
}

.login-btn {
  margin-top: 10px;
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 24px;
  background: var(--blue);
  color: #fff;
  font-size: 17px;
  font-weight: 400;
  cursor: pointer;
}

.login-btn:active {
  opacity: 0.85;
}

.forgot {
  margin-top: 28px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.spacer {
  flex: 1;
}

.create-account {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--blue-light);
  border-radius: 24px;
  background: transparent;
  color: var(--blue-light);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 60px;
}

.meta {
  text-align: center;
  margin-top: 28px;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.note {
  max-width: 420px;
  margin: 18px auto 0;
  padding: 0 24px;
  font-size: 12px;
  color: #6b6f76;
  text-align: center;
}

.message {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.35;
  display: none;
  text-align: center;
}

.message.show {
  display: block;
}

.message.success {
  color: #bcebc9;
}

.message.error {
  color: #ed4956;
  font-weight: 400;
}
