:root {
  --bg: #0f172a;
  --card-bg: #0b1224;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --primary: #22d3ee;
  --primary-700: #0891b2;
  --border: #1f2a44;
  --shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

body {
  background-color: white;
}

.auth {
  padding: 40px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.auth__card {
  width: 100%;
  max-width: 420px;
  background-color: white;
  color: black;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 32px;
  backdrop-filter: blur(12px);

  @media (max-width: 1024px) {
    max-width: 75vw;
  }
}

.auth__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.auth__logo img {
  height: 14rem;
  object-fit: cover;
  object-position: center;
  width: 80%;
}

.auth__title {
  text-align: left;
  margin: 8px 0 24px;
  font-weight: 700;
}

.auth__message {
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.6;
}

.auth__message p {
  margin: 0 0 12px 0;
}

.auth__message p:last-child {
  margin-bottom: 0;
}

.auth__message a {
  color: var(--primary-dark);
  text-decoration: none;
}

.auth__message a:hover {
  text-decoration: underline;
}

.auth__form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.auth__form .field label {
  color: var(--muted);
  font-size: 14px;
}

.auth__form input[type="text"],
.auth__form input[type="email"],
.auth__form input[type="password"] {
  background-color: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: black;
  outline: none;
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
  width: 100%;
  padding-right: 60px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  outline: none;
  transition: color 0.2s;
}

.password-toggle:hover {
  color: var(--primary-dark);
}

.password-toggle:focus {
  color: var(--primary-dark);
}

.field--inline {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.btn {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-dark);
  color: white;
  font-weight: 700;
}

.auth__links {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
}

.auth__links a {
  color: var(--primary-dark);
}

.auth__links a:hover {
  text-decoration: underline;
}

.auth__space {
  height: 16px;
}