:where([class^="ri-"])::before {
    content: "\f3c2";
}

body {
    background-color: #121212;
    color: #E0E0E0;
    font-family: 'Inter', sans-serif;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.dark-gradient {
    background: linear-gradient(to bottom, #121212, #1E1E1E);
}

.chart-gradient {
    background: linear-gradient(to bottom, #1A1A1A, #212121);
}

.btn-gradient {
    background: linear-gradient(to right, #3B4BCC, #4A6FFF);
}

.card-gradient {
    background: linear-gradient(135deg, #1E1E1E, #252525);
}

.ticker-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.ticker-content {
    display: inline-block;
    /*animation: ticker 15s linear infinite;*/
}

@keyframes ticker {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

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

.custom-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.custom-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2A2A2A;
    transition: .4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: #E0E0E0;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #4A6FFF;
}

input:checked+.slider:before {
    transform: translateX(20px);
}

.custom-radio {
    display: inline-block;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    user-select: none;
}

.custom-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.radio-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #2A2A2A;
    border-radius: 50%;
}

.custom-radio:hover input~.radio-checkmark {
    background-color: #333;
}

.custom-radio input:checked~.radio-checkmark {
    background-color: #4A6FFF;
}

.radio-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-radio input:checked~.radio-checkmark:after {
    display: block;
}

.custom-radio .radio-checkmark:after {
    top: 5px;
    left: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 5px;
    background: #2A2A2A;
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4A6FFF;
    cursor: pointer;
    transition: background .3s ease;
}

.range-slider::-webkit-slider-thumb:hover {
    background: #3B4BCC;
}

.range-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4A6FFF;
    cursor: pointer;
    transition: background .3s ease;
    border: none;
}

.range-slider::-moz-range-thumb:hover {
    background: #3B4BCC;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 120px;
    height: 100%;
    background-color: rgba(30, 30, 30, 0.9);
    color: #E0E0E0;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.contact-form {
    width: 40%;
    padding: 50px;
    background-color: lightslategray;
    margin: auto;
    color: black;
}

#spinner-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.20);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #34db66;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}