body,
html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
    background-color: #000;
    color: #fff;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.login-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0);
    padding: 24px 40px 24px 40px;
    border-radius: 4rem;
    border: 2px solid #2f2dcc6b;
    box-shadow: 0px 0px 20px 2px rgb(0 150 255 / 50%);
    z-index: 10;
    width: 400px;
    max-width: 90%;
    backdrop-filter: blur(10px);
}

.login-container img {
    max-width: 60px;
    text-align: center;
    margin: auto;
    display: block;
}


h1 {
    color: #00ffff;
    text-align: center;
    font-size: 1.5em;
    margin: auto;
    display: block;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
}

.input-field {
    margin-bottom: 25px;
    position: relative;
}

.input-field input {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: rgba(0, 50, 100, 0.3);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    border-radius: 32px;
    /* Hacer las esquinas suaves */
}

.input-field input:focus {
    outline: none;
    border-bottom-color: #0080ff;
    box-shadow: 0 0 15px rgba(0, 128, 255, 0.5);
}

.input-field label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #00ffff;
    transition: all 0.3s ease;
    pointer-events: none;
}

.input-field input:focus+label,
.input-field input:valid+label {
    top: -20px;
    font-size: 12px;
    color: #0080ff;
}

.btn-login {
    background-color: transparent;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px !important;
    height: 48px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    max-width: 48px;
    box-sizing: border-box;
    padding: initial;
    border: 2px solid white;
}

.btn-login:hover {
    background-color: rgba(0, 255, 255, 0.8);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.7);
}

.btn-login .lightning-icon {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.btn-login:hover .lightning-icon {
    color: #fff;
    /* Icono cambia de color al hacer hover */
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    }

    100% {
        box-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
    }
}

input:-webkit-autofill {
    background-color: transparent !important;
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: white !important; /* Color del texto blanco */
    caret-color: white; /* También cambia el color del cursor para mayor consistencia */
}

input:-webkit-autofill:focus {
    background-color: transparent !important;
    -webkit-text-fill-color: white !important;
}