/* Widget Styles */
/*.fear-greed-widget {*/
.fear-greed-shortcode{
    width: 100%;
    max-width: 250px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background: var(--content-bg);
		color: var(--text-primary);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 12px;
    cursor: pointer;
    transition: transform 0.2s;
    margin: 0 auto 20px auto;
}

.fear-greed-shortcode H3{
    margin-top:0;

}

.fear-greed-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.fear-greed-title {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.meter-container {
    position: relative;
    height: 25px;
    margin-bottom: 15px;
}

.meter-bar {
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(to right, 
        #E60000 0%, 
        #FF9900 25%, 
        #FFFF00 50%, 
        #99CC00 75%, 
        #009900 100%
    );
    overflow: hidden;
}

.meter-bar-indicator {
    position: absolute;
    /*width: 3px;
    height: 35px;*/
  
  stroke: black;
  stroke-width: 4px;
  transform: translateX(-50%);
    bottom: -10px;
    transition: left 1s ease-out;
}
.small-meter-bar-indicator {
    position: absolute;
    /*width: 3px;
    height: 35px;*/
  
  stroke: black;
  stroke-width: 4px;
  transform: translateX(-50%);
    bottom: -8px;
    transition: left 1s ease-out;
}
.meter-labels {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: var(--text-primary);
    margin-top: 2px;
}

.index-value {
    text-align: center;
    margin-top: 5px;
}

.value-number {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-primary);
}

.value-label {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    margin-left: 8px;
}

.updated-time {
    font-size: 10px;
    color: var(--text-primary);
    text-align: center;
    margin-top: 8px;
}

.click-hint {
    font-size: 10px;
    color: var(--text-primary);
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

/* Detailed Page Styles */
.fear-greed-detailed {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.page-title {
    text-align: center;
    margin-bottom: 30px;
}

.current-index {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.current-index .meter-container {
    width: 100%;
    height: 40px;
    margin: 20px 0;
}

.current-index .meter-indicator {
    width: 4px;
    height: 50px;
}

.current-index .meter-labels {
    width: 100%;
    font-size: 14px;
    margin-top: 5px;
}

.meter-values {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 12px;
    color: #999;
}

.current-index .index-value {
    margin: 20px 0;
}

.current-index .value-number {
    font-size: 48px;
}

.current-index .value-label {
    padding: 5px 20px;
    font-size: 24px;
    border-radius: 20px;
    margin-left: 15px;
}

.current-index .updated-time {
    font-size: 14px;
}

.download-section {
    text-align: center;
    margin: 30px 0;
}

.download-btn {
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.download-btn:hover {
    background: #45a049;
}

.historical-chart {
    margin: 40px 0;
}

.chart-container {
    width: 100%;
    height: 400px;
}

.explanation {
    margin: 40px 0;
    background: var(--content-bg);
    padding: 20px;
    border-radius: 8px;
}

.explanation h3 {
    margin-top: 0;
}

.explanation ul {
    padding-left: 20px;
}

.explanation li {
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .current-index .value-number {
        font-size: 36px;
    }
    
    .current-index .value-label {
        font-size: 18px;
    }
    
    .chart-container {
        height: 300px;
    }
}