.modal-dialog {
    max-width: 90%;
    margin: 1.75rem auto;
}

.modal-content {
    width: 100%;
}

.table-responsive {
    overflow-x: auto;
}

.loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

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

.question-icon {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
}

.gallery-image {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.gallery-nav {
    font-size: 24px;
    cursor: pointer;
}

#linksContent td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

#linksContent td:nth-child(7) { /* Target Link column */
    max-width: 300px;
}
.modal-footer {
    border: 0;
}