body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centra el contenido en la pantalla */
    align-items: center;
    height: 100vh;
    background-color: #f0f2f5;
    margin: 0;
    padding: 0;
    overflow: hidden;
    /* Evita el desbordamiento y las barras de scroll */
}

.login-container {
    background-color: (0, 83, 156, 0.181);
    /* Fondo semitransparente */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0px 15px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    width: 100%;
    box-sizing: border-box;
    margin: auto 0;
    z-index: 1;
    /* Asegura que se quede por encima del canvas */
    backdrop-filter: blur(5px);
    /* Aplica el desenfoque */
    -webkit-backdrop-filter: blur(5px);
    /* Soporte para navegadores webkit */
}


.img-custom {
    display: block;
    margin: 0 auto 10px auto;
    max-width: 500px;
    width: 100%;
}

.footer-info {
    text-align: center;
    width: 100%;
    color: #f0f2f5;
    margin-top: 20px;
    /* Reducimos el margen para evitar desbordamiento */
}

canvas {
    background: #00273d;
    position: fixed;
    /* Fija el canvas para que no cause scroll */
    top: 0;
    left: 0;
    width: 100%;
    /* Asegura que el canvas ocupe el ancho completo */
    height: 100%;
    /* Asegura que el canvas ocupe el alto completo */
}

.wave-group {
    position: relative;
}

.wave-group .input {
    font-size: 16px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #ffffff;
    background: transparent;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px transparent inset;
    box-shadow: 0 0 0 1000px transparent inset;
    -webkit-text-fill-color: #ffffff; /* Cambia el color del texto a blanco (o el que prefieras) */
    color: #ffffff; /* Asegura que el color del texto sea blanco */
    transition: background-color 5000s ease-in-out 0s; /* Evita el cambio rápido de color */
}


.wave-group .input:focus {
    outline: none;
}

.wave-group .label {
    color: #ffffff;
    font-size: 18px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    display: flex;
}

.wave-group .label-char {
    transition: 0.2s ease all;
    transition-delay: calc(var(--index) * .05s);
}

.wave-group .input:focus~label .label-char,
.wave-group .input:valid~label .label-char {
    transform: translateY(-20px);
    font-size: 14px;
    color: #b7b7b7;
}

.wave-group .bar {
    position: relative;
    display: block;
    width: 100%;
}

.wave-group .bar:before,
.wave-group .bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: #f9912a;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.wave-group .bar:before {
    left: 50%;
}

.wave-group .bar:after {
    right: 50%;
}

.wave-group .input:focus~.bar:before,
.wave-group .input:focus~.bar:after {
    width: 50%;
}

button {
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    cursor: pointer;
  }
  
  button {
    padding: 0;
    margin: 0 auto; /* Esto centra el botón horizontalmente */
    border: none;
    background: none;
    cursor: pointer;
    --primary-color: #ffffff;
    --hovered-color: #F9912A;
    position: relative;
    display: flex;
    font-weight: 600;
    font-size: 20px;
    gap: 0.5rem;
    align-items: center;
}
  
  button p {
    margin: 0;
    position: relative;
    font-size: 20px;
    color: var(--primary-color);
  }
  
  button::after {
    position: absolute;
    content: "";
    width: 0;
    left: 0;
    bottom: -7px;
    background: var(--hovered-color);
    height: 2px;
    transition: 0.3s ease-out;
  }
  
  button p::before {
    position: absolute;
    /*   box-sizing: border-box; */
    content: "Entrar";
    width: 0%;
    inset: 0;
    color: var(--hovered-color);
    overflow: hidden;
    transition: 0.3s ease-out;
  }
  
  button:hover::after {
    width: 100%;
  }
  
  button:hover p::before {
    width: 100%;
  }
  
  button:hover svg {
    transform: translateX(4px);
    color: var(--hovered-color);
  }
  
  button svg {
    color: var(--primary-color);
    transition: 0.2s;
    position: relative;
    width: 15px;
    transition-delay: 0.2s;
  }
  