/**
 * Google Scholar Citations Chart Styles
 */

.scholar-widget {
    margin: 15px 0;
    padding: 12px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.scholar-title {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

/* Pill-style metric rows */
.scholar-pill {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 5px 10px;
    margin-bottom: 6px;
    background: #fafafa;
}

.scholar-pill-highlight {
    border-color: #e87ca0;
    background: #fafafa;
}

.pill-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 8px;
}

.dot-hindex    { background: #333; }
.dot-i10       { background: #f57c00; }
.dot-citations { background: #e87ca0; }

.pill-value {
    font-size: 16px;
    font-weight: bold;
    color: #527bbd;
    margin-right: 6px;
}

.pill-label {
    font-size: 9px;
    color: #666;
    text-transform: uppercase;
    margin-left: auto;
}

.last-updated {
    font-size: 9px;
    color: #999;
    text-align: center;
    margin-top: 2px;
    margin-bottom: 2px;
}

.chart-container {
    margin-top: 10px;
    margin-bottom: 0;
    height: 140px;
    position: relative;
}

#citationsChart {
    max-height: 140px;
}

.scholar-link {
    display: block;
    text-align: center;
    margin-top: 2px;
    font-size: 11px;
    color: #527bbd;
    text-decoration: none;
}

.scholar-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .scholar-widget {
        margin: 10px 0;
        padding: 10px;
    }
    .chart-container {
        height: 120px;
    }
}
