/* ============================================================
   print.css — Cartel de impresión (imprimir.php)
   ============================================================ */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

.cartel {
    width: 210mm;
    height: 297mm;
    margin: auto;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    /* el color del borde lo pone el PHP via variable --color-tema */
    border: 12mm solid var(--color-tema, #dc3545);
}

.header {
    background: var(--color-tema, #dc3545);
    color: white;
    padding: 15px;
    text-align: center;
}

.header h1 {
    font-size: 80px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.nombre-cartel {
    font-size: 55px;
    font-weight: bold;
    color: var(--color-tema, #dc3545);
    text-align: center;
    margin: 10px 0;
}

.foto-container {
    width: 100%;
    height: 45%;
    padding: 0 25px;
}

.foto-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.info {
    padding: 15px 40px;
    text-align: center;
    flex-grow: 1;
}

.info p {
    margin: 8px 0;
    font-size: 26px;
    line-height: 1.2;
}

.contacto-seccion {
    text-align: center;
    padding-bottom: 15px;
}

.contacto {
    font-size: 38px;
    font-weight: bold;
    background: #f0f0f0;
    padding: 10px 40px;
    border-radius: 15px;
    display: inline-block;
}

.qr-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    border-top: 3px dashed var(--color-tema, #dc3545);
    margin: 0 40px 25px 40px;
}

.qr-img {
    width: 140px;
    height: 140px;
}

.qr-text {
    font-size: 18px;
    text-align: left;
    font-weight: bold;
    line-height: 1.3;
}

.btn-imprimir {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #007bff;
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100;
}

@media print {
    .no-print {
        display: none;
    }

    .cartel {
        border-width: 12mm;
    }
}