@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cabin:ital,wght@0,400..700;1,400..700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cabin", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  min-height: 100vh;
  background-image: url("/assets/img/background/bg.png");
  background-size: cover;
  background-position: center;
}

.container {
  width: 100%;
  max-width: 420px;
  margin: 10px; /* Para evitar que fique colado nas bordas */
  background-color: black;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #fff;
  padding: 30px 20px;
  box-shadow: blue 0px 0px 0px 2px inset, rgb(0, 0, 0) 10px -10px 0px -3px,
    rgb(255, 251, 22) 10px -10px, rgb(0, 0, 0) 20px -20px 0px -3px,
    rgb(255, 19, 19) 20px -20px;
}
.container h1 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 500;
  font-size: 50px;
  font-style: normal;
}

.pogonit {
  float: right;
  transform: translateY(-20%);
  height: 80px;
  border-radius: 6px;
  margin: 8px;
}

.input-box {
  position: relative;
  width: 100%;
  height: 50px;
  margin: 30px 0;
}

.input-box input {
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: 2px solid;
  border-radius: 40px;
  outline: none;
  font-size: 15px;
  color: white;
  padding: 20px 45px 20px 20px;
}

/* A configuração a seguir me permite alinhar os icones de forma correta no centro da barra */

.input-box i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}

.forgot {
  display: flex;
  justify-content: space-between;
  margin: -15px 0 15px;
}

.forgot label input {
  accent-color: rgb(255, 242, 242);
  margin-right: 5px;
}

/* A seguir, montei um sistema para mostrar o sublinhado apenas quando colocar o mouse em cima */

.forgot a {
  text-decoration: none;
  color: white;
}

.forgot a:hover {
  text-decoration: underline;
}

.login {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 40px;
  background: white;
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
}

/* .login:hover {
  opacity: 0.8;
  background-image: url(assets/fundo_2.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: 0.8s;
} */

.login:hover {
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: 0.5s;
}
.register {
  font-size: 14px;
  text-align: center;
  margin: 20px 0 15px;
}

.register a {
  text-decoration: none;
  color: white;
  font-weight: 500;
}

.register a:hover {
  text-decoration: underline;
}

.social {
  display: flex; /* Usa o modelo de layout flexbox */
  justify-content: center; /* Centraliza os itens horizontalmente */
  align-items: center; /* Centraliza os itens verticalmente */
  font-size: 30px;
  padding: 15px 10px 2px;
  gap: 20px;
}

.social a {
  text-decoration: none;
  color: #fff;
}
#toast {
  visibility: hidden;
  max-width: 90%;
  background-color: #f44336;
  color: #fff;
  text-align: center;
  border-radius: 12px;
  padding: 16px 24px;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  font-family: Arial, sans-serif;
  font-size: 1rem;
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  word-wrap: break-word;
}

#toast.show {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 480px) {
  .input-box input {
    padding: 15px 20px 15px 15px;
    margin: 20px 5px;
  }
  .forgot {
    flex-direction: column;
    gap: 10px;
  }
  .pogonit {
      height: 60px;
  }
  .container h1 {
      font-size: 40px;
     
  }
  
  .container{
      margin-right: 20px;
  }
}
