/**
 * StatsCan Indicators Frontend Styles
 */

.statscan-indicator {
    padding: 20px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.statscan-indicator-header {
    margin-bottom: 15px;
}

.statscan-indicator-header h3 {
    margin: 0 0 5px 0;
    font-size: 1.2em;
}

.statscan-date {
    color: #666;
    font-size: 0.9em;
}

.statscan-value {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 10px;
}

.statscan-change {
    font-size: 1.1em;
}

.statscan-change.positive {
    color: #28a745;
}

.statscan-change.negative {
    color: #dc3545;
}

.statscan-error {
    padding: 10px;
    border: 1px solid #dc3545;
    color: #dc3545;
    background: #fff;
    border-radius: 4px;
}

.change-label {
    font-size: 0.8em;
    color: #666;
    margin-left: 5px;
}

.statscan-updated {
    font-size: 0.8em;
    color: #6c757d;
    margin-top: 5px;
}

.statscan-loading {
    opacity: 0.6;
    pointer-events: none;
}

.statscan-loaded {
    opacity: 1;
} 