body {
    font-family: 'Inter', sans-serif;
    background-color: #030712;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Customowy wygląd suwaka (Range Input) */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #1f2937; /* Default background, will be overridden by JS linear-gradient */
    border-radius: 9999px;
    outline: none;
}

/* Custom Scrollbar dla filtrów */
.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #374151;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: #4b5563; /* gray-600 */
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: transparent;
    border-radius: 9999px;
}

input[type=range]::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #14b8a6; /* brand-500 */
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -6px;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 0 10px rgba(20, 184, 166, 0.4);
}

input[type=range]::-webkit-slider-thumb:hover {
    background: #2dd4bf; /* brand-400 */
    transform: scale(1.1);
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: transparent;
    border-radius: 9999px;
}

input[type=range]::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #14b8a6;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 0 10px rgba(20, 184, 166, 0.4);
}

input[type=range]::-moz-range-thumb:hover {
    background: #2dd4bf;
    transform: scale(1.1);
}

/* Usuwanie domyślnych strzałek z input[type="number"] */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
input[type=number] {
  -moz-appearance: textfield;
}

/* Animacja i wygląd nowoczesnego Loadera */
.loader {
    width: 56px;
    height: 56px;
    border: 4px solid #1f2937;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.loader::after {
    content: '';  
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-bottom-color: #6b7280;
    border-top-color: #6b7280;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}