.fg-container {
    margin: 20px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
    background: #fff;
    text-align: center;
    max-width: 480px;
}

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

.fg-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f7931a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fg-icon span {
    color: #fff;
    font-weight: bold;
}

.fg-title-wrap h2 {
    margin: 0 !important;
    font-size: 20px;
    font-weight: 700;
    text-align: left;
}

.fg-title-wrap p {
    margin: 0;
    font-size: 13px;
    color: #777;
    text-align: left;
    line-height: inherit;
}

.fg-info {
    margin-top: 10px;
    font-size: 16px;
}

#fgValue {
    background: #b2b200;
    color: #fff;
    padding: 6px 12px;
    border-radius: 50%;
    font-weight: bold;
    margin-right: 7px;
}

.fg-footer {
    font-size: 13px;
    color: #777;
    text-align: center;
}
#fgHistoryChart {
    width: 100% !important;
    max-height: 280px;   /* adjust as per your need */
}

.fg-chart-container {
    max-width: 900px;
    margin: 20px auto;
    padding: 15px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 8px;
}
.site article .fg-chart-container h2{text-align: center; margin-bottom: 20px !important}
.site article .fg-chart-container h3{ margin-top:0 !important;}
/* Container for the buttons */
.fg-range-buttons {
    text-align: center;
    margin: 20px 0;
}


/* Gauge container */
.fg-container {
    text-align: center;
    max-width: 400px;
    margin: 20px auto;
}

/* Header layout */
.fg-header {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-bottom: 10px;
}

.fg-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F7931A;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fg-icon img {
    width: 20px;
    height: 20px;
}

.fg-title-wrap h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.fg-title-wrap p {
    margin: 0;
    font-size: 13px;
    color: #777;
}

/* Gauge info */
.fg-info {
    margin-top: 10px;
    font-size: 14px;
}

.fg-footer {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}

/* Chart container */
.fg-chart-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.fg-chart-container h2,
.fg-chart-container h3 {
    text-align: center;
    margin-bottom: 10px;
}

.fg-description {
    text-align: center;
    color: #666;
    margin-bottom: 15px;
}

/* Filter buttons */
.fg-range-buttons {
    text-align: center;
    margin-bottom: 15px;
}

.fg-filter-btn {
    background: #F7931A;
    border: none;
    padding: 8px 14px;
    margin: 0 5px 5px;
    border-radius: 5px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.fg-filter-btn:hover,
.fg-filter-btn.active {
    background: rgba(235,154,17,.8);
}
@media(max-width: 767px){
     .site article .fg-chart-container h2{
        margin-bottom: 10px !important;
        line-height: inherit;
    }
     .site article .fg-chart-container h3{
        line-height: inherit;
    }
}


