/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #333;
    position: relative;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('cultivo.jpg'); /* Cambia 'background.jpg' por la ruta de tu imagen */
    background-size: cover;
    background-position: center;
    filter: blur(5px); /* Opcional: Añade un efecto de desenfoque a la imagen */
    z-index: -1;
}

.login-container {
    background: rgba(255, 255, 255, 0.8); /* Fondo blanco con 80% de opacidad */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.login-box h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #333;
}

.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #555;
}

.input-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    border-color: #6a11cb;
    outline: none;
}

button {
    width: 100%;
    padding: 0.75rem;
    background: #6a11cb;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #2575fc;
}

.extra-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
}

.extra-links a {
    color: #6a11cb;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.extra-links a:hover {
    color: #2575fc;
}

/* Responsive Design */
@media (max-width: 480px) {
    .login-container {
        padding: 1.5rem;
    }

    .login-box h2 {
        font-size: 1.5rem;
    }

    .input-group input {
        padding: 0.5rem;
    }

    button {
        padding: 0.5rem;
    }

    .extra-links {
        flex-direction: column;
        align-items: center;
    }

    .extra-links a {
        margin-bottom: 0.5rem;
    }
}