body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('login-fondo.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
}

.texto {
    font-family: Arial, sans-serif;
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.3;
}
form {
    width: 300px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1 {
    text-align: center;
    margin-bottom: 20px;
}

label {
    color: #67606b;
    font-size: 16px;
    font-weight: bold;
}
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    color: #67606b;
}
input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}
p.error {
    color: red;
    text-align: center;
}

p.success {
    color: green;
    text-align: center;
}

@media (max-width: 480px) {
    .texto {
        font-size: 24px;
        margin-bottom: 15px;
    }

    form {
        width: 90%;
        padding: 15px;
    }

    input[type="text"],
    input[type="password"] {
        font-size: 14px;
        padding: 8px;
    }

    input[type="submit"] {
        padding: 8px;
    }

    h1 {
        margin-bottom: 15px;
    }
}
