/* ===================================
   REPORTS & ANALYTICS STYLING
   =================================== */

/* Container */
.reports-container {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
.reports-header {
    margin-bottom: 2rem;
}

.reports-header h1 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reports-header p {
    color: #6b7280;
    font-size: 1rem;
}

.report-header {
    margin-bottom: 2rem;
}

.report-header h1 {
    font-size: 1.75rem;
    color: #1f2937;
    margin: 1rem 0;
}

.campaign-meta {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Back Button */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #374151;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-back:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.stat-icon.completion,
.stat-icon.approved,
.stat-icon.completed {
    background: linear-gradient(135deg, #10b981, #059669);
}

.stat-icon.revoked {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.stat-icon.pending {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.stat-icon.total {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.stat-icon.active {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.stat-icon.compliance {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.stat-content {
    flex: 1;
}

.stat-content .value {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
}

.stat-content .label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Report Sections */
.report-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.report-section h2 {
    font-size: 1.25rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.report-section h2 svg {
    width: 20px;
    height: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    margin: 0;
}

.section-actions input {
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.875rem;
    width: 300px;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

.report-table {
    width: 100%;
    border-collapse: collapse;
}

.report-table th {
    background: #f9fafb;
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
    border-bottom: 2px solid #e5e7eb;
}

.report-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.875rem;
}

.report-table tr:hover {
    background: #f9fafb;
}

.reviewer-cell strong {
    color: #1f2937;
}

.reviewer-cell small {
    color: #6b7280;
}

.text-success {
    color: #10b981;
    font-weight: 500;
}

.text-danger {
    color: #ef4444;
    font-weight: 500;
}

.progress-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.progress-value {
    font-weight: 600;
    min-width: 40px;
}

.progress-bar-small {
    flex: 1;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    transition: width 0.3s ease;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-info {
    background: #dbeafe;
    color: #1e40af;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

/* Risk Cards */
.risk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.risk-card {
    border: 2px solid;
    border-radius: 8px;
    padding: 1.5rem;
}

.risk-card.risk-high {
    border-color: #ef4444;
    background: #fef2f2;
}

.risk-card.risk-medium {
    border-color: #f59e0b;
    background: #fffbeb;
}

.risk-card.risk-low {
    border-color: #10b981;
    background: #f0fdf4;
}

.risk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.risk-header h3 {
    margin: 0;
    font-size: 1.125rem;
}

.risk-card.risk-high h3 {
    color: #dc2626;
}

.risk-card.risk-medium h3 {
    color: #d97706;
}

.risk-card.risk-low h3 {
    color: #059669;
}

.risk-icon svg {
    width: 24px;
    height: 24px;
}

.risk-card.risk-high .risk-icon svg {
    color: #ef4444;
}

.risk-card.risk-medium .risk-icon svg {
    color: #f59e0b;
}

.risk-card.risk-low .risk-icon svg {
    color: #10b981;
}

.risk-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.risk-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.risk-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.risk-value {
    font-weight: 600;
    font-size: 1.125rem;
    color: #1f2937;
}

.risk-summary {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #3b82f6;
}

.risk-summary p {
    margin: 0.5rem 0;
    color: #374151;
}

/* Export Actions */
.export-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-export {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-export:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3);
}

.btn-export.btn-secondary {
    background: white;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.btn-export.btn-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Campaigns Grid (Landing Page) */
.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.campaign-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s;
}

.campaign-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.campaign-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.campaign-header h3 {
    margin: 0;
    font-size: 1.125rem;
    color: #1f2937;
}

.campaign-status {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.campaign-status svg {
    width: 14px;
    height: 14px;
}

.status-completed {
    background: #d1fae5;
    color: #065f46;
}

.status-active {
    background: #dbeafe;
    color: #1e40af;
}

.status-draft {
    background: #f3f4f6;
    color: #6b7280;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.meta-item svg {
    width: 16px;
    height: 16px;
}

.campaign-actions {
    margin-top: 1rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3);
}

/* Empty/Error States */
.empty-state,
.error-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
}

.empty-state svg,
.error-state svg {
    width: 64px;
    height: 64px;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.empty-state h3,
.error-state h2 {
    color: #374151;
    margin: 1rem 0 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .reports-container {
        padding: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .campaigns-grid {
        grid-template-columns: 1fr;
    }
    
    .section-actions input {
        width: 100%;
    }
    
    .export-actions {
        flex-direction: column;
    }
    
    .btn-export {
        width: 100%;
        justify-content: center;
    }
    
    .campaign-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}


/* ============================================
   CAMPAIGN REPORT - CLICKABLE STATS
   ============================================ */

.stat-card-clickable {
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.stat-card-clickable::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.stat-card-clickable:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.stat-card-clickable:hover::after {
    opacity: 1;
}

.stat-hint {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.stat-card-clickable:hover .stat-hint {
    opacity: 1;
}

/* ============================================
   ITEMS DETAIL SECTION
   ============================================ */

#items-detail-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
}

#items-detail-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

#items-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
}

.items-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.items-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.items-table thead {
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
}

.items-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}

.items-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.15s ease;
}

.items-table tbody tr:hover {
    background-color: #f9fafb;
}

.items-table td {
    padding: 1rem;
    vertical-align: middle;
}

.item-user {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-user strong {
    font-weight: 600;
    color: #111827;
}

.item-user-id {
    font-size: 0.75rem;
    color: #6b7280;
}

.decision-badge,
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.decision-approved {
    background: #d1fae5;
    color: #065f46;
}

.decision-revoked {
    background: #fee2e2;
    color: #991b1b;
}

.decision-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-completed {
    background: #dbeafe;
    color: #1e40af;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-in-progress {
    background: #e0e7ff;
    color: #3730a3;
}

.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.table-footer span {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Empty state for items table */
.items-table-wrapper .empty-state {
    padding: 3rem 2rem;
    text-align: center;
}

.items-table-wrapper .empty-state i {
    width: 48px;
    height: 48px;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.items-table-wrapper .empty-state p {
    color: #6b7280;
    font-size: 1rem;
}

/* Responsive design */
@media (max-width: 1024px) {
    .items-table {
        font-size: 0.8125rem;
    }
    
    .items-table th,
    .items-table td {
        padding: 0.625rem 0.75rem;
    }
}

@media (max-width: 768px) {
    .items-table-wrapper {
        overflow-x: scroll;
    }
    
    .items-table {
        min-width: 800px;
    }
    
    .table-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}
/* Load Template Modal Styles */

.template-section {
  margin-bottom: 24px;
}

.template-section-title {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.template-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  gap: 12px;
}

.template-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
  transform: translateY(-1px);
}

.template-card.custom-template {
  position: relative;
}

.template-card-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
}

.template-card-content {
  flex: 1;
  min-width: 0;
}

.template-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.template-card p {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 8px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.template-card-meta {
  font-size: 12px;
  color: #9ca3af;
}

.template-card-actions {
  display: flex;
  gap: 4px;
  align-items: flex-start;
}

.btn-icon {
  background: transparent;
  border: none;
  padding: 6px;
  cursor: pointer;
  border-radius: 4px;
  color: #6b7280;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon:hover {
  background: #f3f4f6;
  color: #111827;
}

.btn-icon.btn-danger:hover {
  background: #fee2e2;
  color: #dc2626;
}

.btn-icon svg {
  width: 16px;
  height: 16px;
}

.template-empty-state {
  text-align: center;
  padding: 48px 24px;
  color: #9ca3af;
}

.template-empty-state i {
  display: block;
  margin: 0 auto 16px;
}

.template-empty-state svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

.template-empty-state p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

/* Modal adjustments for template modal */
#load-template-modal .modal-content {
  max-height: 80vh;
  overflow-y: auto;
}

#load-template-modal .modal-body {
  max-height: calc(80vh - 140px);
  overflow-y: auto;
}


/* ============================================================================
   MULTI-SELECT FILTER STYLES (OR Logic)
   ============================================================================ */

/* Duplicate Filter Button */
.btn-duplicate-filter {
  background: #10b981;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  margin-left: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
}

.btn-duplicate-filter:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.btn-duplicate-filter:active {
  transform: translateY(0);
}

.btn-duplicate-filter svg {
  width: 16px;
  height: 16px;
}

/* OR Indicator */
.or-indicator {
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  background: #f59e0b;
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Filter Row Continuation (part of OR group) */
.filter-row-continuation {
  position: relative;
  border-left: 3px solid #f59e0b;
  padding-left: 12px;
  margin-left: 24px;
}

.filter-row-continuation::before {
  content: '';
  position: absolute;
  left: -3px;
  top: -8px;
  bottom: -8px;
  width: 3px;
  background: linear-gradient(to bottom, transparent, #f59e0b, #f59e0b, transparent);
}

/* Filter Actions Column - ensure buttons are aligned */
.filter-actions-column {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Animation for newly added duplicate filters */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.filter-row-continuation {
  animation: slideIn 0.3s ease-out;
}


/* ============================================================================
   RESULTS PREVIEW STYLES
   ============================================================================ */

.results-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 14px;
  color: #64748b;
  min-width: 150px;
  justify-content: center;
}

.preview-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6;
}

.preview-loading .spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.preview-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.preview-count.has-results {
  color: #10b981;
}

.preview-count.has-results svg {
  color: #10b981;
}

.preview-count.no-results {
  color: #ef4444;
}

.preview-count.no-results svg {
  color: #ef4444;
}

.preview-count svg {
  width: 16px;
  height: 16px;
}

/* Footer layout adjustment for preview */
.filter-builder-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-builder-card-footer .footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Make preview more prominent when has results */
.results-preview:has(.has-results) {
  background: #ecfdf5;
  border: 1px solid #10b981;
}

.results-preview:has(.no-results) {
  background: #fef2f2;
  border: 1px solid #ef4444;
}


/* ============================================================================
   PAGINATION STYLES
   ============================================================================ */

.pagination-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  margin-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  flex-wrap: wrap;
  gap: 16px;
}

.pagination-info {
  font-size: 14px;
  color: #6b7280;
}

.pagination-info strong {
  color: #1f2937;
}

.pagination-info .search-indicator {
  color: #3b82f6;
  margin-left: 8px;
}

.pagination-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.page-size-label,
.sort-controls label {
  font-size: 14px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-size-select,
.sort-select {
  padding: 6px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  background: white;
  cursor: pointer;
}

.page-size-select:focus,
.sort-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.sort-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-sort-order {
  padding: 6px 8px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-sort-order:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}

.btn-sort-order svg {
  width: 16px;
  height: 16px;
  color: #6b7280;
}

/* Pagination Navigation */
.pagination-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.pagination-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: white;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
  background: #f3f4f6;
  border-color: #9ca3af;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-btn.active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: white;
}

.pagination-btn svg {
  width: 16px;
  height: 16px;
}

.pagination-ellipsis {
  padding: 0 8px;
  color: #9ca3af;
}

/* Responsive pagination */
@media (max-width: 768px) {
  .pagination-controls {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .pagination-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .pagination-nav {
    flex-wrap: wrap;
  }
}
