body {
    background-image: url('../img/Background_img.png');
    background-position: center; /* Center the image */
    background-repeat: no-repeat;
    background-size: cover; /* Ensure the image covers the entire background */
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

::placeholder { color: #e5e4f2; }

.container {
    background-color: #8f91a5;
    padding: 40px; 
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 350px;
    align-items: center;
    justify-content: center;
}

.logo-img {
    display: block; 
    margin: 0 auto; 
    width: 200px; 
    padding-bottom: 10px; 
}

input[type="email"],
input[type="password"] {
    font-weight: bolder;
    font-size: 17px;
    margin-top: 20px; 
    width: 100%; 
    padding: 10px; 
    box-sizing: border-box; 
    text-align: center; 
    background-color: #8f91a5;
    color: #e5e4f2;
    border: none;
    border-bottom: #e5e4f2 2px solid;
}

input[type="email"]:hover,
input[type="password"]:hover{
    font-weight: bolder;
    font-size: 17px;
    margin-top: 20px; 
    width: 100%; 
    padding: 10px; 
    box-sizing: border-box; 
    text-align: center; 
    background-color: #8f91a5;
    color: #e5e4f2;
    border: none;
    border-bottom: #e5e4f2 0.5px solid;
    transition-duration: 0.4s;
    cursor: pointer;
}

.text-center {
    display: flex;
    align-items: center; 
    justify-content: space-between; 
    margin-top: 10px; 
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #8f91a5 inset; 
    box-shadow: 0 0 0 30px #8f91a5 inset; 
    -webkit-text-fill-color: #e5e4f2; 
    color: #e5e4f2;
}

input:-webkit-autofill::placeholder {
    color: #e5e4f2;
}

.envios {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.envios input[type="submit"]{
    background-color: #e5e4f2; 
    color: #8f91a5; 
    border: none; 
    padding: 10px 20px; 
    border-radius: 12px; 
    cursor: pointer; 
    font-size: 16px; 
    flex: 1; 
    margin: 0 5px; 
    transition: background-color 0.3s; 
}

.envios input[type="submit"]:hover {
    background-color: #8f91a5; 
    color: #e5e4f2; 
}

/*Media query*/

@media (max-width: 600px) {
    .container {
        width: 90%; 
        padding: 20px; 
    }

    .logo-img {
        width: 150px; 
    }

    input[type="email"],
    input[type="password"] {
        font-size: 15px; 
    }

    .envios input[type="submit"] {
        font-size: 14px; 
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .container {
        width: 80%; 
        padding: 30px; 
    }

    .logo-img {
        width: 180px; 
    }

    input[type="email"],
    input[type="password"] {
        font-size: 16px; 
    }

    .envios input[type="submit"] {
        font-size: 15px; 
    }
}

.error-message {
    color: red; /* Color del mensaje de error */
    margin-bottom: 15px; /* Espacio debajo del mensaje */
}

.previewTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.previewTable th, .previewTable td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.previewTable th {
    background-color: #4CAF50;
    color: white;
}

.previewTable tr:nth-child(even) {
    background-color: #f2f2f2;
}

.boton {
    padding: 5px 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.boton:hover {
    background-color: #45a049;
}