/* Pro Video DRM - Player Styles */

.pvd-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.pvd-video-wrapper * {
    box-sizing: border-box;
}

/* Access Denied Styling */
.pvd-access-denied {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.25);
}

.pvd-access-denied p {
    font-size: 18px;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.pvd-access-denied .button {
    background: white;
    color: #667eea;
    border: none;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.pvd-access-denied .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Error Styling */
.pvd-error {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
    padding: 20px;
    border-radius: 4px;
    font-weight: 500;
    margin: 20px 0;
}

/* Loading State */
.pvd-loading-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pvd-loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: white;
    animation: pvd-spin 0.8s linear infinite;
}

@keyframes pvd-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive Video Container */
@media (max-width: 768px) {
    .pvd-video-wrapper {
        border-radius: 0;
    }
    
    .pvd-access-denied {
        padding: 30px 20px;
    }
    
    .pvd-access-denied p {
        font-size: 16px;
    }
}

/* Accessibility */
.pvd-video-wrapper:focus-within {
    outline: 2px solid #667eea;
    outline-offset: 4px;
}

/* Print Hiding */
@media print {
    .pvd-video-wrapper {
        display: none !important;
    }
}
