:root {
    --tuna: #3d3d42;
    --iron: #e5e6e7;
    --smalt-blue: #557b84;
    --oslo-gray: #858687;
    --gull-gray: #94aab0;
    --mid-gray: #626263;
    --regent-gray: #929ba4;
    --shuttle-gray: #576b75;
    --dusty-gray: #a49c9c;
    --cutty-sark: #50676c;
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: var(--iron);
    font-family: 'Pieta', sans-serif;
}
.container {
    display: flex;
    width: 100vw;
    height: 100vh;
    background-color: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    animation: fadeIn 1s;
}
/* Inicio del panel izquierdo */
.left-panel {
    background-color: var(--smalt-blue);
    color: white;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative; /* Para que el wave se posicione correctamente */
    overflow: hidden; /* Esto asegura que las olas no se salgan del contenedor */
}

.wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    background: linear-gradient(744deg, 
        var(--smalt-blue), 
        var(--cutty-sark) 30%, 
        var(--tuna) 50%, 
        var(--shuttle-gray) 70%, 
        var(--gull-gray) 90%, 
        #00ddeb);
    border-radius: 40%;
    animation: wave 55s infinite linear;
}

.infotop {
    font-family: 'Pieta-Hairline', sans-serif; /* Usar la fuente que desees */
    text-align: center;
    font-size: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrado vertical y horizontal */
    color: rgb(255, 255, 255);
    font-weight: 600;
}

.wave:nth-child(2),
.wave:nth-child(3) {
    top: 210px;
}

.playing .wave {
    border-radius: 40%;
    animation: wave 3000ms infinite linear;
}

.wave {
    border-radius: 40%;
    animation: wave 55s infinite linear;
}

.playing .wave:nth-child(2) {
    animation-duration: 4000ms;
}

.wave:nth-child(2) {
    animation-duration: 50s;
}

.playing .wave:nth-child(3) {
    animation-duration: 5000ms;
}

.wave:nth-child(3) {
    animation-duration: 45s;
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* fin del panel izquierdo */
.right-panel {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 400px;
    text-align: center;
}
.card h2 {
    margin-bottom: 20px;
    color: var(--tuna);
}
.card form {
    display: flex;
    flex-direction: column;
}
.card input {
    padding: 10px;
    margin-top: 10px;
    border-radius: 6px;
    border: 1px solid var(--gull-gray);
    outline: none;
}
.card button {
    margin-top: 20px;
    padding: 10px;
    background-color: var(--shuttle-gray);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.card button:hover {
    background-color: var(--smalt-blue);
}
/* button login style */
.button {
cursor: pointer;
position: relative;
padding: 10px 24px;
font-size: 18px;
color: rgba(229,230,231,1);
border: 2px solid rgba(85,123,132,1);
border-radius: 34px;
background-color: transparent;
font-weight: 600;
transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
overflow: hidden;
}

.button::before {
content: '';
position: absolute;
inset: 0;
margin: auto;
width: 140px;
height: 140px;
border-radius: inherit;
scale: 0;
z-index: -1;
background-color: rgba(148,170,176,1);
transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.button:hover::before {
scale: 3;
}

.button:hover {
color: #212121;
scale: 1.1;
box-shadow: 0 0px 20px rgba(193, 163, 98,0.4);
}

.button:active {
scale: 1;
}
/* button login style */

/* Estilos generales para los campos */
.group {
    position: relative;
    margin-bottom: 30px; /* Espacio vertical entre los campos */
}

/* Input principal */
.main-input {
    font-size: 16px;
    padding: 20px 20px 20px 10px;
    display: block;
    width: 100%; /* Hace que el input ocupe todo el ancho */
    border: none;
    border-bottom: 2px solid #6c6c6c; /* Borde gris oscuro */
    background: transparent;
    color: #020202;
}

/* Cambiar color del borde al hacer foco */
.main-input:focus {
    outline: none;
    border-bottom-color: var(--smalt-blue); /* Color cuando el input está enfocado */
}

/* Etiqueta de los inputs */
.lebal-email {
    color: #999999;
    font-size: 18px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

/* Cuando el input tiene el foco o está validado, la etiqueta se mueve */
.main-input:focus ~ .lebal-email,
.main-input:valid ~ .lebal-email {
    top: -20px;
    font-size: 14px;
    color: var(--smalt-blue); /* Color de la etiqueta cuando está enfocado */
}

/* Resaltado de la línea de abajo */
.highlight-span {
    position: absolute;
    height: 60%;
    width: 0px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* Animación del resaltado al enfocar el input */
.main-input:focus ~ .highlight-span {
    -webkit-animation: input-focus 0.3s ease;
    animation: input-focus 0.3s ease;
}

/* Animación de la línea de abajo */
@keyframes input-focus {
    from {
        background: var(--smalt-blue); /* Color de la animación */
    }
    to {
        width: 100%; /* Hace que la línea ocupe todo el ancho del input */
    }
}

/* Estilo de la tarjeta de login */
.card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Estilo de los botones */
.button {
    margin-top: 20px;
    padding: 10px;
    background-color: var(--smalt-blue); /* Color del fondo del botón */
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: var(--cutty-sark); /* Color de fondo del botón al pasar el ratón */
}

/* Estructura del contenedor de Remember Me y Forgot Password */
.remember-forgot-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.remember-me {
    display: flex;
    align-items: center;
    color: var(--tuna);
}

.forgot-password {
    color: var(--smalt-blue);
}

/* Estilo de Remember Me */
.remember-me input {
    border: 1px solid var(--smalt-blue);
    background-color: var(--iron);
    transition: 0.3s ease;
}

.remember-me input:checked {
    background-color: var(--smalt-blue);
    border-color: var(--smalt-blue);
}

.remember-me span {
    font-size: 14px;
    color: var(--tuna);
    margin-left: 8px;
}

/* Estilo de Forgot Password */
.forgot-password a {
    font-size: 14px;
    color: var(--smalt-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: var(--cutty-sark);
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .left-panel {
        display: none;
    }
}