
h2{

}

:root, Light {
    --font-size: 16px;
    --background: #fafafa;
    --spac-bg: var(--background);
    --foreground: #09090b;
    --card: #ffffff;
    --card-foreground: #09090b;
    --popover: #ffffff;
    --popover-foreground: #09090b;
    --primary: #7c3aed;
    --primary-10: #7c3aed10;
    --primary-50: #7c3aed50;
    --primary-foreground: #ffffff;
    --secondary: #f4f4f5;
    --secondary-foreground: #09090b;
    --muted: #f4f4f5;
    --muted-30: #f4f4f530;
    --muted-foreground: #71717a;
    --accent: #f4f4f5;
    --accent-foreground: #09090b;
    --destructive: #ef4444;
    --destructive-foreground: #ffffff;
    --border: #e4e4e7;
    --input: #e4e4e7;
    --input-background: #ffffff;
    --switch-background: #e4e4e7;
    --font-weight-medium: 600;
    --font-weight-normal: 400;
    --ring: #7c3aed;
    --chart-1: #7c3aed;
    --chart-2: #06b6d4;
    --chart-3: #8b5cf6;
    --chart-4: #ec4899;
    --chart-5: #f59e0b;
    --radius: 0.75rem;
    --sidebar: #ffffff;
    --sidebar-foreground: #09090b;
    --sidebar-primary: #7c3aed;
    --sidebar-primary-foreground: #ffffff;
    --sidebar-accent: #f4f4f5;
    --sidebar-accent-foreground: #09090b;
    --sidebar-border: #e4e4e7;
    --sidebar-ring: #7c3aed;
}

.dark, Dark {
    --spac-bg: #110D17;
    --background: #09090b;
    --foreground: #fafafa;
    --card: #18181b;
    --card-foreground: #fafafa;
    --popover: #18181b;
    --popover-foreground: #fafafa;
    --primary: #a78bfa;
    --primary-10: #a78bfa10;
    --primary-50: #a78bfa50;
    --primary-foreground: #18181b;
    --secondary: #27272a;
    --secondary-foreground: #fafafa;
    --muted: #27272a;
    --muted-30: #27272a30;
    --muted-foreground: #a1a1aa;
    --accent: #27272a;
    --accent-foreground: #fafafa;
    --destructive: #dc2626;
    --destructive-foreground: #fafafa;
    --border: #27272a;
    --input: #27272a;
    --input-background: #27272a;
    --switch-background: #27272a;
    --ring: #a78bfa;
    --chart-1: #a78bfa;
    --chart-2: #22d3ee;
    --chart-3: #c084fc;
    --chart-4: #f472b6;
    --chart-5: #fbbf24;
    --sidebar: #18181b;
    --sidebar-foreground: #fafafa;
    --sidebar-primary: #a78bfa;
    --sidebar-primary-foreground: #18181b;
    --sidebar-accent: #27272a;
    --sidebar-accent-foreground: #fafafa;
    --sidebar-border: #27272a;
    --sidebar-ring: #a78bfa;
}
/* ===== Scrollbar Styling ===== */
::-webkit-scrollbar {
    width: 8px; /* width of the scrollbar */
    height: 8px; /* for horizontal scrollbars */
}

::-webkit-scrollbar-track {
    background: #f1f1f1; /* track color */
}

::-webkit-scrollbar-thumb {
    background-color: #9ca3af; /* gray-400 */
    border-radius: 9999px; /* round edges */
    border: 2px solid #f1f1f1; /* adds padding look */
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #6b7280; /* gray-500 on hover */
    }

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #9ca3af #f1f1f1;
}

html {
   
    font-size: var(--font-size);
}



.spinning {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--foreground, black);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: inline-block;
}

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

    100% {
        transform: rotate(360deg);
    }
}

@property --snake-angle {
    syntax: '<angle>'; 
    initial-value: 0deg;
    inherits: false;
}

/* 2. The Animation */
@keyframes snake-spin {
    to {
        --snake-angle: 360deg;
    }
}

.snake-border {
    position: relative;
    border: none !important;
    isolation: isolate;
}

    .snake-border::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 15px;
        padding: 4px;

        background: conic-gradient( from var(--snake-angle), transparent 60%, #ff00ff, #00ffff, #ffff00, #ff00ff );
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        animation: snake-spin 1s linear infinite;
        pointer-events: none;
        z-index: -1;
    }
