/* ... existing styles ... */

/* Custom Fields Styles */
.ncd-custom-fields {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.ncd-custom-field {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 5px;
}

.ncd-field-label {
    font-weight: 600;
    color: #666;
    margin-right: 5px;
}

.ncd-field-value {
    color: #333;
}

/* Table Custom Fields */
.ncd-table-custom-field {
    font-size: 14px;
}

/* Tags and Categories */
.ncd-categories,
.ncd-tags {
    font-size: 13px;
}

.ncd-categories a,
.ncd-tags a {
    color: #666;
    text-decoration: none;
}

.ncd-categories a:hover,
.ncd-tags a:hover {
    color: #0073aa;
}

/* Pagination Styles */
.ncd-pagination {
    margin-top: 30px;
    text-align: center;
}

.ncd-pagination ul {
    display: inline-block;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ncd-pagination li {
    display: inline-block;
    margin: 0 3px;
}

.ncd-pagination a,
.ncd-pagination span {
    display: inline-block;
    padding: 8px 12px;
    background: #f8f8f8;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 3px;
    transition: all 0.3s;
}

.ncd-pagination a:hover {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

.ncd-pagination .current {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

/* Load More Button */
.ncd-load-more {
    display: inline-block;
    padding: 12px 30px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.ncd-load-more:hover {
    background: #005a87;
}

.ncd-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* AJAX Loading States */
.ncd-loading {
    text-align: center;
    padding: 40px;
}

.ncd-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0073aa;
    border-radius: 50%;
    animation: ncd-spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes ncd-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ncd-content-wrapper.ncd-loading {
    position: relative;
    opacity: 0.5;
    pointer-events: none;
}

.ncd-content-wrapper.ncd-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: ncd-spin 1s linear infinite;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .ncd-custom-field {
        display: block;
        margin-right: 0;
    }
    
    .ncd-pagination a,
    .ncd-pagination span {
        padding: 6px 10px;
        font-size: 14px;
    }
}
