/* Estilos generales */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f6f9;
    color: #333;
}
.generate {
    background-color: #007bff; /* Color de fondo azul */
    color: white; /* Color del texto */
    border: none; /* Quitar el borde */
    padding: 10px 20px; /* Espaciado interno */
    font-size: 16px; /* Tamaño del texto */
    font-weight: bold; /* Texto en negrita */
    border-radius: 5px; /* Bordes redondeados */
    cursor: pointer; /* Cambia el cursor a una mano */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.generate:hover {
    background-color: #0056b3; /* Color más oscuro al pasar el mouse */
    transform: scale(1.05); /* Efecto de agrandado */
}

.generate:active {
    background-color: #004494; /* Color aún más oscuro al hacer clic */
    transform: scale(0.98); /* Pequeña reducción para efecto de clic */
}

/* Encabezado */
.header {
    background-color: #004a99;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
}

/* Contenedor principal */
.container {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Sección de contenido */
.content h2 {
    color: #004a99;
    font-size: 22px;
    margin-bottom: 15px;
}

/* Formulario */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

label {
    font-weight: 600;
    margin-top: 10px;
    width: 100%;
    text-align: left;
}

input {
    width: 95%;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #bbb;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    transition: border 0.3s ease;
}

input:focus {
    border-color: #004a99;
}

/* Botón */
.button {
    width: 95%;
    padding: 14px;
    margin-top: 20px;
    background: #0066cc;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.button:hover {
    background: #005bb5;
}

/* Barra de navegación */
.navbar {
    background-color: #003366;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar h1 {
    color: white;
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}

.navbar .nav-links {
    display: flex;
    gap: 15px;
}

.navbar .nav-links a {
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    background-color: #00509E;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}

.navbar .nav-links a:hover {
    background-color: #0074E4;
}

/* Footer */
.footer {
    text-align: center;
    background: #ddd;
    padding: 12px;
    margin-top: 50px;
    font-size: 14px;
}

/* Diseño responsivo */
@media (max-width: 768px) {
    .container {
        width: 90%;
        margin: 20px auto;
    }

    .navbar {
        flex-direction: column;
        text-align: center;
    }

    .navbar .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    input, .button {
        width: 100%;
    }
}
/* Contenedor principal */


/* Estilos para los títulos */
h1 {
    text-align: center;
    color: #004a99;
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: bold;
}



/* Sección de responsables */
.responsable {
    background-color: #eef5ff;
    padding: 15px;
    border-left: 5px solid #004a99;
    margin: 20px 0;
    border-radius: 8px;
}



/* Botón de volver */
.volver {
    display: block;
    text-align: center;
    margin-top: 20px;
    padding: 12px;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
}

.volver:hover {
    background-color: #0056b3;
}

/* Responsivo */
@media (max-width: 768px) {
    .container {
        width: 90%;
        padding: 20px;
    }

    h1 {
        font-size: 24px;
    }

    p {
        font-size: 14px;
    }
}
