/* Print styles for SOLVE application */
@media print {
    /* Hide interactive elements */
    nav,
    #toast-container,
    #htmx-indicator,
    [x-data*="showHelp"],
    .fixed,
    button[type="submit"],
    form button,
    select,
    .material-icons:not(.print-visible),
    [hx-post],
    [hx-get] {
        display: none !important;
    }

    /* Clean background */
    body,
    main,
    .bg-gray-50,
    .bg-white {
        background: white !important;
        color: black !important;
    }

    /* Remove shadows and borders */
    .shadow-sm,
    .shadow-lg,
    .shadow {
        box-shadow: none !important;
    }

    /* Ensure content fills page width */
    .max-w-7xl {
        max-width: 100% !important;
    }

    /* Show link URLs */
    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.75em;
        color: #666;
    }

    /* Prevent page breaks inside cards */
    .rounded-lg,
    tr {
        page-break-inside: avoid;
    }
}
