* {
  box-sizing: border-box;
}

html,
body.auth-page {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body.auth-page {
  color: #f6fbff;
  background: #07121c url("bigbg.jpg") center / cover no-repeat fixed;
  font-family: Arial, Helvetica, sans-serif;
}

body.auth-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(2, 10, 18, 0.58);
}

.auth-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-panel {
  width: min(420px, 100%);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(8, 22, 34, 0.86);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.38);
  text-align: left;
}

.auth-brand {
  margin-bottom: 18px;
  color: #65d8ff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.auth-panel h1 {
  margin: 0 0 22px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: 0;
}

.auth-form {
  display: grid;
  gap: 15px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: #d9e7f1;
  font-size: 14px;
  font-weight: 700;
}

.auth-form input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: #f8fcff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  outline: none;
}

.auth-form input:focus {
  border-color: #65d8ff;
  box-shadow: 0 0 0 3px rgba(101, 216, 255, 0.18);
}

.auth-form button {
  min-height: 46px;
  margin-top: 4px;
  border: 0;
  border-radius: 6px;
  color: #07121c;
  background: #65d8ff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.auth-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.auth-message {
  min-height: 20px;
  margin: 0;
  color: #ffb6a5;
  font-size: 14px;
  line-height: 1.35;
}

.auth-message.is-success {
  color: #9ff3bb;
}

.auth-switch {
  margin: 20px 0 0;
  color: #d9e7f1;
  font-size: 14px;
  text-align: center;
}

.auth-switch a {
  color: #65d8ff;
  font-weight: 700;
}

@media (max-width: 480px) {
  .auth-shell {
    padding: 16px;
  }

  .auth-panel {
    padding: 22px;
  }
}
