﻿/* Estilos Generales */
body.login-page {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: linear-gradient(to right, #eabe2e, #FFEB3B);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 10px;
}

.login-container {
    display: flex;
    flex-direction: row;
    width: 90%;           
    max-width: 1200px;    
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin: 0 auto;       
}

/* Ajuste para la imagen */
.image-container {
    flex: 1;
}

    .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover; 
    }

/* Formulario */
.form-container {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h2 {
    text-align: center;
    font-size: 40px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 14px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #eabe2e;
    color: #0d0d0d;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

    button:hover {
        background-color: #0d0d0d;
        color: #eabe2e;
    }

a {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #555;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

#welcome {
    font-size: 40px;
    font-weight: bold;
    /* Efecto degradado para el texto */
    background: linear-gradient(to right, #333, #555);
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2), 0 0 25px rgba(255, 255, 255, 0.3);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* RESPONSIVE */

/* Para pantallas de hasta 1024px */
@media (max-width: 1024px) {
    .login-container {
        flex-direction: column;
        width: 90%;
        align-items: center;
    }

    .image-container {
        width: 100%;
        height: auto;
    }

    .form-container {
        width: 100%;
        padding: 20px;
    }
}

/* Para pantallas de hasta 768px */
@media (max-width: 768px) {
    .login-container {
        max-width: 500px;
        flex-direction: column;
        align-items: center;
    }

    .image-container {
        width: 100%;
        height: 200px; 
    }

    .form-container {
        width: 100%;
        padding: 20px;
    }

    #welcome {
        font-size: 32px;
    }
}

/* Para pantallas de hasta 480px */
@media (max-width: 480px) {
    .login-container {
        max-width: 400px;
        flex-direction: column;
        align-items: center;
    }

    .form-container {
        padding: 15px;
    }

    #welcome {
        font-size: 28px;
    }

    input, button {
        font-size: 14px;
        padding: 8px;
    }
}


