/* Estilos generales */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: linear-gradient(to bottom right, #00397a, #900fb4);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-sizing: border-box;
}

h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #433d45;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
    width: 100%;
    padding: 15px;
    margin: 12px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
}

input[type="submit"] {
    background-color: #45a049;
    color: white;
    padding: 15px 20px;
    margin: 12px 0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
}

input[type="submit"]:hover {
    background-color: #894caf;
}

input[type="submit"]:active {
    background-color: #5a9a64;
}

.message {
    margin: 20px 0;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #f9f9f9;
    color: #555;
    font-size: 14px;
}

/* Responsiveness - Media Queries */
@media (max-width: 768px) {
    body {
        padding: 0 10px;
    }

    .container {
        padding: 20px;
        max-width: 100%;
    }

    h1 {
        font-size: 22px;
    }

    input[type="submit"] {
        padding: 15px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"] {
        padding: 12px;
        font-size: 14px;
    }

    input[type="submit"] {
        font-size: 16px;
        padding: 12px;
    }

    h1 {/* Estilos generales */
        html, body {
            height: 100%;
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: Arial, sans-serif;
        }
        
        body {
            background: linear-gradient(to bottom right, #00397a, #900fb4);
            background-size: cover;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        }
        
        .container {
            background-color: #fff;
            padding: 40px 25px; /* Increased padding for more space inside the form */
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 400px;
            min-height: 60vh; /* Ensure the container takes up more vertical space */
            text-align: center;
            box-sizing: border-box;
        }
        
        h1 {
            margin-bottom: 20px;
            font-size: 24px;
            color: #433d45;
        }
        
        input[type="text"],
        input[type="email"],
        input[type="password"],
        select {
            width: 100%;
            padding: 15px;
            margin: 12px 0;
            border: 1px solid #ccc;
            border-radius: 6px;
            box-sizing: border-box;
            font-size: 16px;
        }
        
        input[type="submit"] {
            background-color: #45a049;
            color: white;
            padding: 15px 20px;
            margin: 12px 0;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            width: 100%;
            font-size: 18px;
        }
        
        input[type="submit"]:hover {
            background-color: #894caf;
        }
        
        input[type="submit"]:active {
            background-color: #5a9a64;
        }
        
        .message {
            margin: 20px 0;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 6px;
            background-color: #f9f9f9;
            color: #555;
            font-size: 14px;
        }
        
        /* Responsiveness - Media Queries */
        @media (max-width: 768px) {
            body {
                padding: 0 10px;
            }
        
            .container {
                padding: 35px 20px;
                max-width: 100%;
                min-height: 60vh; /* Maintain more height even on smaller devices */
            }
        
            h1 {
                font-size: 22px;
            }
        
            input[type="submit"] {
                padding: 15px;
                font-size: 16px;
            }
        }
        
        @media (max-width: 480px) {
            .container {
                padding: 30px 15px;
                min-height: 65vh; /* Ensure it still looks tall on very small devices */
            }
        
            input[type="text"],
            input[type="email"],
            input[type="password"] {
                padding: 12px;
                font-size: 14px;
            }
        
            input[type="submit"] {
                font-size: 16px;
                padding: 12px;
            }
        
            h1 {
                font-size: 20px;
            }
        }
        
        font-size: 20px;
    }
}
