/* Print Stylesheet */

@media print {
    /* Reset colors for print */
    :root {
        --primary-color: #000000;
        --text-primary: #000000;
        --text-secondary: #333333;
        --background: #ffffff;
        --surface: #f5f5f5;
        --border: #cccccc;
    }

    /* Hide non-essential elements */
    .header-controls,
    .theme-toggle,
    .language-toggle,
    .work-experience-nav-btn,
    .filter-section-toggle,
    .clear-filters-btn,
    .filters-section,
    .footer {
        display: none !important;
    }

    /* Page setup */
    @page {
        margin: 1.5cm;
    }

    body {
        font-size: 11pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    /* Header */
    .header {
        border-bottom: 2px solid #000;
        padding: 0.5rem 0;
        position: static;
        box-shadow: none;
        page-break-after: avoid;
    }

    .logo {
        font-size: 18pt;
        color: #000;
    }

    /* Sections */
    .section-title {
        font-size: 14pt;
        font-weight: bold;
        margin-bottom: 0.75rem;
        color: #000;
        page-break-after: avoid;
    }

    /* Profile Section */
    .profile-section {
        background: #fff;
        border: 1px solid #ccc;
        padding: 1rem;
        margin-bottom: 1.5rem;
        page-break-inside: avoid;
        box-shadow: none;
    }

    .profile-header {
        display: block;
        border-bottom: 1px solid #ccc;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

    .profile-left-column {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .profile-image {
        width: 80px;
        height: 80px;
        border: 2px solid #000;
        box-shadow: none;
    }

    .profile-name {
        font-size: 16pt;
        margin-bottom: 0.25rem;
    }

    .profile-location {
        font-size: 10pt;
    }

    .profile-right-column {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #ccc;
    }

    .contact-section {
        page-break-inside: avoid;
    }

    .contact-title {
        font-size: 9pt;
        margin-bottom: 0.5rem;
    }

    .contact-link {
        font-size: 9pt;
        color: #000;
        text-decoration: none;
    }

    .contact-icon {
        display: none;
    }

    .profile-text {
        font-size: 10pt;
        color: #333;
    }

    .profile-text p:first-child {
        font-size: 11pt;
    }

    /* Skills & Education Section */
    .skills-education-section {
        background: #fff;
        border: 1px solid #ccc;
        padding: 1rem;
        margin-bottom: 1.5rem;
        page-break-inside: avoid;
        box-shadow: none;
    }

    .skills-education-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .skills-group-title,
    .education-name {
        font-size: 9pt;
        margin-bottom: 0.5rem;
        color: #000;
    }

    .skill-item {
        font-size: 9pt;
        background: #f5f5f5;
        border: 1px solid #ccc;
        padding: 0.25rem 0.5rem;
    }

    .education-item {
        margin-bottom: 0.75rem;
    }

    .education-details {
        font-size: 9pt;
    }

    /* Work Experience */
    .results-section {
        margin-bottom: 1.5rem;
    }

    .results-header {
        margin-bottom: 1rem;
        page-break-after: avoid;
    }

    .results-count {
        display: none;
    }

    .work-experience-grid {
        display: block;
    }

    .work-card {
        background: #fff;
        border: 1px solid #ccc;
        padding: 1rem;
        margin-bottom: 1rem;
        page-break-inside: avoid;
        box-shadow: none;
    }

    .work-card:hover {
        transform: none;
        box-shadow: none;
    }

    .company-name {
        font-size: 12pt;
    }

    .role-name {
        font-size: 11pt;
    }

    .work-period {
        font-size: 9pt;
    }

    .work-context {
        background: #f5f5f5;
        border-left: 2px solid #000;
        padding: 0.5rem;
        margin: 0.75rem 0;
    }

    .context-label {
        font-size: 8pt;
    }

    .context-item {
        font-size: 8pt;
        background: #fff;
        border: 1px solid #ccc;
    }

    .work-responsibilities {
        margin: 0.75rem 0;
    }

    .responsibilities-title {
        font-size: 10pt;
        margin-bottom: 0.5rem;
    }

    .responsibilities-list li {
        font-size: 9pt;
        padding: 0.125rem 0;
        padding-left: 1rem;
    }

    .work-tags {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid #ccc;
    }

    .tags-title {
        font-size: 8pt;
        margin-bottom: 0.5rem;
    }

    .tag-chip {
        font-size: 8pt;
        background: #f5f5f5;
        border: 1px solid #ccc;
        padding: 0.125rem 0.375rem;
    }

    /* Avoid page breaks */
    .profile-section,
    .skills-education-section,
    .work-card {
        page-break-inside: avoid;
    }

    /* Links */
    a {
        color: #000;
        text-decoration: underline;
    }

    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 8pt;
        color: #666;
    }

    a[href^="mailto"]:after {
        content: "";
    }

    /* No background colors */
    * {
        background: transparent !important;
        box-shadow: none !important;
    }

    .profile-section,
    .skills-education-section,
    .work-card,
    .work-context {
        background: #fff !important;
        border: 1px solid #ccc !important;
    }

    .skill-item,
    .tag-chip,
    .context-item {
        background: #f5f5f5 !important;
    }
}
