/**
 * Styles for Pictaffil Search Statistics
 */

.pictaffil-stats-widget {
    margin: 10px 0;
}

.pictaffil-stats-summary {
    margin-top: 12px;
    padding: 10px;
    background: #f0f6fc;
    border-left: 4px solid #2271b1;
}

/* Statistics page styles */
.pictaffil-stats-page {
    max-width: 900px;
}

.pictaffil-stats-notice {
    background: #f0f6fc;
    border-left: 4px solid #2271b1;
    padding: 12px 15px;
    margin: 15px 0;
}

.pictaffil-stats-tabs {
    display: flex;
    border-bottom: 1px solid #c3c4c7;
    margin-bottom: 20px;
}

.pictaffil-stats-tab {
    padding: 8px 15px;
    text-decoration: none;
    border: 1px solid transparent;
    margin-bottom: -1px;
    font-weight: 600;
    color: #2c3338;
}

.pictaffil-stats-tab:focus {
    box-shadow: none;
    outline: none;
}

.pictaffil-stats-tab.active {
    border-color: #c3c4c7;
    border-bottom-color: #f0f0f1;
    background: #f0f0f1;
}

.pictaffil-stats-panel {
    display: none;
    animation: pictaffil-fade-in 0.3s;
}

.pictaffil-stats-panel.active {
    display: block;
}

.pictaffil-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.pictaffil-stats-card {
    background: white;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.pictaffil-stats-card h3 {
    margin-top: 0;
    font-size: 14px;
    color: #50575e;
}

.pictaffil-stats-number {
    font-size: 28px;
    font-weight: 600;
    color: #2271b1;
}

.pictaffil-stats-summary-large {
    margin-top: 30px;
    padding: 20px;
    background: #f0f6fc;
    border-left: 4px solid #2271b1;
    text-align: center;
}

.pictaffil-stats-summary-large h3 {
    margin-top: 0;
    color: #2271b1;
}

@keyframes pictaffil-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Chart styles */
.pictaffil-stats-chart-container {
    margin-top: 30px;
    height: 300px;
}

/* Dashboard widget styles */
#dashboard-widgets .pictaffil-stats-widget .inside {
    padding-bottom: 0;
    margin-bottom: 0;
}
