/* Dark Theme */
body {
    font-family: Arial, sans-serif;
    background-color: #181818;
    color: white;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
h1 {
    font-size: 22px;
    text-align: center;
}
.video-count {
    font-size: 14px;
    margin-bottom: 10px;
    color: #bbb;
}
/* Search & Filter Section */
.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    justify-content: center;
}
input, select {
    padding: 8px;
    font-size: 14px;
    border-radius: 5px;
    border: none;
    outline: none;
}
input {
    width: 200px;
}
select {
    cursor: pointer;
}
/* Video Grid */
.category-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 100%;
}
.panel {
    background: #282828;
    padding: 10px;
    border-radius: 8px;
    width: 48%;
    box-sizing: border-box;
}
.video-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #444;
    font-size: 0.75em; /* Change font size */
    position: relative;
}
.video-item span {
    padding-left: 10px; /* Left padding for serial number */
    cursor: pointer;
    margin-right: 10px; /* Add padding between serial number and title */
}
.video-item a {
    color: #00FF00;
    text-decoration: none;
    flex: 1;
    margin-right: 10px;
}
.video-item a:hover {
    text-decoration: underline;
}
.video-item .right-align {
    text-align: right;
    white-space: nowrap;
    flex: 0 0 80px; /* Fixed width for columns after upload date */
}
.icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 4px;
}
.thumbnail-popup {
    display: none;
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background-color: #000;
    border: 1px solid #444;
    padding: 5px;
    z-index: 10;
}
.video-item span:hover .thumbnail-popup {
    display: block;
}
