/* Global Styles */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #6cb4f3, #4097e0);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #fff;
    overflow: hidden;
}

/* Main Container */
.container {
    display: flex;
    flex-direction: row;
    width: 900px;
    max-width: 100%;
    height: 500px;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Left Panel */
.left-panel {
    width: 40%;
    background: linear-gradient(135deg, #4097e0, #6cb4f3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.logo-section .logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.logo-section h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px #000;
    /* Borde negro */
    color: #fff;
    /* Asegura que el texto sea blanco */
}

/* Moving Logo Animation */
.moving-logo {

    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);

}



/* Right Panel */
.right-panel {
    width: 60%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-container h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}

.form-container p {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
}

.form-container input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-container input:focus {
    border-color: #4097e0;
    outline: none;
    box-shadow: 0 0 8px rgba(64, 151, 224, 0.5);
}

.form-container button {
    width: 100%;
    padding: 15px;
    background: #4097e0;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-container button:hover {
    background: #367bb7;
}

.forgot-password {
    font-size: 12px;
    color: #4097e0;
    text-decoration: none;
    margin-top: 10px;
    display: block;
    text-align: center;
}

.signup {
    font-size: 14px;
    margin-top: 20px;
    text-align: center;
}

.signup a {
    color: #4097e0;
    text-decoration: none;
    font-weight: bold;
}

/* Responsive Design */
/* Ajustes específicos para dispositivos móviles */
/* Responsive Design */
/* Ajustes específicos para dispositivos móviles */
@media (max-width: 768px) {
    body {
        background: linear-gradient(180deg, #6cb4f3, #d9f1ff);
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        margin: 0;
        font-family: 'Poppins', sans-serif;
    }

    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Centra todo dentro del contenedor */
        justify-content: center;
        width: 90%;
        max-width: 360px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 25px;
        box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15), inset 0px 0px 15px rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(15px);
    }

    .left-panel {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Centra el logo */
        justify-content: center;
        width: 100%;
        margin-bottom: 15px;
        text-align: center;
    }

    .moving-logo {
        animation: none;
        /* Desactiva la animación que mueve el logo */
        width: 120px;
        height: 120px;
        margin-bottom: 25px;
        /* Aumenta el margen inferior */
        margin-top: 55px;
        /* Añade un margen superior para bajar el logo */
        object-fit: cover;
        /* Asegura que la imagen mantenga proporción */
    }

    .logo-section h1 {
        font-size: 24px;
        font-weight: bold;
        margin: 0;
        text-shadow: 2px 2px 4px #000;
        /* Borde negro */
        color: #fff;
        /* Asegura que el texto sea blanco */
    }

    .right-panel {
        margin-top: -50px;
        /* Reduce el espacio entre los paneles */
        width: 100%;
        display: flex;
        justify-content: center;
        /* Centra el formulario */
    }

    .right-panel p {
        margin-top: -10px;
    }



    .form-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Centra el formulario */
        width: 100%;
        gap: 12px;
    }

    .form-container h2 {
        font-size: 20px;
        font-weight: 600;
        color: #333333;
        text-align: center;
        margin-bottom: 8px;
    }

    .form-container p {
        font-size: 14px;
        color: #666666;
        text-align: center;
        margin-bottom: 10px;
    }

    .form-container input {
        width: 95%;
        padding: 12px;
        font-size: 14px;
        border: 1px solid rgba(64, 151, 224, 0.4);
        border-radius: 30px;
        background: rgba(255, 255, 255, 0.6);
        box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        text-align: center;
        margin-top: -15px;
        /* Centra el texto del placeholder */
    }

    .form-container input:focus {
        border-color: #4097e0;
        background: rgba(255, 255, 255, 0.9);
        outline: none;
        box-shadow: 0px 4px 8px rgba(64, 151, 224, 0.2);
    }

    .form-container button {
        width: 100%;
        padding: 12px;
        font-size: 15px;
        font-weight: 600;
        color: #ffffff;
        background: linear-gradient(135deg, #6cb4f3, #0077c0);
        border: none;
        border-radius: 30px;
        cursor: pointer;
        box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
    }

    .form-container button:hover {
        background: linear-gradient(135deg, #0077c0, #6cb4f3);
        box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
        transform: translateY(-2px);
    }

    .forgot-password {
        font-size: 12px;
        color: #4097e0;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .forgot-password:hover {
        color: #005fa3;
        text-decoration: underline;
    }

    .signup {
        font-size: 14px;
        color: #666666;
        margin-top: 15px;
        text-align: center;
    }

    .signup a {
        color: #4097e0;
        font-weight: bold;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .signup a:hover {
        color: #005fa3;
    }
}

@media (max-width: 480px) {
    .container {
        max-width: 320px;
        padding: 15px;
    }

    .form-container input,
    .form-container button {
        font-size: 13px;
        padding: 10px;
    }

    .form-container h2 {
        font-size: 18px;
    }

    .signup {
        font-size: 12px;
    }
}