@import 'tailwindcss';

@import 'tw-animate-css';

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

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

@theme inline {
    --font-sans: Instrument Sans, ui-sans-serif, system-ui, 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-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-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-destructive: var(--destructive);
    --color-destructive-foreground: var(--destructive-foreground);

    --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-sidebar: var(--sidebar-background);
    --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);
    --animate-accordion-down: accordion-down 0.2s ease-out;
    --animate-accordion-up: accordion-up 0.2s ease-out;
  @keyframes accordion-down {
  from {
    height: 0;
        }
  to {
    height: var(--reka-accordion-content-height);
        }
    }
  @keyframes accordion-up {
  from {
    height: var(--reka-accordion-content-height);
        }
  to {
    height: 0;
        }
    }
}

/*
  The default border color has changed to `currentColor` in Tailwind CSS v4,
  so we've added these compatibility styles to make sure everything still
  looks the same as it did with Tailwind CSS v3.

  If we ever want to remove these styles, we need to add an explicit border
  color utility to any element that depends on these defaults.
*/
@layer base {
    *,
    ::after,
    ::before,
    ::backdrop,
    ::file-selector-button {
        border-color: var(--color-gray-200, currentColor);
    }
}

@layer utilities {
    body,
    html {
        --font-sans:
            'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    }
}

:root {
    --background: hsl(0 0% 100%);
    --foreground: hsl(224 71.4% 4.1%);
    --card: hsl(0 0% 100%);
    --card-foreground: hsl(224 71.4% 4.1%);
    --popover: hsl(0 0% 100%);
    --popover-foreground: hsl(224 71.4% 4.1%);
    --primary: hsl(220.9 39.3% 11%);
    --primary-foreground: hsl(210 20% 98%);
    --secondary: hsl(220 14.3% 95.9%);
    --secondary-foreground: hsl(220.9 39.3% 11%);
    --muted: hsl(220 14.3% 95.9%);
    --muted-foreground: hsl(220 8.9% 46.1%);
    --accent: hsl(220 14.3% 95.9%);
    --accent-foreground: hsl(220.9 39.3% 11%);
    --destructive: hsl(0 84.2% 60.2%);
    --destructive-foreground: hsl(210 40% 98%);
    --border: hsl(220 13% 91%);
    --input: hsl(220 13% 91%);
    --ring: hsl(220.9 39.3% 11%);
    --chart-1: hsl(12 76% 61%);
    --chart-2: hsl(173 58% 39%);
    --chart-3: hsl(197 37% 24%);
    --chart-4: hsl(43 74% 66%);
    --chart-5: hsl(27 87% 67%);
    --radius: 0.5rem;

    /* Default Theme: Professional */
    --school-primary: hsl(220.9 39.3% 11%);
    --school-secondary: hsl(142.1 70% 45.3%);
    --school-accent: hsl(47.9 95.8% 53.1%);
    --school-success: hsl(142.1 76.2% 36.3%);
    --school-warning: hsl(32.6 94.6% 43.7%);
    --school-error: hsl(0 84.2% 60.2%);
    --school-info: hsl(221.2 83.2% 53.3%);
    --school-primary-light: hsl(220.9 39.3% 25%);
    --school-secondary-light: hsl(142.1 70% 55%);
    --school-accent-light: hsl(47.9 95.8% 65%);

    --sidebar-background: hsl(220.9 39.3% 11%);
    --sidebar-foreground: hsl(210 20% 98%);
    --sidebar-primary: hsl(210 20% 98%);
    --sidebar-primary-foreground: hsl(220.9 39.3% 11%);
    --sidebar-accent: hsl(220.9 39.3% 15%);
    --sidebar-accent-foreground: hsl(210 20% 98%);
    --sidebar-border: hsl(220.9 39.3% 15%);
    --sidebar-ring: hsl(142.1 70% 45.3%);
    --sidebar: hsl(220.9 39.3% 11%);
}

/* Theme: Vibrant */
[data-theme="vibrant"] {
    --school-primary: hsl(262.1 83.3% 57.8%);
    --school-secondary: hsl(142.1 76.2% 36.3%);
    --school-accent: hsl(38.4 92.1% 50.2%);
    --school-success: hsl(142.1 76.2% 36.3%);
    --school-warning: hsl(38.4 92.1% 50.2%);
    --school-error: hsl(0 84.2% 60.2%);
    --school-info: hsl(199.4 89.2% 48.4%);
    --school-primary-light: hsl(262.1 83.3% 70%);
    --school-secondary-light: hsl(142.1 76.2% 50%);
    --school-accent-light: hsl(38.4 92.1% 65%);

    --sidebar-background: hsl(262.1 83.3% 57.8%);
    --sidebar-foreground: hsl(210 40% 98%);
    --sidebar-primary: hsl(210 40% 98%);
    --sidebar-primary-foreground: hsl(262.1 83.3% 57.8%);
    --sidebar-accent: hsl(262.1 83.3% 65%);
    --sidebar-accent-foreground: hsl(210 40% 98%);
    --sidebar-border: hsl(262.1 83.3% 65%);
    --sidebar-ring: hsl(142.1 76.2% 36.3%);
    --sidebar: hsl(262.1 83.3% 57.8%);
}

/* Theme: Ocean */
[data-theme="ocean"] {
    --school-primary: hsl(199.4 89.2% 48.4%);
    --school-secondary: hsl(187.2 85.7% 53.3%);
    --school-accent: hsl(173.4 80.4% 40%);
    --school-success: hsl(142.1 76.2% 36.3%);
    --school-warning: hsl(32.6 94.6% 43.7%);
    --school-error: hsl(0 84.2% 60.2%);
    --school-info: hsl(199.4 89.2% 48.4%);
    --school-primary-light: hsl(199.4 89.2% 60%);
    --school-secondary-light: hsl(187.2 85.7% 65%);
    --school-accent-light: hsl(173.4 80.4% 55%);

    --sidebar-background: hsl(199.4 89.2% 48.4%);
    --sidebar-foreground: hsl(210 40% 98%);
    --sidebar-primary: hsl(210 40% 98%);
    --sidebar-primary-foreground: hsl(199.4 89.2% 48.4%);
    --sidebar-accent: hsl(199.4 89.2% 55%);
    --sidebar-accent-foreground: hsl(210 40% 98%);
    --sidebar-border: hsl(199.4 89.2% 55%);
    --sidebar-ring: hsl(187.2 85.7% 53.3%);
    --sidebar: hsl(199.4 89.2% 48.4%);
}

/* Theme: Forest */
[data-theme="forest"] {
    --school-primary: hsl(142.1 76.2% 36.3%);
    --school-secondary: hsl(120 60% 50%);
    --school-accent: hsl(84.8 85.2% 40.4%);
    --school-success: hsl(142.1 76.2% 36.3%);
    --school-warning: hsl(32.6 94.6% 43.7%);
    --school-error: hsl(0 84.2% 60.2%);
    --school-info: hsl(199.4 89.2% 48.4%);
    --school-primary-light: hsl(142.1 76.2% 50%);
    --school-secondary-light: hsl(120 60% 65%);
    --school-accent-light: hsl(84.8 85.2% 55%);

    --sidebar-background: hsl(142.1 76.2% 36.3%);
    --sidebar-foreground: hsl(210 40% 98%);
    --sidebar-primary: hsl(210 40% 98%);
    --sidebar-primary-foreground: hsl(142.1 76.2% 36.3%);
    --sidebar-accent: hsl(142.1 76.2% 45%);
    --sidebar-accent-foreground: hsl(210 40% 98%);
    --sidebar-border: hsl(142.1 76.2% 45%);
    --sidebar-ring: hsl(120 60% 50%);
    --sidebar: hsl(142.1 76.2% 36.3%);
}

/* Theme: Sunset */
[data-theme="sunset"] {
    --school-primary: hsl(14.3 100% 53.3%);
    --school-secondary: hsl(38.4 92.1% 50.2%);
    --school-accent: hsl(340.7 82.2% 52.5%);
    --school-success: hsl(142.1 76.2% 36.3%);
    --school-warning: hsl(38.4 92.1% 50.2%);
    --school-error: hsl(0 84.2% 60.2%);
    --school-info: hsl(199.4 89.2% 48.4%);
    --school-primary-light: hsl(14.3 100% 65%);
    --school-secondary-light: hsl(38.4 92.1% 65%);
    --school-accent-light: hsl(340.7 82.2% 65%);

    --sidebar-background: hsl(14.3 100% 53.3%);
    --sidebar-foreground: hsl(210 40% 98%);
    --sidebar-primary: hsl(210 40% 98%);
    --sidebar-primary-foreground: hsl(14.3 100% 53.3%);
    --sidebar-accent: hsl(14.3 100% 60%);
    --sidebar-accent-foreground: hsl(210 40% 98%);
    --sidebar-border: hsl(14.3 100% 60%);
    --sidebar-ring: hsl(38.4 92.1% 50.2%);
    --sidebar: hsl(14.3 100% 53.3%);
}

/* Theme: Royal */
[data-theme="royal"] {
    --school-primary: hsl(263.4 70% 50.4%);
    --school-secondary: hsl(280.7 89.6% 50.4%);
    --school-accent: hsl(291.3 84% 61%);
    --school-success: hsl(142.1 76.2% 36.3%);
    --school-warning: hsl(32.6 94.6% 43.7%);
    --school-error: hsl(0 84.2% 60.2%);
    --school-info: hsl(199.4 89.2% 48.4%);
    --school-primary-light: hsl(263.4 70% 65%);
    --school-secondary-light: hsl(280.7 89.6% 65%);
    --school-accent-light: hsl(291.3 84% 75%);

    --sidebar-background: hsl(263.4 70% 50.4%);
    --sidebar-foreground: hsl(210 40% 98%);
    --sidebar-primary: hsl(210 40% 98%);
    --sidebar-primary-foreground: hsl(263.4 70% 50.4%);
    --sidebar-accent: hsl(263.4 70% 60%);
    --sidebar-accent-foreground: hsl(210 40% 98%);
    --sidebar-border: hsl(263.4 70% 60%);
    --sidebar-ring: hsl(280.7 89.6% 50.4%);
    --sidebar: hsl(263.4 70% 50.4%);
}

.dark {
    --background: hsl(224 71.4% 4.1%);
    --foreground: hsl(210 20% 98%);
    --card: hsl(224 71.4% 4.1%);
    --card-foreground: hsl(210 20% 98%);
    --popover: hsl(224 71.4% 4.1%);
    --popover-foreground: hsl(210 20% 98%);
    --primary: hsl(210 20% 98%);
    --primary-foreground: hsl(220.9 39.3% 11%);
    --secondary: hsl(215 27.9% 16.9%);
    --secondary-foreground: hsl(210 20% 98%);
    --muted: hsl(215 27.9% 16.9%);
    --muted-foreground: hsl(217.9 10.6% 64.9%);
    --accent: hsl(215 27.9% 16.9%);
    --accent-foreground: hsl(210 20% 98%);
    --destructive: hsl(0 62.8% 30.6%);
    --destructive-foreground: hsl(210 20% 98%);
    --border: hsl(215 27.9% 16.9%);
    --input: hsl(215 27.9% 16.9%);
    --ring: hsl(212.7 26.8% 83.9%);
    --chart-1: hsl(220 70% 50%);
    --chart-2: hsl(160 60% 45%);
    --chart-3: hsl(30 80% 55%);
    --chart-4: hsl(280 65% 60%);
    --chart-5: hsl(340 75% 55%);

    /* Default Dark Theme: Professional */
    --school-primary: hsl(210 20% 98%);
    --school-secondary: hsl(142.1 60% 50%);
    --school-accent: hsl(47.9 85% 60%);
    --school-success: hsl(142.1 60% 50%);
    --school-warning: hsl(32.6 85% 55%);
    --school-error: hsl(0 62.8% 50%);
    --school-info: hsl(221.2 70% 60%);
    --school-primary-light: hsl(210 20% 90%);
    --school-secondary-light: hsl(142.1 60% 60%);
    --school-accent-light: hsl(47.9 85% 70%);

    --sidebar-background: hsl(224 71.4% 4.1%);
    --sidebar-foreground: hsl(210 20% 98%);
    --sidebar-primary: hsl(210 20% 98%);
    --sidebar-primary-foreground: hsl(224 71.4% 4.1%);
    --sidebar-accent: hsl(215 27.9% 16.9%);
    --sidebar-accent-foreground: hsl(210 20% 98%);
    --sidebar-border: hsl(215 27.9% 16.9%);
    --sidebar-ring: hsl(142.1 60% 50%);
    --sidebar: hsl(224 71.4% 4.1%);
}

/* Dark Theme: Vibrant */
.dark[data-theme="vibrant"] {
    --school-primary: hsl(262.1 70% 60%);
    --school-secondary: hsl(142.1 60% 50%);
    --school-accent: hsl(38.4 80% 60%);
    --school-success: hsl(142.1 60% 50%);
    --school-warning: hsl(38.4 80% 60%);
    --school-error: hsl(0 62.8% 50%);
    --school-info: hsl(199.4 70% 60%);
    --school-primary-light: hsl(262.1 70% 75%);
    --school-secondary-light: hsl(142.1 60% 65%);
    --school-accent-light: hsl(38.4 80% 75%);

    --sidebar-background: hsl(224 71.4% 4.1%);
    --sidebar-foreground: hsl(210 20% 98%);
    --sidebar-primary: hsl(210 20% 98%);
    --sidebar-primary-foreground: hsl(224 71.4% 4.1%);
    --sidebar-accent: hsl(215 27.9% 16.9%);
    --sidebar-accent-foreground: hsl(210 20% 98%);
    --sidebar-border: hsl(215 27.9% 16.9%);
    --sidebar-ring: hsl(262.1 70% 60%);
    --sidebar: hsl(224 71.4% 4.1%);
}

/* Dark Theme: Ocean */
.dark[data-theme="ocean"] {
    --school-primary: hsl(199.4 70% 60%);
    --school-secondary: hsl(187.2 70% 60%);
    --school-accent: hsl(173.4 60% 55%);
    --school-success: hsl(142.1 60% 50%);
    --school-warning: hsl(32.6 85% 55%);
    --school-error: hsl(0 62.8% 50%);
    --school-info: hsl(199.4 70% 60%);
    --school-primary-light: hsl(199.4 70% 75%);
    --school-secondary-light: hsl(187.2 70% 75%);
    --school-accent-light: hsl(173.4 60% 70%);

    --sidebar-background: hsl(224 71.4% 4.1%);
    --sidebar-foreground: hsl(210 20% 98%);
    --sidebar-primary: hsl(210 20% 98%);
    --sidebar-primary-foreground: hsl(224 71.4% 4.1%);
    --sidebar-accent: hsl(215 27.9% 16.9%);
    --sidebar-accent-foreground: hsl(210 20% 98%);
    --sidebar-border: hsl(215 27.9% 16.9%);
    --sidebar-ring: hsl(199.4 70% 60%);
    --sidebar: hsl(224 71.4% 4.1%);
}

/* Dark Theme: Forest */
.dark[data-theme="forest"] {
    --school-primary: hsl(142.1 60% 50%);
    --school-secondary: hsl(120 50% 60%);
    --school-accent: hsl(84.8 70% 55%);
    --school-success: hsl(142.1 60% 50%);
    --school-warning: hsl(32.6 85% 55%);
    --school-error: hsl(0 62.8% 50%);
    --school-info: hsl(199.4 70% 60%);
    --school-primary-light: hsl(142.1 60% 65%);
    --school-secondary-light: hsl(120 50% 75%);
    --school-accent-light: hsl(84.8 70% 70%);

    --sidebar-background: hsl(224 71.4% 4.1%);
    --sidebar-foreground: hsl(210 20% 98%);
    --sidebar-primary: hsl(210 20% 98%);
    --sidebar-primary-foreground: hsl(224 71.4% 4.1%);
    --sidebar-accent: hsl(215 27.9% 16.9%);
    --sidebar-accent-foreground: hsl(210 20% 98%);
    --sidebar-border: hsl(215 27.9% 16.9%);
    --sidebar-ring: hsl(142.1 60% 50%);
    --sidebar: hsl(224 71.4% 4.1%);
}

/* Dark Theme: Sunset */
.dark[data-theme="sunset"] {
    --school-primary: hsl(14.3 80% 60%);
    --school-secondary: hsl(38.4 80% 60%);
    --school-accent: hsl(340.7 70% 60%);
    --school-success: hsl(142.1 60% 50%);
    --school-warning: hsl(38.4 80% 60%);
    --school-error: hsl(0 62.8% 50%);
    --school-info: hsl(199.4 70% 60%);
    --school-primary-light: hsl(14.3 80% 75%);
    --school-secondary-light: hsl(38.4 80% 75%);
    --school-accent-light: hsl(340.7 70% 75%);

    --sidebar-background: hsl(224 71.4% 4.1%);
    --sidebar-foreground: hsl(210 20% 98%);
    --sidebar-primary: hsl(210 20% 98%);
    --sidebar-primary-foreground: hsl(224 71.4% 4.1%);
    --sidebar-accent: hsl(215 27.9% 16.9%);
    --sidebar-accent-foreground: hsl(210 20% 98%);
    --sidebar-border: hsl(215 27.9% 16.9%);
    --sidebar-ring: hsl(14.3 80% 60%);
    --sidebar: hsl(224 71.4% 4.1%);
}

/* Dark Theme: Royal */
.dark[data-theme="royal"] {
    --school-primary: hsl(263.4 60% 60%);
    --school-secondary: hsl(280.7 70% 60%);
    --school-accent: hsl(291.3 70% 70%);
    --school-success: hsl(142.1 60% 50%);
    --school-warning: hsl(32.6 85% 55%);
    --school-error: hsl(0 62.8% 50%);
    --school-info: hsl(199.4 70% 60%);
    --school-primary-light: hsl(263.4 60% 75%);
    --school-secondary-light: hsl(280.7 70% 75%);
    --school-accent-light: hsl(291.3 70% 85%);

    --sidebar-background: hsl(224 71.4% 4.1%);
    --sidebar-foreground: hsl(210 20% 98%);
    --sidebar-primary: hsl(210 20% 98%);
    --sidebar-primary-foreground: hsl(224 71.4% 4.1%);
    --sidebar-accent: hsl(215 27.9% 16.9%);
    --sidebar-accent-foreground: hsl(210 20% 98%);
    --sidebar-border: hsl(215 27.9% 16.9%);
    --sidebar-ring: hsl(263.4 60% 60%);
    --sidebar: hsl(224 71.4% 4.1%);
}

@layer base {
    * {
        @apply border-border outline-ring/50;
    }
    body {
        @apply bg-background text-foreground;
    }
}

/* Fix sidebar icon clickability in collapsed state */
.group[data-collapsible="icon"] [data-sidebar="menu-button"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2rem !important;
    height: 2rem !important;
    padding: 0.25rem !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 10 !important;
}

.group[data-collapsible="icon"] [data-sidebar="menu-button"] > span {
    display: none !important;
}

.group[data-collapsible="icon"] [data-sidebar="menu-button"] > svg {
    width: 1rem !important;
    height: 1rem !important;
    flex-shrink: 0 !important;
}

.group[data-collapsible="icon"] [data-sidebar="menu-button"]:hover {
    background-color: hsl(var(--sidebar-accent)) !important;
    color: hsl(var(--sidebar-accent-foreground)) !important;
}

/* Enhanced School Management System Styles */
@layer components {
    /* Professional gradient utilities - subtle and elegant */
    .bg-gradient-primary {
        background: linear-gradient(135deg, hsl(var(--school-primary)) 0%, hsl(var(--school-primary-light)) 100%);
    }

    .bg-gradient-secondary {
        background: linear-gradient(135deg, hsl(var(--school-secondary)) 0%, hsl(var(--school-secondary-light)) 100%);
    }

    .bg-gradient-accent {
        background: linear-gradient(135deg, hsl(var(--school-accent)) 0%, hsl(var(--school-accent-light)) 100%);
    }

    .bg-gradient-success {
        background: linear-gradient(135deg, hsl(var(--school-success)) 0%, hsl(var(--school-secondary-light)) 100%);
    }

    /* Subtle background gradients for cards */
    .bg-gradient-subtle {
        background: linear-gradient(135deg, hsl(var(--card)) 0%, hsl(var(--muted)) 100%);
    }

    /* Glass morphism effect */
    .glass {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .dark .glass {
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Subtle gradient text */
    .gradient-text {
        background: linear-gradient(135deg, hsl(var(--school-primary)) 0%, hsl(var(--school-secondary)) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* Professional text colors */
    .text-primary-soft {
        color: hsl(var(--school-primary));
    }

    .text-secondary-soft {
        color: hsl(var(--school-secondary));
    }

    /* Enhanced card styles */
    .card-enhanced {
        background: hsl(var(--card));
        border: 1px solid hsl(var(--border));
        border-radius: var(--radius);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        transition: all 0.3s ease;
    }

    .card-enhanced:hover {
        transform: translateY(-2px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }

    /* Stat card with gradient border */
    .stat-card {
        position: relative;
        background: hsl(var(--card));
        border-radius: var(--radius);
        padding: 1.5rem;
        overflow: hidden;
    }

    .stat-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, hsl(var(--school-primary)) 0%, hsl(var(--school-secondary)) 50%, hsl(var(--school-accent)) 100%);
    }

    /* Button enhancements */
    .btn-gradient {
        background: linear-gradient(135deg, hsl(var(--school-primary)) 0%, hsl(var(--school-secondary)) 100%);
        color: white;
        border: none;
        transition: all 0.3s ease;
    }

    .btn-gradient:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        background: linear-gradient(135deg, hsl(var(--school-secondary)) 0%, hsl(var(--school-primary)) 100%);
    }

    /* Loading spinner */
    .spinner {
        width: 20px;
        height: 20px;
        border: 2px solid hsl(var(--muted));
        border-top: 2px solid hsl(var(--school-primary));
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    /* Custom scrollbar */
    .custom-scrollbar::-webkit-scrollbar {
        width: 6px;
    }

    .custom-scrollbar::-webkit-scrollbar-track {
        background: hsl(var(--muted));
        border-radius: 3px;
    }

    .custom-scrollbar::-webkit-scrollbar-thumb {
        background: hsl(var(--school-primary));
        border-radius: 3px;
    }

    .custom-scrollbar::-webkit-scrollbar-thumb:hover {
        background: hsl(var(--school-secondary));
    }
}

/* Animations */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Utility animations */
.animate-fadeIn {
    animation: fadeIn 0.5s ease-out;
}

.animate-slideIn {
    animation: slideIn 0.3s ease-out;
}

.animate-pulse-custom {
    animation: pulse 2s infinite;
}
