/* Video Player Modal */
.video-player-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    flex-direction: column;
}

.video-player-modal.active {
    display: flex;
}

/* Toolbar */
.video-player-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background-color: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: 48px;
}

.video-player-title {
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    font-family: 'Segoe UI Variable', 'Segoe UI', sans-serif;
}

.video-player-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Video Container */
.video-player-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

#video-player-element {
    max-width: 100%;
    max-height: 100%;
    outline: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

/* Reusing generic viewer styles if available, otherwise defined here */
.viewer-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: #fff;
    transition: background-color 0.1s ease;
}

.viewer-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.viewer-btn.close:hover {
    background-color: rgba(232, 17, 35, 0.9);
}