html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)),
                url('/img/fondoverduras.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
    margin: 0;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

.login-container {
    background-color: rgba(255, 255, 255, 0.152);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 300px;
    position: relative;
    transition: transform 0.5s ease-in-out;
}

.login-container h2 {
    text-align: center;
    color: #4CAF50;
    margin-bottom: 20px;
}

.login-container input[type=text],
.login-container input[type=password] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.login-container button {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.login-container button:hover {
    background-color: #45a049;
}

.login-container .vegetable-image {
    display: block;
    margin: 0 auto 20px;
    max-width: 100px;
}

.hidden {
    display: none;
}

.toggle-text {
    text-align: center;
    font-size: 0.9em;
    color: #ffffff;
    margin-top: 10px;
}

.toggle-text a {
    color: #000000;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
}

.toggle-text a:hover {
    text-decoration: underline;
}

footer {
    background-color: #45a04975;
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    font-size: 14px;
}

footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 600px) {
    .login-container {
        padding: 20px;
        width: 90%;
    }
    
    .container {
        height: auto;
    }
}
