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

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;
}

/* Green Hero Accent Button */
.btn-hero-accent {
    background-color: #10B981;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.28);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-hero-accent:hover {
    background-color: #059669;
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.42);
    transform: translateY(-1px);
}
.btn-hero-accent:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.25);
}
html.dark .btn-hero-accent {
    background-color: #10B981;
    color: #022c22;
}
html.dark .btn-hero-accent:hover {
    background-color: #34D399;
}

/* 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: #ecfdf5;
    color: #065f46;
    border-color: #a7f3d0;
}

/* 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: #34D399;
    border-color: #065f46;
}

/* Checkerboard for image transparency preview */
.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;
}
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%);
}
