/* ------------------ RESET ------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #333;
}

/* ------------------ HEADER ------------------ */
.top-header {
  background: linear-gradient(90deg, #4facfe, #00f2fe);
  padding: 20px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: white;
}

.top-header .logo {
  width: 85px;
}

.top-header h1 {
  font-size: 2rem;
  line-height: 1.1;
}

.top-header h3 {
  font-size: 1rem;
  opacity: 0.9;
}

/* ------------------ CONTAINER CENTRAL ------------------ */
.centralizar-pagina {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 15px;
}

/* ------------------ LOGIN / CADASTRO BOX ------------------ */
.login-box {
  background: linear-gradient(90deg, #4facfe, #00f2fe);
  width: 100%;
  max-width: 360px;
  padding: 35px 25px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

.title {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ------------------ INPUTS ------------------ */
.input {
  width: 100%;
  padding: 14px;
  margin: 10px 0;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 1rem;
  background: #ffffff;
}

/* ------------------ BOTÃO ------------------ */
.btn-primary {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  background: linear-gradient(90deg, #43e97b, #38f9d7);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* ------------------ TOGGLE TEXTO ------------------ */
.toggle {
  margin-top: 15px;
  color: white;
  font-size: 17px;
  cursor: pointer;
}

.toggle span {
  font-weight: bold;
  text-decoration: underline;
}

/* ------------------ FOOTER ------------------ */
.rodape {
  background: linear-gradient(90deg, #4facfe, #00f2fe);
  padding: 15px;
  text-align: center;
  color: white;
  font-size: 0.95rem;
}

.rodape p {
  margin: 0;
}

/* ------------------ RESPONSIVIDADE ------------------ */
@media (min-width: 500px) {
  .login-box {
    padding: 45px 35px;
  }

  .title {
    font-size: 2rem;
  }

  .top-header h1 {
    font-size: 2.3rem;
  }
}

@media (min-width: 850px) {
  .top-header .logo {
    width: 120px;
  }

  .top-header h1 {
    font-size: 2.8rem;
  }

  .top-header h3 {
    font-size: 1.2rem;
  }
}
