/* Print-specific styles */
@media print {
    @page {
        margin: 0.5in;
    }

    body {
        font-size: 11pt;
        color: #000;
        background: #fff;
        margin: 0;
        padding: 0;
    }

    /* Hide navigation and non-essential elements */
    nav,
    footer,
    button,
    .print\\:hidden {
        display: none !important;
    }

    /* Tighten container spacing */
    .shadow-md {
        box-shadow: none !important;
    }

    .p-6 {
        padding: 0.5rem !important;
    }

    .rounded-lg {
        border-radius: 0 !important;
    }

    .mb-4 {
        margin-bottom: 0.25rem !important;
    }

    .mt-4 {
        margin-top: 0.25rem !important;
    }

    /* Show print-only elements */
    .print\\:block {
        display: block !important;
    }

    /* Table styling */
    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 1rem;
    }

    th, td {
        border: 1px solid #ccc;
        padding: 6px 8px;
        text-align: left;
    }

    th {
        background: #f0f0f0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Intensity badges */
    .bg-green-100 { background: #d1fae5 !important; }
    .bg-yellow-100 { background: #fef3c7 !important; }
    .bg-red-100 { background: #fee2e2 !important; }

    /* Page break handling */
    .page-break {
        page-break-before: always;
    }

    h2, h3 {
        page-break-after: avoid;
    }

    tr {
        page-break-inside: avoid;
    }

    /* Spacing adjustments */
    .space-y-6 > * + * {
        margin-top: 0.5rem;
    }

    .space-y-3 > * + * {
        margin-top: 0.25rem;
    }

    /* Compact segments */
    .border {
        padding: 0.4rem !important;
    }

    .text-sm {
        font-size: 10pt;
    }

    .text-xs {
        font-size: 9pt;
    }

    /* Song notes - show lines */
    input[type="text"] {
        border: none !important;
        border-bottom: 1px solid #999 !important;
        background: transparent !important;
        width: 100%;
        padding: 2px 0;
    }

    /* Coaching cues */
    .bg-gray-50 {
        background: #f9f9f9 !important;
        border: 1px solid #ddd;
        padding: 8px;
        margin-bottom: 8px;
    }
}
