@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap'); body { font-family: 'Inter', sans-serif; } /* Custom Scrollbar */ ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: #4a5568; border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: #718096; } /* Hide scrollbar for Chrome, Safari and Opera */ .no-scrollbar::-webkit-scrollbar { display: none; } /* Hide scrollbar for IE, Edge and Firefox */ .no-scrollbar { -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ } /* Image Rendering */ .image-pixelated { image-rendering: pixelated; image-rendering: -moz-crisp-edges; image-rendering: crisp-edges; } /* Tooltip */ .tooltip { position: absolute; left: 3.5rem; /* left-14 */ top: 50%; transform: translateY(-50%); background-color: #111827; /* bg-gray-900 */ color: white; font-size: 0.75rem; /* text-xs */ padding: 0.25rem 0.5rem; /* px-2 py-1 */ border-radius: 0.25rem; /* rounded */ opacity: 0; pointer-events: none; transition: opacity 150ms ease-in-out; white-space: nowrap; border: 1px solid #374151; /* border-gray-700 */ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */ z-index: 50; } .group:hover .tooltip { opacity: 1; } /* Tool Buttons */ .tool-btn { width: 2.5rem; /* w-10 */ height: 2.5rem; /* h-10 */ border-radius: 0.5rem; /* rounded-lg */ color: #9ca3af; /* text-gray-400 */ transition: all 150ms ease-in-out; display: flex; align-items: center; justify-content: center; font-size: 1.125rem; /* text-lg */ background-color: transparent; } .tool-btn:hover { color: white; background-color: #374151; /* bg-gray-700 */ } .tool-btn.active { background-color: #4f46e5; /* bg-indigo-600 */ color: white; box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3); /* shadow-indigo-500/30 */ } /* Checkerboard Background */ .pattern-bg { background-color: #0f1115; background-image: linear-gradient(45deg, #13161c 25%, transparent 25%), linear-gradient(-45deg, #13161c 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #13161c 75%), linear-gradient(-45deg, transparent 75%, #13161c 75%); background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0px; } .pattern-bg-sm { background-color: #1a202c; background-image: linear-gradient(45deg, #2d3748 25%, transparent 25%), linear-gradient(-45deg, #2d3748 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #2d3748 75%), linear-gradient(-45deg, transparent 75%, #2d3748 75%); background-size: 10px 10px; background-position: 0 0, 0 5px, 5px -5px, -5px 0px; } /* Range Input */ input[type=range] { height: 0.25rem; background-color: #374151; border-radius: 0.5rem; -webkit-appearance: none; cursor: pointer; } input[type=range]::-webkit-slider-thumb { width: 0.75rem; height: 0.75rem; background-color: #6366f1; border-radius: 9999px; -webkit-appearance: none; transition: background-color 150ms; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); } input[type=range]::-webkit-slider-thumb:hover { background-color: #818cf8; } /* Toggle Switch Animation */ #toggle-grid div { left: 2px; } #toggle-grid.active { background-color: #4f46e5; } #toggle-grid.active div { transform: translateX(1.25rem); } #toggle-grid:not(.active) { background-color: #4b5563; } /* Modal Animation */ .modal-open #export-modal { display: flex; } .modal-open #export-modal-content { opacity: 1; transform: scale(1); }