body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f2f2f2;
    margin: 0;
    padding: 0;
}

form {
    max-width: 600px;
    margin: 20px auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

h3 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
}

select,
input {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

h4 {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 15px;
}

li {
    list-style: none;
    margin-bottom: 5px;
}

input[type="submit"] {
    background-color: #3498db;
    color: #fff;
    font-size: 16px;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

input[name="generar"] {
    color: black;
    height: 50px;
    width: 150px;
    text-align: center;
    line-height: 30px;
    /* Ajusta el line-height según tus necesidades */
    vertical-align: middle;
    color: white;
}


/* Agregamos este estilo para la vista previa del QR */

img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}


/* Añade al final de tu archivo de estilo */

.qr-preview-container {
    max-width: 600px;
    margin: 20px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.qr-preview-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.qr-download-btn {
    background-color: #3498db;
    color: #fff;
    font-size: 16px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

main {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
}


/*pantalla de la pc más grande para leer el qr
#reader {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
} */

#reader {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    /* Ajusta el valor según tu preferencia */
    overflow: hidden;
    margin: 20px auto;
    /* Centra el lector QR y ajusta el margen según sea necesario */
    max-width: 600px;
    /* Limita el ancho del lector QR según tus preferencias */
}

#result {
    margin-top: 20px;
    padding: 10px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
}

#result a {
    color: #155724;
    text-decoration: none;
    font-weight: bold;
}

#result h2 {
    color: #28a745;
}