| @tailwind base; |
| @tailwind components; |
| @tailwind utilities; |
| |
| button:hover img { |
| filter: brightness(0) invert(1); |
| } |
| |
| .custom-theme-button:hover img { |
| filter: none !important; |
| } |
| |
| .dropdown-content { |
| max-height: var(--radix-dropdown-menu-content-available-height); |
| overflow-y: auto; |
| } |
| |
| /* ------------------------------ */ |
| ::-webkit-scrollbar { |
| width: 14px; |
| height: 14px; |
| } |
| |
| ::-webkit-scrollbar-thumb { |
| background-color: rgba(0, 0, 0, 0.4); |
| border-radius: 7px; |
| } |
| |
| ::-webkit-scrollbar-thumb:hover { |
| background-color: rgba(0, 0, 0, 0.6); |
| } |
| |
| ::-webkit-scrollbar-track { |
| background: transparent; |
| } |
| /* ------------------------------ */ |
| |
| /* ------------------------------ */ |
| .btn-active { |
| @apply border-primary text-primary bg-secondary hover:bg-primary hover:text-primary-foreground shadow-sm transition-all duration-200 hover:shadow-md; |
| } |
| |
| .btn-disabled { |
| @apply border-gray-300 text-gray-300 bg-gray-100 cursor-not-allowed; |
| } |
| |
| .btn-primary { |
| @apply bg-primary text-primary-foreground hover:bg-primary/90 shadow-sm hover:shadow-md transition-all duration-200 rounded-lg px-4 py-2 font-medium; |
| } |
| |
| .btn-secondary { |
| @apply bg-secondary text-secondary-foreground hover:bg-secondary/80 shadow-sm hover:shadow-md transition-all duration-200 rounded-lg px-4 py-2 font-medium border border-border; |
| } |
| /* ------------------------------ */ |
| |
| @layer base { |
| :root { |
| --background: 0 0% 100%; |
| --foreground: 222 47% 11%; |
| --card: 0 0% 100%; |
| --card-foreground: 222 47% 11%; |
| --popover: 0 0% 100%; |
| --popover-foreground: 222 47% 11%; |
| --primary: 262 52% 47%; |
| --primary-foreground: 0 0% 100%; |
| --secondary: 210 40% 96%; |
| --secondary-foreground: 222 47% 11%; |
| --muted: 210 40% 96%; |
| --muted-foreground: 215 16% 47%; |
| --accent: 210 40% 96%; |
| --accent-foreground: 222 47% 11%; |
| --destructive: 0 84% 60%; |
| --destructive-foreground: 0 0% 98%; |
| --border: 214 32% 91%; |
| --input: 214 32% 91%; |
| --ring: 262 52% 47%; |
| --chart-1: 12 76% 61%; |
| --chart-2: 173 58% 39%; |
| --chart-3: 197 37% 24%; |
| --chart-4: 43 74% 66%; |
| --chart-5: 27 87% 67%; |
| --radius: 0.5rem; |
| } |
| .dark { |
| --background: 222 47% 11%; |
| --foreground: 210 40% 98%; |
| --card: 222 47% 11%; |
| --card-foreground: 210 40% 98%; |
| --popover: 222 47% 11%; |
| --popover-foreground: 210 40% 98%; |
| --primary: 261 46% 86%; |
| --primary-foreground: 222 47% 11%; |
| --secondary: 217 33% 22%; |
| --secondary-foreground: 210 40% 98%; |
| --muted: 217 33% 17%; |
| --muted-foreground: 215 20% 65%; |
| --accent: 217 33% 17%; |
| --accent-foreground: 210 40% 98%; |
| --destructive: 0 63% 31%; |
| --destructive-foreground: 210 40% 98%; |
| --border: 217 33% 35%; |
| --input: 217 33% 25%; |
| --ring: 261 46% 86%; |
| --chart-1: 220 70% 50%; |
| --chart-2: 160 60% 45%; |
| --chart-3: 30 80% 55%; |
| --chart-4: 280 65% 60%; |
| --chart-5: 340 75% 55%; |
| } |
| } |
| @layer base { |
| * { |
| @apply border-border; |
| } |
| body { |
| @apply bg-background text-foreground; |
| } |
| html { |
| scroll-behavior: smooth; |
| } |
| } |
| |
| /* Policy highlight for role-graph selections: full-line background + left yellow bar */ |
| .cm-line.policy-highlight-line { |
| background: rgba(250, 230, 120, 0.25); |
| } |