:root {
  --card: #ffffff;
  --muted: #6b6b6b;
  --footer: #888888;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

html, body {
  height: 100%;
  margin: 0;
  background: url('img/auth-trazo.svg') no-repeat center center fixed;
  background-size: cover;
}

.wrap {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.logo-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  text-align: center;
}

.logo-top img {
  height: 30px;
  margin-bottom: 30px;
}

.logo-top span {
  font-size: 23px;
  color: #333;
  font-weight: 500;
}

.card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border-radius: 20px;
  padding: 28px 28px 36px;
  box-shadow: 0 0 30px rgba(0,0,0,0.06), 0 10px 30px rgba(28,28,28,0.06);
}

h1.title {
  font-size: 20px;
  margin: 6px 0 22px;
  color: #333;
  font-weight: 600;
  text-align: center;
}

p.lead {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.45;
  text-align: center;
}

.field {
  position: relative;
  margin-bottom: 20px;
}

.field img.icon {
  position: absolute;
  top: 50%;
  left: 4px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  pointer-events: none;
  opacity: 0.75;
}

.field input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #333;
  background: #fff;
  padding: 18px 0 6px 38px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, border-bottom-width 0.2s;
  border-bottom-width: 1px;
  box-sizing: border-box;
}

.field input:focus {
  border-bottom-color: #222;
  border-bottom-width: 2px;
}

.field label {
  position: absolute;
  left: 38px;
  top: 16px;
  color: var(--muted);
  font-size: 15px;
  pointer-events: none;
  transition: all 0.2s ease;
  background-color: #fff;
  padding: 0 4px;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  top: -10px;
  font-size: 13px;
  color: #333;
  background-color: #fff;
}

.links {
  margin: -6px 0 20px;
}

.links a {
  display: inline-block;
  font-size: 12px;
  color: #333;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 6px;
}

.btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 32px;
  border: 0;
  background: #d6d6d6;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: not-allowed;
}

.btn.primary {
  background: #ffb400;
  color: #111;
  cursor: pointer;
}

.create {
  display: block;
  margin-top: 30px;
  text-align: center;
  font-weight: 700;
  text-decoration: none;
  color: #333;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  gap: 20px;
  font-size: 13px;
}

.footer-links a {
  color: var(--footer);
  text-decoration: none;
  font-weight: 600;
}

@media (min-width: 768px) {
  .footer-links {
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .card {
    margin: 10px;
    border-radius: 16px;
    padding: 22px;
  }
}
