@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Open+Sans:wght@300;400;500;600;700&family=Playpen+Sans:wght@100..800&family=Roboto:wght@100;300;400;500&display=swap');

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #f6f7fa;
  color: #111;
}

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

.auth-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid #e9e9ee;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  padding: 24px;
}

.auth-title {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
}

.auth-error {
  background: #fff1f0;
  border: 1px solid #ffccc7;
  color: #a8071a;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 14px;
}

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

.auth-label span {
  display: block;
  font-size: 13px;
  color: #555;
  margin-bottom: 6px;
}

.auth-label input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #dfe3ea;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}
.auth-label input:focus {
  border-color: #2ac0cf;
  box-shadow: 0 0 0 3px rgba(42,192,207,.15);
}

.auth-btn {
  margin-top: 6px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: #2ac0cf;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.auth-btn:hover { background: #4eced9; }

.nam {
  font-size: 12px;
  margin-left: auto;
  margin-right: auto;
  color: #555;
}
.nam a {
  text-decoration: none;
  color: #1095a1;
}