* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-image: url("../img/cadas");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.fixed-logo {
  position: fixed;
  bottom: 20px;   /* distância do rodapé */
  right: 20px;    /* distância da lateral direita */
  width: 60px;    /* ajuste o tamanho que quiser */
  height: auto;
  opacity: 0.8;
  transition: opacity 0.3s;
  cursor: default;
  z-index: 10;    /* para ficar acima do canvas */
}

.fixed-logo:hover {
  opacity: 1;
}

.main-container {
    display: flex;
    align-items: center;
    gap: 90px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1000px;
}

.texto-forms {
    text-align: center;
    margin-top: 20px;
}


.text-destaque {
    font-size: 30px;
    font-weight: px;
    color: #3687e4;
    margin-bottom: 10px;
}

.form-container {
    flex: 1;
    max-width: 400px;
}

.form-container {
    background-color: #2a223d;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    max-width: 400px;
    width: 100%;
}

.form-title {
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
}

.user-form .form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    color: #ccc;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background-color: #3a2e52;
    color: #fff;
    font-size: 14px;
}

.form-input::placeholder {
    color: #aaa;
}

.form-button {
    width: 100%;
    padding: 12px;
    background-color: #566efc;
    color: #ffffff;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 15px;
}

.form-button:hover {
    background-color: #ffffff;
    color: black;
}

.texto-forms {
    text-align: center;
    margin-top: 20px;
}

.link {
    margin-top: 10px;
}

.link a {
    color: #4983ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-weight: bold;
}

.link a:hover {
    color: #37dd9e;
    text-decoration: underline;
    font-weight: bold;
}

.erro {
    color: red;
    text-align: center;
    margin-bottom: 20px;
}

/*Canvas*/
#network-bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: #0c356a; /* fallback se o canvas não carregar */
}


/* Responsividade para telas menores */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        padding: 20px;
    }

    .image-forms,
    .form-container {
        max-width: 100%;
    }
}