:root {
    --pg-bg: #fff;
    --pg-fg: #111;
    --pg-muted: #6b7280;
    --pg-ring: 34, 197, 94;
    --pg-br: #e5e7eb;
    --pg-hover: #f3f4f6;
    --pg-active-bg: #111;
    --pg-active-fg: #fff;
    --pg-radius: 9999px;
    --pg-gap: .375rem;
    --pg-padding-x: .75rem;
    --pg-padding-y: .5rem;
    --pg-font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.pagination {
    font-family: var(--pg-font);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: .75rem 0;
}
.pagination__list {
    display: inline-flex;
    gap: var(--pg-gap);
    list-style: none;
    padding: 0;
    margin: 0;
    background: color-mix(in lab, var(--pg-bg) 85%, transparent);
    border: 1px solid var(--pg-br);
    border-radius: calc(var(--pg-radius) + 6px);
    padding: .375rem;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.pagination__list {
    display: inline-flex;
    gap: var(--pg-gap);
    list-style: none;
    padding: 0;
    margin: 0;
    background: color-mix(in lab, var(--pg-bg) 85%, transparent);
    border: 1px solid var(--pg-br);
    border-radius: calc(var(--pg-radius) + 6px);
    padding: .375rem;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.pl-page.is-active {
    background: var(--pg-active-bg);
    color: var(--pg-active-fg);
    border-color: var(--pg-active-bg);
}
.pl-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    padding: var(--pg-padding-y) var(--pg-padding-x);
    border-radius: var(--pg-radius);
    text-decoration: none;
    color: var(--pg-fg);
    border: 1px solid transparent;
    line-height: 1;
    font-size: .95rem;
    transition: transform .06s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
    user-select: none;
}
/* Custom Search Bar */
.om_search_bar {
    display: flex;
    align-items: center;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    overflow: hidden;
}
.om_search_bar input {
    border: none;
    outline: none;
    flex: 1;
    padding: 0.375rem 0.75rem;
}
.om_search_bar svg {
    margin: 0 0.5rem;
    color: #495057;
}
/* Optional: Adjust spacing for selects on smaller screens */
.select_input {
    width: 100%;
}
/* Full screen overlay */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Spinner */
.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ddd;
    border-top: 5px solid #3498db; /* primary color */
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.generate-all-btn{
    margin-bottom: 10px;
}