.preview-container {
    display: flex;
    flex-wrap: wrap;
}

.image-wrapper {
    position: relative;
    display: inline-block;
    margin: 10px;
    text-align: center;
}

.image-wrapper img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    cursor: pointer;
    display: block;
}

.remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
}

.error-container {
    color: red;
    display: none;
    margin-top: 10px;
}

.image-info {
    font-size: 12px;
    color: #555;
    margin-top: 5px;
    width: 100%;
    text-align: left;
}

.hidden {
    display: none;
}


.nav-tabs {
    border-bottom: none;
    display: flex;
    justify-content: space-between;
}

.nav-tabs .nav-item {
    flex: 1;
    text-align: center;
}

.nav-tabs .nav-link {
    border: none;
    color: #808080;
    width: 100%;
    border-top: 1px solid lightblue;
    border-left: 1px solid lightblue;
    border-right: 1px solid lightblue;
    border-bottom: none;
}

.nav-tabs .nav-link.active {
    color: #007bff;
    background-color: transparent;
    border-top: 1px solid transparent;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid blueviolet;
}

.nav-tabs .nav-link:not(.active):hover {
    border-top: 1px solid lightblue;
    border-left: 1px solid lightblue;
    border-right: 1px solid lightblue;
    border-bottom: none;
}

.nav-link.disabled {
    pointer-events: none;
    color: gray !important;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .nav-tabs {
        flex-direction: column;
    }

    .nav-tabs .nav-item {
        width: 100%;
    }
}

.preview-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}

.preview-container video,
.preview-container iframe {
    max-width: 150px;
    margin: 5px;

}



/* Style iframe preview in modal */
#youtubePreview {
    width: 100%;
    height: 400px;
    border: none;
}

.rules-list {
    list-style-type: none;
    padding-left: 0;
}

.rules-list li {
    font-size: 0.9rem;
}

/* Container for each reel thumbnail with overlay buttons */
.thumb-container {
    position: relative;
    width: 200px;
    display: inline-block;
}

.thumb-container video,
.thumb-container iframe {
    width: 200px;
    height: auto;
    display: block;
}

.overlay-buttons {
    position: absolute;
    bottom: 5px;
    left: 5px;
    right: 5px;
    display: flex;
    justify-content: space-between;
    opacity: 0.8;
}

.overlay-buttons button {
    font-size: 0.75rem;
    padding: 2px 5px;
}

.card-style {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-style:hover {
    transform: translateY(-5px) scale(1.05) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}