/* © theCryptoTool.com */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.indicator-value {
    font-size: 24px;
    font-weight: 500;
    color: #2345e1;
}

.volatility-value {
    font-size: 24px;
    font-weight: 500;
    color: #e12323;
}

.rsi-value {
    font-size: 24px;
    font-weight: 500;
}

.progress-container {
    width: 100%;
}

.labels {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.labels .label:nth-child(2) {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}


.progress-wrapper {
    position: relative;
    width: 100%;
}

.progress-bar {
    height: 8px;
    background-color: #fff;
    border-radius: 3px;
    display: flex;
    overflow: hidden;
}

.segment {
    height: 100%;
    width: 100%;
    background: linear-gradient(to right, #1e40af 0%, #3b82f6 25%, #9ca3af 50%, #ef4444 75%, #dc2626 100%);
}


/* For other scales */
.segment-weak {
    opacity: 0.4;
    width: 25%;
}

.segment-moderate {
    opacity: 0.6;
    width: 25%;
}

.segment-strong {
    opacity: 0.8;
    width: 25%;
}

.segment-extreme {
    opacity: 1;
    width: 25%;
}

.segment-trend {
    background-color: #2346e1d5; /* #2345e1;*/
}

.segment-volatility {
    background-color: #e12323;
}

.indicator {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background-color: #EFF2F5;
    border: 2px solid #1E2029;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: left 0.3s ease;
}

.controls {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.input-group label {
    color: #A0A3A7;
    font-size: 14px;
    min-width: 80px;
}

.input-group input {
    flex: 1;
    background: #2B2F36;
    border: 1px solid #3E424A;
    border-radius: 8px;
    padding: 8px 12px;
    color: #EFF2F5;
    font-size: 14px;
}

.input-group input:focus {
    outline: none;
    border-color: #3861FB;
}

.status {
    margin-top: 16px;
    padding: 12px;
    background: #2B2F36;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.sidebar-container {
    margin: 0px 0px 0px 0px;
    border-radius: 8px;
    padding: 8px 14px 14px 14px;
    border: 0px solid var(--border);
    background: var(--bg-secondary);
    box-shadow: var(--box-shadow);
    /*background: #171E2F;
    background: linear-gradient(90deg,rgba(22, 29, 47, 1) 0%, rgba(18, 27, 43, 1) 80%);*/
}

.title {
    font-size: 1.125rem;
}

.rating-bar.left {
    left: 0%;
}

.rating-bar.center-left {
    left: 25%;
}

.rating-bar.center {
    left: 50%;
}

.rating-bar.center-right {
    left: 75%;
}

.rating-bar.right {
    left: 100%;
}

.header .left {
    color: #3b82f6;
}

.header .center-left {
    color: #3b82f6;
}

.header .center {
    color: #888888;
}

.header .center-right {
    color: #ef4444;
}

.header .right {
    color: #ef4444;
}

.left {
    color: #3b82f6;
}

.right {
    color: #ef4444;
}

.center {
    color: #7c7c7c;
}