body {
    font-family: Arial, sans-serif;
    background-color: #f0f4f8;
    margin: 0;
    padding: 0;
}

header {
    background-color: #003366;
    padding: 20px;
    text-align: center;
}

header img {
    max-height: 80px;
}

header h1 {
    color: #ffffff;
    margin-top: 10px;
}

.container {
    max-width: 900px;
    margin: 30px auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

h2 {
    color: #003366;
    margin-top: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

table th {
    background-color: #003366;
    color: #fff;
}

a {
    color: #003366;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    background-color: #003366;
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

.btn:hover {
    background-color: #0055aa;
}

.botonera {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
    justify-content: flex-start;
}

.leyenda-autenticidad {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8faff;
    border-left: 4px solid #003366;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
}

.leyenda-autenticidad h3 {
    margin-top: 0;
    color: #003366;
}

.qr-verificacion {
    margin-top: 30px;
    text-align: center;
}

.qr-verificacion p {
    font-size: 13px;
    color: #003366;
}

/* ✔️ FORZAMOS QR y LOGO FOOTER PEQUEÑOS con !important */
.qr-verificacion img,
.footer-rinacc img {
    width: 100px !important;
    height: 100px !important;
    max-width: 100px !important;
    max-height: 100px !important;
    object-fit: contain !important;
    margin-top: 50px !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.footer-rinacc {
    margin-top: 40px;
    padding: 15px;
    text-align: center;
    background-color: #f8faff;
    border-top: 2px solid #003366;
}

.footer-rinacc p {
    margin: 0;
    font-size: 14px;
    color: #003366;
    font-weight: bold;
    text-align: center;
}
