* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #0e1118;
  --surface: #161b24;
  --surface2:#1c2230;
  --border:  #232b3a;
  --border2: #2c3650;
  --text:    #f0f4f8;
  --muted:   #5a6478;
  --sub:     #8892a4;
  --em:      #10b981;
  --em2:     #059669;
  --amber:   #f59e0b;
  --rose:    #f43f5e;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

/* Logo area */
.logo { text-align: center; margin-bottom: 2rem; }

.logo-svg {
  display: flex;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.logo h1 {
  color: var(--text);
  font-size: 1.3rem;
  font-weight: 800;
}

.logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.logo-name em {
  background: linear-gradient(90deg, #f43f5e, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}

.logo p { color: var(--muted); font-size: 0.82rem; margin-top: 0.25rem; }

/* Form */
.form-group { margin-bottom: 0.85rem; }

label {
  display: block;
  color: var(--sub);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color 0.2s;
}
input:focus { outline: none; border-color: var(--em); }
input::placeholder { color: var(--muted); }

/* Button */
.btn {
  width: 100%;
  padding: 0.75rem;
  background: var(--em);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s;
}
.btn:hover { background: var(--em2); }
.btn:disabled { background: var(--border); cursor: not-allowed; }

/* Messages */
.mensagem {
  display: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-top: 1rem;
  border: 1px solid transparent;
}
.mensagem.erro {
  display: block;
  background: rgba(244,63,94,.08);
  border-color: rgba(244,63,94,.25);
  color: #fca5a5;
}
.mensagem.sucesso {
  display: block;
  background: rgba(16,185,129,.08);
  border-color: rgba(16,185,129,.25);
  color: #6ee7b7;
}

/* Links */
.link-area { text-align: center; margin-top: 1.5rem; color: var(--muted); font-size: 0.82rem; }
.link-area a { color: var(--em); text-decoration: none; font-weight: 600; }
.link-area a:hover { text-decoration: underline; }

/* Info box */
.info {
  background: rgba(56,189,248,.06);
  border: 1px solid rgba(56,189,248,.18);
  color: #7dd3fc;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
