* {
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  margin: 0;
  height: 100vh;
  background: linear-gradient(135deg, #d4d4d4, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
}

.login-container {
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

.login-card {
  background-color: #020617;
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.logo {
  max-width: 240px;
  margin-bottom: 24px;
}

h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.subtitle {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 16px;
}

input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #1e293b;
  background-color: #020617;
  color: #e5e7eb;
  font-size: 14px;
  outline: none;
  transition: border 0.2s ease;
}

input::placeholder {
  color: #64748b;
}

input:focus {
  border-color: #22c55e;
}

button {
  width: 100%;
  margin-top: 10px;
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #22c55e, #08c64e);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.35);
}

.footer-text {
  margin-top: 26px;
  font-size: 12px;
  color: #64748b;
}


.secondary-btn {
  width: 100%;
  margin-top: 12px;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #1e293b;
  background-color: transparent;

  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, border 0.15s ease;
}

.secondary-btn:hover {
  background-color: #020617;
  border-color: #22c55e;
}


.error-message {
  min-height: 18px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #f87171;
}


.terms-group {
  margin: 18px 0 22px;
}

.terms-label {
  display: flex;
  align-items: center; /* 👈 alinhamento vertical correto */
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #b5b5b5;
  cursor: pointer;
}

/* Checkbox mais discreto */
.terms-label input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #1db954; /* verde do sistema */
  cursor: pointer;
}

.terms-label span {
  display: inline;
}

/* Links */
.terms-label a {
  color: #1db954;
  text-decoration: none;
  font-weight: 500;
}

.terms-label a:hover {
  text-decoration: underline;
}