@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&display=swap');

html,
body {
    height: 100%;
}

html {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    text-size-adjust: 100%;
}

body {
    background: #fff;
    color: rgba(0, 0, 0, 0.87);
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.375;
    margin: 0;
}

*,
::before,
::after {
    box-sizing: inherit;
}


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

*::-webkit-scrollbar-track {
    background: none;
}

*::-webkit-scrollbar-thumb {
    background: none;
    transition: all 0.2s ease;
}

*:hover::-webkit-scrollbar-thumb {
    background: #ddd;
    transition: all 0.2s ease;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: #777;
}


.container {
    display: flex;
    gap: 1.5rem;
    height: 100vh;
    margin: 0 auto;
}

.settings-block {
    position: absolute;
    top: 7em;
    right: 1.75rem;
    padding: 1.5rem 1.25rem;
    border-radius: 1.125rem;
    background: linear-gradient(0deg, rgba(255, 255, 255, .4) 0%, rgba(255, 255, 255, .4) 100%), rgba(255, 255, 255, .4);
    box-shadow: 0 8px 40px #0000001a;
    width: 300px;
}

.settings-holder {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.visualization-block {
    width: 100%;
    height: 100vh;
    position: relative;
}

.visualization-holder {
    height: 100%;
}

.loading-box {
    position: absolute;
    inset: 0;
    background: #ecf1f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 46px;
    z-index: 10;
}

.loader {
    border: 5px solid #445B98;
    border-bottom-color: transparent;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: rotation 1s linear infinite;
}

.loading-text {
    font-size: 1rem;
    line-height: 1.25;
    color: #64748B;
    margin: 0;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.title {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 600;
    margin: 0 0 1.5rem;
    color: #334155;
}

.bottom-message {
    background: #eee;
    padding: 5px 10px;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    margin-top: auto;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.form-group {
    /*margin-bottom: 15px;*/
}

.form-control {
    padding: 8px 12px;
    width: 100%;
    border: 1px solid rgb(0 0 0 / 42%);
    font-size: 1rem;
    line-height: 1.375;
    background: #fff;
    border-radius: 4px;
}

.settings-block .Select-control {
    border-color: rgb(0 0 0 / 42%);
    border-radius: 4px;
    height: 40px;
}

.settings-block .Select-input {
    height: 40px;
}

.settings-block .Select--single>.Select-control .Select-value,
.settings-block .Select-placeholder {
    line-height: 40px;
}

label {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #334155;
    display: block;
}

.chk-group input {
    margin: 0;
}

.chk-group label {
    font-size: 0.875rem;
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.chk-group label+label {
    margin-top: 5px;
}

.modebar-container{
    right: 40px !important;
    top: auto !important;
    bottom: 60px;
}

.slider-holder {
    padding: 1rem 0 0 !important;
}

.slider-holder .rc-slider {
    height: auto;
    padding-bottom: 0;
}

.slider-holder .rc-slider-rail {
    background: #cbd5e1;
    height: 3px;
}

.slider-holder .rc-slider-track {
    height: 3px;
    margin-top: 0;
    background: #445B98;
}

.slider-holder .rc-slider-dot {
    background: #445B98;
    width: 2px;
    height: 2px;
    border: 0;
    bottom: 1px;
    margin-left: -1px;
    display: none !important;
}

.slider-holder .rc-slider-dot-active {
    background: rgba(255 255 255 / 80%);
}

.slider-holder .rc-slider-handle {
    width: 20px;
    height: 20px;
    margin-top: -8px;
    background: #e2e8f0;
    border: 0;
    box-shadow: none;
}

.slider-holder .rc-slider-handle:hover {
    background: #445B98;
}

.slider-holder .rc-slider-handle:after{
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.08), 0 1px 1px 0 rgba(0, 0, 0, 0.14);
}

.slider-holder .rc-slider-step {
    height: 3px;
}

.slider-holder .rc-slider-mark {
    position: static;
    display: flex;
    justify-content: space-between;
    margin: 1rem 0 0;
}

.slider-holder .rc-slider-mark-text {
    color: #64748B;
    font-size: 0.75rem;
    line-height: 16px;
    transform: none !important;
    position: static;
}

.error-box {
    height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ecf1f6;
    color: #64748B;
    width: 100%;
    font-size: 16px;
    line-height: 28px;
    font-weight: 400;
}
.error-holder {
    max-width: 455px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.error-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.error-title {
    font-size: 24px;
    line-height: 30px;
    font-weight: 400;
    margin: 0;
    color: #334155;
}

.error-heading img {
    width: 24px;
    margin-top: -3px;
}

.error-box p {
    margin: 0;
    text-wrap: balance;
}
