/* === Estilo Geral === */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #0c0c0c;
  color: #f1f1f1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  text-align: center;
}

/* === Logo === */
.logo {
  background-color: #e80000;
  color: #fff;
  width: 70px;
  height: 70px;
  line-height: 70px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  font-weight: bold;
  font-size: 1.5rem;
}

/* === Títulos === */
h1 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.subtitle {
  color: #ffcc00;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* === Formulário === */
.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.input-group {
  text-align: left;
  width: 100%;
}

.input-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: #ccc;
}

.input-group input {
  width: 100%;
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #333;
  background: #111;
  color: #fff;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.input-group input:focus {
  border-color: #e80000;
  outline: none;
}

/* Mostrar senha */
.show-password {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  justify-content: flex-start;
  margin-top: 0.3rem;
}

/* === Botões === */
.btn {
  display: block;
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
  text-decoration: none;
  text-align: center;
  margin: 0 auto;
}

.btn-red {
  background: #e80000;
  color: #fff;
  border: none;
}

.btn-red:hover {
  background: #ff2222;
}

.btn-outline {
  background: transparent;
  border: 1px solid #ffcc00;
  color: #ffcc00;
}

.btn-outline:hover {
  background: #ffcc00;
  color: #000;
}

/* Opções extras */
.options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.btn-biom {
  background: none;
  color: #fff;
  border: none;
  font-size: 0.95rem;
  cursor: pointer;
}

.forgot {
  color: #ffcc00;
  font-size: 0.9rem;
  text-decoration: none;
}

/* === Termos e Condições === */
.termos {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  justify-content: flex-start;
}

.termos a {
  color: #ffcc00;
}

/* === Link de login === */
.login-link {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.login-link a {
  color: #ffcc00;
  text-decoration: none;
}

/* === Suporte === */
.support {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  color: #ccc;
}

/* === Responsividade === */
@media (max-width: 480px) {
  body {
    align-items: flex-start;
    padding-top: 2rem;
  }

  .container {
    width: 90%;
    padding: 1.5rem 1rem;
  }

  .logo {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 1.3rem;
  }

  h1 {
    font-size: 1.3rem;
  }

  .btn,
  .input-group input {
    font-size: 0.95rem;
    padding: 0.8rem;
  }

  .subtitle {
    font-size: 0.95rem;
  }
}

/* === Ajuste final para telas muito pequenas === */
@media (max-width: 360px) {
  .container {
    padding: 1rem 0.5rem;
  }

  h1 {
    font-size: 1.1rem;
  }

  .btn,
  .input-group input {
    font-size: 0.9rem;
    padding: 0.7rem;
  }
}
