/**
 * VixViu Splasher Frontend CSS
 * Classes used by vixviu-splasher-frontend.js
 */

/* Plugin-specific wrapper styling */
.vixviu-splash-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.vixviu-splash-wrapper.open {
    display: flex;
}

/* Accessibility - Screen Reader Support */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

/* Focus management for accessibility */
.vixviu-splasher-overlay:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .vixviu-splasher-overlay {
        border: 2px solid #fff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .vixviu-splasher-overlay {
        transition: none !important;
        animation: none !important;
    }
}

/* Close button for splasher overlay - positioned relative to viewport */
.vixviu-splasher-overlay-close {
    position: fixed;
    top: 150px;
    right: 150px;
    background: none;
    border: none;
    font-size: 48px;
    color: white;
    cursor: pointer;
    padding: 0;
    margin: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10001;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.vixviu-splasher-overlay-close:hover {
    color: #f0f0f0;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}
