#videoTable td {
    padding:0px;
}
#videos .video-card {
    display: flex;
    width: 100%;
    background-color: #FFFFFF;
    /*border: 1px solid #ccc;*/
    padding: 10px;
    align-items: flex-start; /* Align content to the top */
}

#videos .video-thumbnail {
    flex-shrink: 0;
    width: 150px;     /* Fixed width for the thumbnail */
    height: auto;
    margin-right: 20px;
}

#videos .video-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;  /* Makes the content stack vertically */
    justify-content: space-between; /* Ensures the tag pills are at the bottom */
    white-space: normal;
}

#videos .copy-link-container {
    color: #007bff;
    font-size: 1.5rem;
    margin-left: 10px;
    margin-right: 10px;
    transition: color 0.3s ease;
}

#videos .copy-link-container:hover {
    color: #0056b3;
}

#videos .shared-link-video {
    background-color: #d4edda !important; /* Sets a light green background */
}

#videos .video-info h4, .video-info p {
    margin: 5px 0;
}

#videos .video-info .video-tags {
    margin-top: 10px;
}

#videos .tag-pill {
    display: inline-block;
    padding: 5px 10px;
    margin-right: 5px;
    margin-bottom: 5px;
    background-color: #e0e0e0;
    color: #333;
    border-radius: 25px;
    font-size: 12px;
}

#videos .filter-select {
    margin: 10px;
}

#videoTableSearch {
    width: 80%;
}

/* Style for the search box */
#videos .search-box-container {
    margin: 10px 0;
    padding: 10px;
    background-color: #f7e688; /* Yellow filter box color */
    display: inline-block;
    width: fit-content;
}

#videos .filter-search {
    border: 1px solid #ccc;
    padding: 5px;
    font-size: 14px;
}

/* Style for the table wrapper */
#videos div.bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    flex-wrap: nowrap;  /* Ensure elements are on the same line */
}

#videos .dataTables_paginate {
    margin: 0;  /* Remove extra margin around pagination */
}

#videos .dt-column-order {
    display: none;
}

#videos .dt-layout-end .dt-paging {
    float: right;
    margin-right: 10px;
}

#videos div.dt-container select.dt-input {
    padding: 4px;
    margin-right: 10px;
}

/* Modal overlay */
#videoModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);  /* Dark transparent background */
    overflow: hidden;
}

/* Modal content */
#videoModal .modal-content {
    position: relative;
    margin: 8% auto 0 auto;
    padding: 0;
    background-color: transparent;
    width: 95%;
    height: 95%;
    max-width: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Close button */
#videoModal .close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 9999;
}

#videoModal .close-btn:hover {
    color: #2785de;  /* Red on hover */
}

/* Video container */
#videoModal .video-container {
    position: relative;
    width: 100%;
    height: 85%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

#videoModal .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}



