/* ========== PRINT STYLES ========== */
/* Styles for printing player cards */

.print-container {
    display: none;
}

@media print {
    /* Hide everything except print container */
    body > *:not(.print-container) {
        display: none !important;
    }

    html, body {
        background: white !important;
        min-height: auto !important;
        height: auto !important;
        overflow: visible !important;
    }

    .print-container {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding: 20px;
        width: 100%;
    }

    .print-card {
        border: 2px dashed #333;
        border-radius: 12px;
        padding: 20px;
        text-align: center;
        background: white;
        width: 180px;
        break-inside: avoid;
    }

    .print-card-qr {
        display: flex;
        justify-content: center;
        margin-bottom: 12px;
    }

    .print-card-qr canvas {
        width: 120px !important;
        height: 120px !important;
    }

    .print-card-qr img {
        width: 120px !important;
        height: 120px !important;
    }

    .print-card-name {
        font-size: 1.2rem;
        font-weight: bold;
        color: #1a472a;
        margin-bottom: 8px;
    }

    .print-card-code {
        font-size: 1.4rem;
        font-weight: bold;
        letter-spacing: 4px;
        font-family: monospace;
        color: #333;
    }
}
