.register-bg {
  height: 100vh;
  width: 100%;
  background: linear-gradient(145deg, #0a0000, #200000);
  display: flex;
  justify-content: center;
  align-items: center;
}

.register-box {
  width: 400px;
  padding: 45px 35px;
  background: rgba(20, 0, 0, 0.75);
  border-radius: 18px;
  border: 1px solid #400000;
  box-shadow: 0 0 25px #200000;
  backdrop-filter: blur(6px);
  animation: fadeIn 0.6s ease forwards;
}

.register-title {
  text-align: center;
  font-size: 2.6rem;
  font-family: 'Cinzel', serif;
  color: #ff2a2a;
  margin-bottom: 8px;
  text-shadow: 0 0 12px #b30000;
}

.register-sub {
  color: #ffbdbd;
  text-align: center;
  margin-bottom: 28px;
  font-size: 1.2rem;
}
  
.extras-register {
  margin-top: 18px;
  text-align: center;
}

.extras-register a {
  color: #ff7777;
  font-size: 1rem;
  transition: 0.3s;
}

.extras-register a:hover {
  color: #ff2a2a;
  text-shadow: 0 0 6px #b30000;
}

.register-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #b30000;
  background: linear-gradient(145deg, #400000, #1a0000);
  color: #ffdddd;
  font-size: 1.2rem;
  cursor: pointer;
  margin-top: 12px;
  transition: 0.25s;
  box-shadow: 0 0 14px #200000;
}

.register-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px #ff0000;
}

.input-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.input-group label {
  color: #ff8a8a;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.input-group input {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #300000;
  background: #0d0000;
  color: #ffdddd;
  box-shadow: inset 0 0 10px #1a0000;
  font-size: 1.05rem;
  transition: 0.3s;
}

.input-group input:focus {
  border-color: #ff2a2a;
  box-shadow: 0 0 12px #ff0000;
}



.error-box {
  max-width: 400px; /* define um tamanho máximo para poder centralizar */
  padding: 12px;
  margin: 0 auto 15px auto; /* agora ela centraliza certinho */
  background: rgba(70, 0, 0, 0.7);
  border: 1px solid #ff0000;
  color: #ffbdbd;
  border-radius: 10px;
  font-size: 1.1rem;
  text-align: center;
  box-shadow: 0 0 12px #900000;
  animation: fadeIn 0.3s ease-in-out;
}