/* Estilos básicos */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 600px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-top: 80px; /* Espacio reducido para el logo */
}


header .logo {
    width: 100px; /* Tamaño del logo */
    position: absolute;
    top: 20px;
    left: 20px; /* Alineación a la izquierda */
}

h1 {
    text-align: center;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.5rem;
    margin-top: -10px; /* Reduce el espacio entre el logo y el título */
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #6d1917; /* Color de los nombres de los campos */
}

input, button {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

button {
    background-color: #1984bc; /* Color del botón */
    color: #fff;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #13699a; /* Color del botón al pasar el cursor */
}

/* Media Queries para Responsividad */
@media (max-width: 768px) {
    .container {
        padding-top: 70px; /* Ajuste para tablets */
    }

    h1 {
        font-size: 1.3rem;
    }

    input, button {
        font-size: 0.9rem;
    }

    header .logo {
        width: 80px; /* Logo más pequeño en tablets */
    }
}

@media (max-width: 480px) {
    .container {
        padding-top: 60px; /* Ajuste para móviles */
    }

    h1 {
        font-size: 1.1rem;
    }

    input, button {
        font-size: 0.85rem;
    }

    label {
        font-size: 0.8rem;
    }

    header .logo {
        width: 70px; /* Logo más pequeño en móviles */
        top: 10px;
        left: 10px;
    }
}