:root {
  --bg: #0b0b0b;
  --surface: #141414;
  --surface-2: #1c1c1c;
  --text: #f5f5f5;
  --muted: #b3b3b3;
  --line: #2a2a2a;
  --accent: #ffd54a;
  --accent-2: #ffc107;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: #0b0b0b;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at 10% 0%, #2f2500 0%, var(--bg) 45%);
}

.auth-box {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  padding: 28px;
}

.brand {
  color: var(--accent);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
}

.sub-brand {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.title {
  margin-top: 18px;
  font-size: 24px;
}

.desc {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.form {
  margin-top: 20px;
}

.field {
  margin-bottom: 12px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--muted);
}

.field input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  background: #0f0f0f;
  color: var(--text);
  padding: 0 12px;
  outline: none;
}

.field input:focus {
  border-color: var(--accent-2);
}

.btn {
  width: 100%;
  margin-top: 4px;
  height: 42px;
  border: none;
  cursor: pointer;
  background: var(--accent-2);
  color: #1c1c1c;
  font-weight: 700;
  text-transform: uppercase;
}

.links {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
}

.links a:hover {
  text-decoration: underline;
}


.password-field {
  position: relative;
  display: flex;
  align-items: center;
}

.password-field input {
  width: 100%;
  padding-right: 44px;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.toggle-password:hover {
  color: var(--accent);
}

.toggle-password:focus {
  outline: none;
}

.toggle-password i {
  font-size: 15px;
  pointer-events: none;
}
@media (max-width: 480px) {
  .auth-box {
    padding: 22px;
  }

  .title {
    font-size: 22px;
  }
}

.form-message {
  margin-top: 12px;
  font-size: 14px;
  text-align: center;
}