/* toolzov/assets/css/style.css */
@charset "UTF-8";

/* Smooth page scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbars: Light default */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Dark mode scrollbar */
html.dark ::-webkit-scrollbar-thumb {
    background: #3f3f46;
}
html.dark ::-webkit-scrollbar-thumb:hover {
    background: #52525b;
}

/* Custom Range Slider styling: Light default */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: #e2e8f0;
    border-radius: 9999px;
    height: 6px;
    outline: none;
}
html.dark input[type="range"] {
    background: #27272a;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0f172a;
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
    transition: transform 0.15s ease, background-color 0.15s ease;
}
html.dark input[type="range"]::-webkit-slider-thumb {
    background: #f4f4f5;
    border-color: #09090b;
    box-shadow: 0 0 4px rgba(0,0,0,0.6);
}
input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* 90/10 Rule Hero Accent Button (#A3E635) */
.btn-hero-accent {
    background-color: #A3E635;
    color: #000000;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(163, 230, 53, 0.3);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-hero-accent:hover {
    background-color: #bef264;
    box-shadow: 0 0 28px rgba(163, 230, 53, 0.5);
    transform: translateY(-1px);
}
.btn-hero-accent:active {
    transform: translateY(0);
    box-shadow: 0 0 14px rgba(163, 230, 53, 0.3);
}

/* Neutral Ghost Button: Light default */
.btn-ghost-neutral {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #475569;
    transition: all 0.15s ease;
}
.btn-ghost-neutral:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

/* Neutral Ghost Button: Dark mode */
html.dark .btn-ghost-neutral {
    background: transparent;
    border: 1px solid #27272a;
    color: #a1a1aa;
}
html.dark .btn-ghost-neutral:hover {
    background: #18181b;
    color: #f4f4f5;
    border-color: #3f3f46;
}

/* Checkerboard for canvas transparency: Light default */
.canvas-bg-checker {
    background-color: #f8fafc;
    background-image: 
        linear-gradient(45deg, #f1f5f9 25%, transparent 25%), 
        linear-gradient(-45deg, #f1f5f9 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, #f1f5f9 75%), 
        linear-gradient(-45deg, transparent 75%, #f1f5f9 75%);
    background-size: 16px 16px;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
}
/* Checkerboard for canvas transparency: Dark mode */
html.dark .canvas-bg-checker {
    background-color: #121216;
    background-image: 
        linear-gradient(45deg, #18181e 25%, transparent 25%), 
        linear-gradient(-45deg, #18181e 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, #18181e 75%), 
        linear-gradient(-45deg, transparent 75%, #18181e 75%);
}
