/* style.css */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4B5563;
}

/* Light mode overrides */
html:not(.dark) body {
    background-color: #F3F4F6;
    color: #111827;
}

html:not(.dark) .bg-bg {
    background-color: #F9FAFB;
}

html:not(.dark) .bg-panel {
    background-color: #FFFFFF;
}

html:not(.dark) .border-border {
    border-color: #E5E7EB;
}

html:not(.dark) .text-textMain {
    color: #111827;
}

html:not(.dark) .text-textMuted {
    color: #6B7280;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-down {
    animation: slideDown 0.4s ease-out forwards;
}

/* Color block interactions */
.color-block {
    transition: flex-basis 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.color-block:hover {
    flex-basis: 40% !important;
}

.color-block .copy-btn {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.color-block:hover .copy-btn {
    opacity: 1;
    transform: translateY(0);
}

.shadow-Inner {
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}