body {
        background-position: 306px;
    font-family: Arial, sans-serif;
    display: flex
;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(to bottom, #0c788499 0%, #fff 100%);
}
.container {
    background: #ffffffa3;
    padding: 30px;
    border-radius: 12px;
    width: 350px;
    max-width: 95%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

h1 {
    text-align: center;
    color: #4A7C84;
    margin-bottom: 10px;
}

h2 {
    text-align: center;
    color: #4A7C84;
    margin-bottom: 20px;
    font-size: 18px;
}

input {
    width: 90%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #4a7c84;
    border-radius: 8px;
}

form {
    width: 80%;
    margin: 0 auto;
}

button {
    width: 100%;
    background-color: #4A7C84;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #3a6269;
}

.error {
    color: red;
    text-align: center;
    margin-bottom: 15px;
}

.register {
    text-align: center;
    margin-top: 15px;
}

.register a {
    color: #4A7C84;
    font-weight: bold;
    text-decoration: none;
}

/* Logo del login/registro */
.logo {
    width: 28%;
    max-width: 120px;
    position: relative;
}

.containerImages {
    width: 100%;
    text-align: center;
}

/* 📱 Responsive: Celulares pequeños */
@media (max-width: 480px) {
    body {
        background-size: cover;
        background-position: center;
        padding: 15px;
    }

        .container {
        width: 100%;
        padding: 20px;
        margin: 0px !important;
    }

    input {
        width: 90%;
    }

    button {
        font-size: 14px;
        padding: 12px;
    }

    h1 {
        font-size: 25px;
    }

    h2 {
        font-size: 26px;
    }
}

/* 📱 Tablets (pantallas medianas) */
@media (min-width: 481px) and (max-width: 768px) {


    h1 {
        font-size: 22px;
    }

    h2 {
        font-size: 18px;
    }

    input {
        width: 90%;
    }
}

/* 💻 Pantallas grandes */
@media (min-width: 1024px) {
    .container {
        width: 400px;
    }

    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 20px;
    }
}
