/* External styles for media-player component */
/* These styles can be applied to the host element or used for theming */

media-player {
    /* Default container styles */
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive breakpoints */
@media (max-width: 768px) {
    media-player {
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    media-player {
        min-height: 150px;
    }
}

/* Custom themes */
media-player.theme-light {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

media-player.theme-dark {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Aspect ratio containers */
media-player.aspect-16-9 {
    aspect-ratio: 16 / 9;
}

media-player.aspect-4-3 {
    aspect-ratio: 4 / 3;
}

media-player.aspect-1-1 {
    aspect-ratio: 1 / 1;
}

/* Size variants */
media-player.size-small {
    max-width: 400px;
    max-height: 300px;
}

media-player.size-medium {
    max-width: 800px;
    max-height: 600px;
}

media-player.size-large {
    max-width: 1200px;
    max-height: 900px;
}

/* Queue Monitor specific sizes */
media-player.size-fullscreen {
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
}

media-player.size-embedded {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
}

/* Loading states */
media-player[loading] {
    pointer-events: none;
}

media-player[loading]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* Error states */
media-player[error] {
    border: 2px solid #ff6b6b;
}

/* Focus states for accessibility */
media-player:focus-within {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    media-player {
        display: none;
    }
}