@import 'tailwindcss';

@import 'tw-animate-css';

@source '../views';
@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';

@custom-variant dark (&:is(.dark *));

@theme {
  --font-poppins:
    'Poppins', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',
    'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --font-inter:
    'Inter', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
    'Segoe UI Symbol', 'Noto Color Emoji';
  --font-syne:
    'Syne', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
    'Segoe UI Symbol', 'Noto Color Emoji';
  --font-lexend:
    'Lexend', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
    'Segoe UI Symbol', 'Noto Color Emoji';
  --font-architects:
    'Architects Daughter', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
    'Segoe UI Symbol', 'Noto Color Emoji';

  --radius-lg: var(--radius);
  --radius-md: calc(var(--radius) - 2px);
  --radius-sm: calc(var(--radius) - 4px);

  --color-background: var(--background);
  --color-background-layer: var(--background-layer);
  --color-foreground: var(--foreground);

  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);

  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);

  --color-primary: var(--primary);
  --color-primary-light: var(--primary-light);
  --color-primary-subtle: var(--primary-subtle);
  --color-primary-foreground: var(--primary-foreground);

  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);

  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);

  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);

  --color-success: var(--success);
  --color-success-subtle: var(--success-subtle);
  --color-success-foreground: var(--success-foreground);

  --color-info: var(--info);
  --color-info-foreground: var(--info-foreground);

  --color-warning: var(--warning);
  --color-warning-light: var(--warning-light);
  --color-warning-foreground: var(--warning-foreground);

  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);

  --color-purple: var(--purple);

  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);

  --color-chart-1: var(--chart-1);
  --color-chart-2: var(--chart-2);
  --color-chart-3: var(--chart-3);
  --color-chart-4: var(--chart-4);
  --color-chart-5: var(--chart-5);

  --color-header: var(--header);
  --color-table-header: var(--table-header);
  --color-table-odd: var(--table-odd);
  --color-table-even: var(--table-even);

  --color-progress: var(--progress);

  --color-sidebar: var(--sidebar);
  --color-sidebar-foreground: var(--sidebar-foreground);
  --color-sidebar-primary: var(--sidebar-primary);
  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  --color-sidebar-accent: var(--sidebar-accent);
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  --color-sidebar-border: var(--sidebar-border);
  --color-sidebar-ring: var(--sidebar-ring);

  --shadow-box: var(--shadow-box);
  --shadow-button: var(--shadow-button);
  --shadow-progress: var(--shadow-progress);
  --shadow-destructive: var(--shadow-destructive);

  --color-pm-yes: var(--pm-yes);
  --color-pm-yes-ink: var(--pm-yes-ink);
  --color-pm-yes-soft: var(--pm-yes-soft);
  --color-pm-no: var(--pm-no);
  --color-pm-no-ink: var(--pm-no-ink);
  --color-pm-no-soft: var(--pm-no-soft);
  --color-pm-accent: var(--pm-accent);
  --color-pm-surface: var(--pm-surface);
  --color-pm-surface-2: var(--pm-surface-2);
  --color-pm-line: var(--pm-line);
  --color-pm-bg-sunken: var(--pm-bg-sunken);
  --color-pm-eyebrow: var(--pm-eyebrow);
}

:root {
  --background: #fbfbfb;
  --background-layer: #fbfbfb;
  --foreground: #0c1d26;
  --card: #ffffff;
  --card-foreground: #0c1d26;
  --popover: oklch(1 0 0);
  --popover-foreground: #0c1d26;
  --primary: #8c45ff;
  --primary-light: #8c45ff;
  --primary-subtle: #eaffcd;
  --primary-foreground: #0c1d26;
  --secondary: #f3f3f4;
  --secondary-foreground: #000000;
  --muted: #f2f2f2;
  --muted-foreground: #768190;
  --accent: #fafafa;
  --accent-foreground: #0c1d26;
  --destructive: #ac222a;
  --destructive-subtle: #2b0a0a;
  --destructive-foreground: #ffffff;
  --success: #369900;
  --success-subtle: #ecfdf3;
  --success-foreground: #ffffff;
  --info: #2696ff;
  --info-foreground: #ffffff;
  --warning: #a77a00;
  --warning-light: #ffb302;
  --warning-foreground: #ffffff;
  --purple: #8c45ff;
  --border: #dfe1e3;
  --input: #dfe1e3;
  --ring: oklch(0.87 0 0);
  --chart-1: oklch(0.646 0.222 41.116);
  --chart-2: oklch(0.6 0.118 184.704);
  --chart-3: oklch(0.398 0.07 227.392);
  --chart-4: oklch(0.828 0.189 84.429);
  --chart-5: oklch(0.769 0.188 70.08);
  --radius: 0.625rem;
  --header: #ffffff;
  --table-header: #e4eaf1;
  --table-odd: #f3f3f4;
  --table-even: #ffffff;
  --progress:
    radial-gradient(50% 50% at 50% 50%, #fff 0%, #8b8b8b 100%),
    rgba(255, 255, 255, 0.1);
  --sidebar: radial-gradient(
    106.25% 34.15% at 50% 50%,
    #0a3b54 0%,
    #0c1d26 100%
  );
  --sidebar-foreground: rgba(255, 255, 255, 0.5);
  --sidebar-primary: oklch(0.205 0 0);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: #8c45ff;
  --sidebar-accent-foreground: rgba(255, 255, 255, 0.8);
  --sidebar-border: rgba(0, 0, 0, 0.05);
  --sidebar-ring: rgba(255, 255, 255, 0.5);

  --shadow-box: 0 6px 25px 0 rgba(0, 0, 0, 0.06);
  --shadow-button: 0 2px 5px 0 #95ff00 inset, 0 -5px 10px 0 #95ff00 inset;
  --shadow-progress: 0 2px 5px 0 #fff inset, 0 -5px 10px 0 #fff inset;
  --shadow-destructive: 0 2px 5px 0 #ff5e67 inset, 0 -5px 10px 0 #ff5e67 inset;
}

.theme-default {
  --background: #ffffff;
  --background-layer: #ffffff;
  --foreground: #1a2432;
  --card: #ffffff;
  --card-foreground: #1a2432;
  --popover: oklch(1 0 0);
  --popover-foreground: #0c1d26;
  --primary: #7d3bec;
  --primary-light: #7d3bec;
  --primary-subtle: #e6f4ff;
  --primary-foreground: #ffffff;
  --secondary: #e8e8e8;
  --secondary-foreground: #000000;
  --muted: #eef1f5;
  --muted-foreground: #607080;
  --accent: #eef1f5;
  --accent-foreground: #1a2432;
  --info: #2696ff;
  --info-foreground: #ffffff;
  --destructive: #b6252d;
  --destructive-subtle: #2b0a0a;
  --destructive-foreground: #ffffff;
  --success: #3db468;
  --success-subtle: #ecfdf3;
  --success-foreground: #ffffff;
  --warning: #a77a00;
  --warning-light: #ffb302;
  --warning-foreground: #ffffff;
  --purple: #8c45ff;
  --border: rgba(0, 0, 0, 0.08);
  --input: rgba(0, 0, 0, 0.08);
  --ring: oklch(0.87 0 0);
  --chart-1: oklch(0.646 0.222 41.116);
  --chart-2: oklch(0.6 0.118 184.704);
  --chart-3: oklch(0.398 0.07 227.392);
  --chart-4: oklch(0.828 0.189 84.429);
  --chart-5: oklch(0.769 0.188 70.08);
  --radius: 0.625rem;
  --table-header: rgba(0, 0, 0, 0.05);
  --table-odd: rgba(0, 0, 0, 0.02);
  --table-even: #ffffff;
  --header: #ffffff;
  --progress:
    radial-gradient(50% 50% at 50% 50%, #fff 0%, #8b8b8b 100%),
    rgba(255, 255, 255, 0.1);
  --sidebar: radial-gradient(
    106.25% 34.15% at 50% 50%,
    #0a3b54 0%,
    #0c1d26 100%
  );
  --sidebar-foreground: rgba(255, 255, 255, 0.5);
  --sidebar-primary: oklch(0.205 0 0);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: #0193fd;
  --sidebar-accent-foreground: #0c1d26;
  --sidebar-border: rgba(0, 0, 0, 0.05);
  --sidebar-ring: rgba(255, 255, 255, 0.5);

  --shadow-box: 0 6px 25px 0 rgba(0, 0, 0, 0.06);
  --shadow-button: 0 2px 5px 0 #0193fd inset, 0 -5px 10px 0 #0193fd inset;
  --shadow-progress: 0 2px 5px 0 #fff inset, 0 -5px 10px 0 #fff inset;
  --shadow-destructive: 0 2px 5px 0 #ff5e67 inset, 0 -5px 10px 0 #ff5e67 inset;

  --pm-yes: oklch(0.57 0.14 152);
  --pm-yes-ink: oklch(0.44 0.125 152);
  --pm-yes-soft: oklch(0.94 0.04 152);
  --pm-no: oklch(0.58 0.175 27);
  --pm-no-ink: oklch(0.5 0.18 27);
  --pm-no-soft: oklch(0.95 0.03 27);
  --pm-accent: oklch(0.53 0.18 268);
  --pm-surface: #ffffff;
  --pm-surface-2: oklch(0.978 0.002 250);
  --pm-line: rgba(0, 0, 0, 0.08);
  --pm-bg-sunken: oklch(0.972 0.002 250);
  --pm-eyebrow: oklch(0.62 0.01 250);
}

.theme-default.dark {
  --background: #080b13;
  --background-layer: #080b13;
  --foreground: #90939b;
  --card: #141721;
  --card-foreground: #ffffff;
  --popover: oklch(1 0 0);
  --popover-foreground: #0c1d26;
  --primary: #7d3bec;
  --primary-light: #7d3bec;
  --primary-subtle: #eaffcd;
  --primary-foreground: #ffffff;
  --secondary: #212430;
  --secondary-foreground: #ffffff;
  --muted: #1e2329;
  --muted-foreground: #768190;
  --accent: #1e2428;
  --accent-foreground: #0c1d26;
  --info: #2696ff;
  --info-foreground: #ffffff;
  --destructive: #b6252d;
  --destructive-subtle: #2b0a0a;
  --destructive-foreground: #ffffff;
  --success: #3db468;
  --success-subtle: #ecfdf3;
  --success-foreground: #ffffff;
  --warning: #a77a00;
  --warning-light: #ffb302;
  --warning-foreground: #ffffff;
  --purple: #8c45ff;
  --border: #dfe1e3;
  --input: #dfe1e3;
  --ring: oklch(0.87 0 0);
  --chart-1: oklch(0.646 0.222 41.116);
  --chart-2: oklch(0.6 0.118 184.704);
  --chart-3: oklch(0.398 0.07 227.392);
  --chart-4: oklch(0.828 0.189 84.429);
  --chart-5: oklch(0.769 0.188 70.08);
  --radius: 0.625rem;
  --table-header: rgba(0, 0, 0, 0.05);
  --table-odd: rgba(255, 255, 255, 0);
  --table-even: rgba(255, 255, 255, 0);
  --header: #ffffff;
  --progress:
    radial-gradient(50% 50% at 50% 50%, #fff 0%, #8b8b8b 100%),
    rgba(255, 255, 255, 0.1);
  --sidebar:
    linear-gradient(0deg, rgba(12, 29, 38, 0.7) 0%, rgba(12, 29, 38, 0.7) 100%),
    rgba(0, 0, 0, 0.5);
  --sidebar-foreground: rgba(255, 255, 255, 0.5);
  --sidebar-primary: oklch(0.205 0 0);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: #81c522;
  --sidebar-accent-foreground: #0c1d26;
  --sidebar-border: rgba(0, 0, 0, 0.05);
  --sidebar-ring: rgba(255, 255, 255, 0.5);

  --shadow-box: 0 6px 25px 0 rgba(0, 0, 0, 0.06);
  --shadow-button: 0 2px 5px 0 #95ff00 inset, 0 -5px 10px 0 #95ff00 inset;
  --shadow-progress: 0 2px 5px 0 #fff inset, 0 -5px 10px 0 #fff inset;
  --shadow-destructive: 0 2px 5px 0 #ff5e67 inset, 0 -5px 10px 0 #ff5e67 inset;

  --pm-yes: oklch(0.68 0.15 152);
  --pm-yes-ink: oklch(0.76 0.14 152);
  --pm-yes-soft: oklch(0.28 0.065 152);
  --pm-no: oklch(0.68 0.175 27);
  --pm-no-ink: oklch(0.73 0.165 27);
  --pm-no-soft: oklch(0.28 0.058 27);
  --pm-accent: oklch(0.64 0.17 268);
  --pm-surface: oklch(0.222 0.013 264);
  --pm-surface-2: oklch(0.255 0.013 264);
  --pm-line: oklch(0.295 0.012 264);
  --pm-bg-sunken: oklch(0.175 0.012 264);
  --pm-eyebrow: oklch(0.5 0.012 264);
}

@layer base {
  * {
    @apply border-border;
  }

  body {
    @apply bg-background text-foreground;
  }

  /* User-facing surfaces sit on a white background, so give their cards a
     subtle border for separation (Polymarket-style). Scoped to the user
     layout (.pm-surface) so admin cards are unaffected. Placed in the base
     layer so any per-card border utility (custom color, border-0,
     dark:border-transparent) still wins. */
  .pm-surface [data-slot='card'] {
    @apply border border-black/8 dark:border-white/8;
  }

  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  input[type='number'] {
    -moz-appearance: textfield;
  }

  .no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .scrollbar-gutter {
    scrollbar-gutter: stable;
  }

  .no-scrollbar::-webkit-scrollbar {
    display: none;
  }

  .container {
    max-width: 1240px;
    margin: 0 auto;
    height: 100%;
  }

  .sidebar-gradient {
    background: var(--sidebar);
  }

  .bg-progress {
    background: var(--progress);
  }

  @keyframes review-marquee {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

  .animate-review-marquee {
    animation: review-marquee linear infinite;
  }

  .rich-text {
    color: var(--foreground);
    line-height: 1.7;
    word-break: break-word;
  }

  .rich-text > :first-child {
    margin-top: 0;
  }

  .rich-text > :last-child {
    margin-bottom: 0;
  }

  .rich-text h1,
  .rich-text h2,
  .rich-text h3,
  .rich-text h4,
  .rich-text h5,
  .rich-text h6 {
    color: var(--foreground);
    font-weight: 700;
    line-height: 1.25;
    margin: 1.5em 0 0.6em;
  }

  .rich-text h1 {
    font-size: 2rem;
  }

  .rich-text h2 {
    font-size: 1.5rem;
  }

  .rich-text h3 {
    font-size: 1.25rem;
  }

  .rich-text h4 {
    font-size: 1.125rem;
  }

  .rich-text h5 {
    font-size: 1rem;
  }

  .rich-text h6 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .rich-text p {
    margin: 0 0 1em;
  }

  .rich-text a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .rich-text a:hover {
    opacity: 0.8;
  }

  .rich-text strong,
  .rich-text b {
    font-weight: 700;
    color: var(--foreground);
  }

  .rich-text em,
  .rich-text i {
    font-style: italic;
  }

  .rich-text ul,
  .rich-text ol {
    margin: 0 0 1em;
    padding-left: 1.5em;
  }

  .rich-text ul {
    list-style: disc;
  }

  .rich-text ol {
    list-style: decimal;
  }

  .rich-text li {
    margin: 0.25em 0;
  }

  .rich-text li > ul,
  .rich-text li > ol {
    margin: 0.25em 0;
  }

  .rich-text blockquote {
    margin: 0 0 1em;
    padding: 0.5em 1em;
    border-left: 3px solid var(--primary);
    color: var(--muted-foreground);
    font-style: italic;
  }

  .rich-text code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.875em;
    background: var(--muted);
    color: var(--foreground);
    padding: 0.15em 0.4em;
    border-radius: var(--radius-sm);
  }

  .rich-text pre {
    margin: 0 0 1em;
    padding: 1em;
    background: var(--muted);
    border-radius: var(--radius-md);
    overflow-x: auto;
  }

  .rich-text pre code {
    padding: 0;
    background: none;
    font-size: 0.875rem;
  }

  .rich-text img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
  }

  .rich-text hr {
    margin: 1.5em 0;
    border: 0;
    border-top: 1px solid var(--border);
  }

  .rich-text table {
    width: 100%;
    margin: 0 0 1em;
    border-collapse: collapse;
  }

  .rich-text th,
  .rich-text td {
    padding: 0.5em 0.75em;
    border: 1px solid var(--border);
    text-align: left;
  }

  .rich-text th {
    background: var(--muted);
    font-weight: 600;
  }

  .review-card {
    background: linear-gradient(180deg, #fcf5dc 0%, #fff 100%), #f9f9f9;
    transition: all 0.5s ease;
  }

  .review-card:hover {
    background:
      radial-gradient(50% 50% at 50% 50%, #2e1824 0%, #4a252d 100%), #76213a;
  }

  .review-card h3 {
    color: var(--secondary-foreground);
    transition: color 0.3s ease;
  }

  .review-card:hover h3 {
    color: var(--background);
  }

  .review-card p {
    color: rgba(0, 0, 0, 0.7);
    transition: color 0.3s ease;
  }

  .review-card:hover p {
    color: rgba(255, 255, 255, 0.7);
  }

  .glass-bg {
    border-radius: 16px;
    backdrop-filter: 3px;
    position: relative;

    @apply bg-white/50 dark:bg-black/15;

    &:before {
      position: absolute;
      content: '';
      inset: 0;
      border-radius: inherit;
      z-index: -1;
      background: linear-gradient(
        to bottom left,
        hsla(0, 0%, 100%, 0.2) 0%,
        transparent 62%,
        hsla(0, 0%, 100%, 0.2) 100%
      );
      mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
      mask-composite: exclude;
      padding: 2px;
    }
  }

  .token-gradient {
    position: relative;
    border-radius: 9999px;
    background: transparent;
    padding: 16px;
    height: 48px;
  }

  .token-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 3px;
    z-index: 0;

    background: linear-gradient(
      270deg,
      #47a300 0%,
      rgba(0, 0, 0) 50%,
      #8c45ff 100%
    );

    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    mask-composite: exclude;

    pointer-events: none;
  }

  .token-gradient > * {
    position: relative;
    z-index: 1;
  }

  @keyframes marquee {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

  .animate-marquee {
    animation: marquee 25s linear infinite;
  }

  .ai-gradient {
    background:
      linear-gradient(
        270deg,
        rgba(71, 163, 0, 0.1) 0%,
        rgba(255, 99, 99, 0.1) 29.81%,
        rgba(255, 39, 158, 0.1) 61.54%,
        rgba(140, 69, 255, 0.1) 100%
      ),
      rgba(255, 255, 255, 0.1);
  }

  .ai-glass-btn {
    position: relative;
    border-radius: 9999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    background:
      linear-gradient(
        270deg,
        rgba(71, 163, 0, 0.1) 0%,
        rgba(255, 99, 99, 0.1) 29.81%,
        rgba(255, 39, 158, 0.1) 61.54%,
        rgba(140, 69, 255, 0.1) 100%
      ),
      rgba(255, 255, 255, 0.1);
  }

  .ai-glass-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    z-index: 0;

    background: linear-gradient(
      270deg,
      rgba(71, 163, 0, 1) 0%,
      rgba(255, 99, 99, 1) 29.81%,
      rgba(255, 39, 158, 1) 61.54%,
      rgba(140, 69, 255, 1) 100%
    );

    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    mask-composite: exclude;

    pointer-events: none;
  }

  .ai-glass-btn > * {
    position: relative;
    z-index: 1;
  }

  @keyframes aiWaveFloat {
    0% {
      transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
      transform: translate3d(0, -10px, 0) scale(1.01);
    }
    100% {
      transform: translate3d(0, 0, 0) scale(1);
    }
  }

  @keyframes aiWaveDrift {
    0% {
      transform: translate3d(-14px, 0, 0);
    }
    50% {
      transform: translate3d(14px, 0, 0);
    }
    100% {
      transform: translate3d(-14px, 0, 0);
    }
  }

  @keyframes aiWavePulse {
    0%,
    100% {
      opacity: 0.9;
    }
    50% {
      opacity: 1;
    }
  }

  .ai-wave-layer-1 {
    transform-origin: 50% 50%;
    animation:
      aiWaveDrift 8s ease-in-out infinite,
      aiWavePulse 5s ease-in-out infinite;
  }

  .ai-wave-layer-2 {
    transform-origin: 50% 50%;
    animation:
      aiWaveDrift 10s ease-in-out infinite reverse,
      aiWavePulse 6s ease-in-out infinite;
  }

  .ai-wave-wrap {
    animation: aiWaveFloat 7s ease-in-out infinite;
    will-change: transform;
  }

  .ai-thinking-loader {
    animation: aiSpinScale 1.2s linear infinite;
    will-change: transform;
  }

  @keyframes aiSpinScale {
    0% {
      transform: rotate(0deg) scale(0.92);
    }
    50% {
      transform: rotate(180deg) scale(1.08);
    }
    100% {
      transform: rotate(360deg) scale(0.92);
    }
  }

  @keyframes dotScale {
    0%,
    80%,
    100% {
      transform: scale(0.6);
      opacity: 0.5;
    }
    40% {
      transform: scale(1);
      opacity: 1;
    }
  }

  .dots span {
    display: inline-block;
    animation: dotScale 1.4s infinite ease-in-out;
  }

  .dots span:nth-child(2) {
    animation-delay: 0.2s;
  }

  .dots span:nth-child(3) {
    animation-delay: 0.4s;
  }
}

.rc-pagination-custom {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;

  li.rc-pagination-total-text {
    border: none;
    background: transparent;
    cursor: default;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    min-width: unset;
    padding: 0 4px;
    pointer-events: none;
  }

  li {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: transparent;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition:
      background 150ms,
      color 150ms,
      border-color 150ms;
    color: var(--foreground);

    &:hover:not(.rc-pagination-disabled):not(.rc-pagination-item-active) {
      background: var(--primary-subtle);
      border-color: var(--primary-light);
      color: var(--primary);
    }

    &.rc-pagination-item-active {
      background: var(--primary-light);
      border-color: var(--primary-light);
      color: #ffffff;
    }

    &.rc-pagination-prev,
    &.rc-pagination-next {
      background: var(--secondary);
      border-color: var(--border);
      color: var(--foreground);
    }

    &.rc-pagination-disabled {
      opacity: 0.35;
      cursor: not-allowed;
      pointer-events: none;
    }

    &.rc-pagination-jump-prev,
    &.rc-pagination-jump-next {
      border-color: transparent;
      background: transparent;
    }

    button {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
      background: none;
      border: none;
      cursor: pointer;
      color: inherit;
    }

    a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
      color: inherit;
      text-decoration: none;
    }
  }
}
