@font-face {
    font-family: 'GT Walsheim';
    src: url('gt-walsheim-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: #030303;
    font-family: 'GT Walsheim', sans-serif;
}

.hidden {
    display: none;
}

.custom-dropdown-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.custom-dropdown {
    width: 100%;
    padding: 0.5rem;
    background-color: #2d3748; /* bg-gray-700 */
    border: 1px solid #4a5568; /* border-gray-600 */
    border-radius: 0.375rem; /* rounded-md */
    color: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.custom-dropdown:focus {
    outline: none;
    border-color: #4299e1; /* focus:ring-blue-500 */
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
}

select {
    width: 100%;
    padding: 0.5rem;
    background-color: #2d3748; /* bg-gray-700 */
    border: 1px solid #4a5568; /* border-gray-600 */
    border-radius: 0.375rem; /* rounded-md */
    color: white;
    appearance: none; /* Disable native rendering */
    -webkit-appearance: none; /* For WebKit */
    -moz-appearance: none; /* For Firefox */
}


.slider {
    -webkit-appearance: none; /* Override default CSS styles */
    appearance: none;
    width: 100%;
    height: 10px;
    background: #ddd;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 60px; /* Adjust width as needed */
    height: 40px; /* Adjust height as needed */
    background: transparent; /* Transparent to show custom div */
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.slider::-moz-range-thumb {
    width: 60px; /* Adjust width as needed */
    height: 40px; /* Adjust height as needed */
    background: transparent; /* Transparent to show custom div */
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.slider-container {
    position: relative;
    width: 100%;
}

.slider:disabled {
    background: #ccc; /* Background color for disabled state */
    cursor: not-allowed; /* Change cursor to indicate disabled */
}

.slider:disabled::-webkit-slider-thumb {
    background: transparent; /* Thumb color for disabled state */
}

.slider:disabled::-moz-range-thumb {
    background: transparent; /* Thumb color for disabled state */
}

.slider:disabled::-ms-thumb {
    background: transparent; /* Thumb color for disabled state */
}

.slider-thumb-value {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px; /* Match thumb width */
    height: 40px; /* Match thumb height */
    background: #3498db;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    pointer-events: none; /* Ensure the div doesn't interfere with slider events */
}

.slider-thumb-value.disabled {
    background: #888; /* Thumb value background color for disabled state */
    color: #ccc; /* Thumb value text color for disabled state */
}

body::-webkit-scrollbar {
    display: none;
}

/* Tooltip styles */
.tooltip {
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 0.5rem;
    border-radius: 0.25rem;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    z-index: 1000;
}

.loader {
    border-top-color: #3498db;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}