.timelines-and-video-parent {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: row;
    overflow: hidden;
    box-sizing: border-box;
    position: relative; /* Add this for absolute positioning of delete button */
}

.video-parent {
    flex: 1;
    height: 100%;
    min-width: 0;
    background: #000;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timelines-parent {
    flex: 1;
    height: 100%;
    min-width: 0;
    background: #20232a;
    color: #fff;
    padding: 16px;
    box-sizing: border-box;
    overflow-y: auto;
}

/* Delete button styling */
.delete-video-btn {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 28px;
    height: 28px;
    background: rgba(255, 71, 87, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.delete-video-btn:hover {
    background: rgba(255, 71, 87, 1);
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
}

.delete-video-btn:active {
    transform: scale(0.95);
}

/* Force Video.js to fit properly within container */
.video-parent .video-js {
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
}

.video-parent .video-js video,
.video-parent .video-js .vjs-tech {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain !important;
}