:root {
    --etq-bg: #f4f6f9;
    --etq-card-bg: #ffffff;
    --etq-border-soft: #dde2eb;
    --etq-accent: #198754;
    --etq-text-muted: #6c757d;
    /* Nova cor do rodapé: azul acinzentado elegante */
    --etq-footer-bg: #1e293b; /* pode trocar depois se quiser outro tom */
}

/* Layout geral com footer colado no final */
body {
    background-color: var(--etq-bg);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.main-content {
    flex: 1 0 auto;
}

h1, h2, h3, h4 {
    font-weight: 600;
}

/* Card geral */
.card {
    border-radius: 0.75rem;
    border: 1px solid var(--etq-border-soft);
    background-color: var(--etq-card-bg);
}

/* Tabela de modelos */
.etiqueta-table thead th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--etq-text-muted);
    border-bottom-width: 1px;
}

.etiqueta-table tbody td {
    vertical-align: middle;
}

/* Miniatura da etiqueta */
.etiqueta-thumb {
    max-width: 130px;
    border-radius: 0.5rem;
    border: 1px solid var(--etq-border-soft);
    background-color: #fff;
    padding: 0.25rem;
}

/* Status / texto auxiliar – MESMO ID ANTIGO: #status */
#status {
    min-height: 1.2rem;
}

/* Botão "Gerar PDF" com cara de ação principal */
.btn-success {
    border-radius: 999px;
}

/* Container escondido para o QR code */
#qr-hidden-container {
    position: absolute;
    left: -9999px;
    top: -9999px;
    visibility: hidden;
}

/* ===== Rodapé ===== */

.footer {
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    color: #fff;
    width: 100%;
    margin-top: auto;
    box-sizing: border-box;
    background-color: var(--etq-footer-bg);
    box-shadow: 0 -2px 6px rgba(15, 23, 42, 0.35); /* sombra suave no topo */
}

/* Override específico pra ganhar do .bg-primary do Bootstrap */
.footer.bg-primary {
    background-color: var(--etq-footer-bg) !important;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    margin: 0 12px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-icons a:hover {
    color: orange;
    transform: translateY(-1px);
}

/* tamanho de fonte reaproveitado do seu código (f75) */
.f75 {
    font-size: 0.95rem;
}

/* Responsividade */
@media (max-width: 992px) {
    .etiqueta-thumb {
        max-width: 100px;
    }
}

@media (max-width: 768px) {
    .etiqueta-table thead {
        display: none;
    }

    .etiqueta-table tbody tr {
        display: block;
        margin-bottom: 1.5rem;
        border: 1px solid var(--etq-border-soft);
        border-radius:
