/**
 * Frontend CSS
 * Base frontend styles for the plugin
 */

/* Image Loading Animation */
.pci-event-image img {
    opacity: 0;
    transition: all 0.3s ease;
}

.pci-event-image img.pci-image-loaded,
.pci-event-image img[loading="lazy"] {
    opacity: 1;
}

/* Print Styles */
@media print {
    .pci-event-card {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .pci-event-action {
        display: none;
    }
    
    .pci-events-container {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .pci-event-card {
        border: 2px solid #000;
    }
    
    .pci-event-action {
        border: 2px solid #000;
        background: #000;
        color: #fff;
    }
}