/* Print Styles for PassPerscriber */

@media print {
    /* Reset colors for print */
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    /* Hide navigation and interactive elements */
    header nav,
    button,
    .btn,
    .generator-container,
    .video-container,
    form,
    input[type="checkbox"],
    input[type="radio"],
    input[type="range"] {
        display: none !important;
    }
    
    /* Keep header logo */
    header {
        border-bottom: 2px solid #000;
        padding: 1rem 0;
        position: static;
    }
    
    .logo {
        color: #000 !important;
    }
    
    /* Page layout */
    body {
        font-family: 'Times New Roman', serif;
        line-height: 1.5;
        margin: 1cm;
    }
    
    main {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    /* Typography */
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        font-weight: bold;
    }
    
    h1 {
        font-size: 24pt;
        border-bottom: 2px solid #000;
        padding-bottom: 0.25cm;
    }
    
    h2 {
        font-size: 18pt;
        margin-top: 0.5cm;
    }
    
    h3 {
        font-size: 14pt;
    }
    
    p, li {
        font-size: 12pt;
        color: #000 !important;
    }
    
    /* Links */
    a {
        text-decoration: underline;
        color: #000 !important;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 10pt;
    }
    
    /* Tables */
    table {
        border-collapse: collapse;
        width: 100%;
        page-break-inside: avoid;
        margin: 0.5cm 0;
    }
    
    th, td {
        border: 1px solid #000;
        padding: 0.25cm;
        text-align: left;
    }
    
    th {
        background: #f0f0f0 !important;
        font-weight: bold;
    }
    
    /* Cards */
    .card {
        border: 1px solid #000;
        padding: 0.5cm;
        margin: 0.5cm 0;
        page-break-inside: avoid;
    }
    
    /* Lists */
    ul, ol {
        margin-left: 1cm;
    }
    
    /* Page breaks */
    h2, h3 {
        page-break-before: avoid;
    }
    
    p {
        orphans: 3;
        widows: 3;
    }
    
    /* Password examples in tables */
    .weak-example,
    .strong-example {
        font-family: 'Courier New', monospace;
        font-weight: bold;
    }
    
    /* Show content clearly */
    .card-grid {
        display: block;
    }
    
    .card-grid .card {
        margin-bottom: 0.5cm;
    }
    
    /* Quiz results */
    .quiz-results {
        border: 2px solid #000;
        padding: 0.5cm;
        margin: 0.5cm 0;
    }
    
    .quiz-score {
        font-size: 24pt;
        font-weight: bold;
    }
}

