.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background-color: var(--card-bg-color);
    padding: 20px;
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-content video {
    width: 100%;
    max-height: 400px;
    margin-bottom: 10px;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-color);
}

.video-history-card {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    cursor: pointer;
}
.video-history-card img {
    width: 120px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
}
.video-history-info h3 {
    margin: 0;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.video-history-info p {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--secondary-text-color);
}