body {
  font-family: 'Inter', sans-serif;
  background: url('/img/background.png') no-repeat center center fixed;
  background-size: cover;
  overflow-y: auto; /* permite rolagem vertical */
  overflow-x: hidden;
  animation: fadeIn 1s ease-in-out;
  min-height: 100vh; /* garante altura mínima igual à tela */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 40px;
  padding-bottom: 40px;
  overflow-x: hidden;
}


@keyframes fadeIn {
  0% { opacity: 0; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1); }
}

.bard {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 55vw;
  height: auto;
  max-height: 90vh;
  max-width: 100vw; /* evita ultrapassar a largura total da tela */
  object-fit: contain;
  pointer-events: none;
  animation: moveBard 3s forwards;
  z-index: 0;
  overflow: hidden;
}


/* Animação */
@keyframes moveBard {
  0% {
    left: -25vw;
  }
  100% {
    left: -10vw;
  }
}

@media screen and (max-width: 480px) {
  .bard {
    width: 0vw;
    max-height: 50vh;
    opacity: 0.3; /* ainda mais suave em telas muito pequenas */
  }
}

@media screen and (max-width: 768px) {
  .register-card {
    width: 55vw;
    padding: 1.5rem;
    max-width: 90%;
  }
}

.logo {
  display: block;
  margin-bottom: 2rem;
  width: 200px;
  height: auto;
}

.register-card {
  background: rgba(25, 25, 25, 0.7);
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  position: relative;
  z-index: 10;
  overflow: hidden;

  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}
.register-card::before {
  content: "";
  background: url('/img/background-card-dragon.png') no-repeat center top;
  background-size: 140%;
  opacity: 0.10;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  pointer-events: none;
}
.input-field {
   background: rgba(255, 255, 255, 0.1);
  border: 1px solid #1e90ff;
  border-radius: 8px;
  padding: 0.5rem;
  width: 100%;
  margin-bottom: 1rem;
  color: rgb(255, 255, 255);
  outline: none;
}

.input-field:focus {
  box-shadow: 0 0 0 2px #facc1500;
}

.register-button {
  width: 100%;
  background: linear-gradient(to right, #3b82f6);
  color: white;
  padding: 0.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: transform 0.2s ease-in-out;
  font-family: 'Poppins', sans-serif;
}

.register-button:hover {
  transform: scale(1.05);
}

.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #4caf50;
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  display: none;
  z-index: 1000;
  font-size: 1.2rem;
  text-align: center;
}

.text-footer-card-register{
  display: flex;
  flex-direction: row;
  margin-top: 1vh;
  gap: 1vh;
  font-family: 'Poppins', sans-serif;
}

.text-register{
  color:#ddd126;
  font-family: 'Poppins', sans-serif;
}
