/* 黄金交易趋势插件样式 */
.gtt-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 25px;
    background: #171f30;
    border: solid 1px #000;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.gtt-container h3 {
    margin-top: 0;
    color: #d4af37;
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
}

.gtt-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #000;
}

.gtt-last-updated {
    font-size: 12px;
    color: #666;
    font-style: italic;
}

.gtt-refresh-btn {
    background: #d4af37;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.3s;
}

.gtt-refresh-btn:hover {
    background: #c19b2e;
}

.gtt-refresh-btn:active {
    background: #a88726;
}

.gtt-trend-indicator {
    margin-bottom: 30px;
}

.gtt-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-weight: bold;
}

.gtt-track {
    position: relative;
    height: 20px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.gtt-thumb {
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    background: #d4af37; /* 金色 */
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    z-index: 2;
}

.gtt-track::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #333;
    transform: translateX(-50%);
    z-index: 1;
}

.gtt-position-indicator {
    margin-top: 20px;
}

.gtt-position-labels {
    margin-bottom: 5px;
    font-weight: bold;
}

.gtt-position-track {
    height: 20px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.gtt-position-progress {
    height: 100%;
    background: linear-gradient(to right, #d4af37, #f9d423);
    transition: width 0.5s ease;
}
.gtt-bearish{
    color:rgb(211, 10, 10);
}
.gtt-bullish{
    color:rgb(3, 183, 57);
}


