.popup {
    display: none;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    color: white;
    text-align: center;
    z-index: 1000;
}

.popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.gallery-video-thumbnail{
    width: 100%;
    height: 168px;
    object-fit: cover;
}

.video-thumnail-container {
    position: relative;
    display: inline-block;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.height_156{
    height: 156px;
    overflow: hidden;
}

.item-inline__date.dt_expiration{
    position: absolute;
    bottom: 16px;
    left: 25px;
}

@media only screen and (max-width: 768px) {
    .item-inline__date.dt_expiration{
        position: static;
    }
}

.upload-progress {
    width: 100%;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    margin-top: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #4CAF50;
    width: 0%;
    transition: width 0.3s ease;
}

.upload-success {
    color: #4CAF50;
    font-weight: bold;
    text-align: center;
    padding: 5px;
}

.upload-error {
    color: #f44336;
    font-weight: bold;
    text-align: center;
    padding: 5px;
}