* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }

body {
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.auth-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  border-radius: 25px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.15);
  width: 100%;
  max-width: 420px;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-box h1 {
  text-align: center;
  color: #fff;
  font-size: 2rem;
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(255, 200, 100, 0.6);
}

.sub { text-align: center; color: rgba(255,255,255,0.7); margin-bottom: 25px; }

.field { margin-bottom: 18px; }
.field label { display: block; color: #fff; margin-bottom: 8px; font-size: 0.9rem; }
.field input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s;
}
.field input:focus {
  border-color: #ffd93d;
  box-shadow: 0 0 20px rgba(255,217,61,0.3);
}

.btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffd93d, #ff6b6b);
  color: #1a1a2e;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(255,107,107,0.5); }

.link { text-align: center; color: rgba(255,255,255,0.7); margin-top: 18px; font-size: 0.9rem; }
.link a { color: #ffd93d; text-decoration: none; font-weight: bold; }
.link a:hover { text-decoration: underline; }

.msg { text-align: center; margin-top: 15px; font-size: 0.9rem; min-height: 20px; }
.msg.ok { color: #4ade80; }
.msg.erro { color: #ff6b6b; }