/* Admin Analytics Dashboard Styles */
/* Extracted from sfr-directory-category-display.php to comply with WordPress.org standards */

.analytics-dashboard {
    margin-top: 20px;
}
.analytics-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}
.stat-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.stat-box h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #0073aa;
    margin: 10px 0;
}
.stat-description {
    color: #666;
    font-size: 12px;
}
.analytics-details {
    margin-top: 30px;
}
.premium-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 15px;
    margin: 20px 0;
}
.development-notice {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 4px;
    padding: 15px;
    margin: 20px 0;
}
.premium-active-notice {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    padding: 15px;
    margin: 20px 0;
}
.premium-notice h3,
.development-notice h3,
.premium-active-notice h3 {
    margin: 0 0 10px 0;
    opacity: 0.9;
}
.analytics-tabs {
    display: flex;
    border-bottom: 2px solid #e1e1e1;
    margin-bottom: 20px;
}
.tab-button {
    background: none;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
}
.tab-button:hover {
    color: #0073aa;
    background: #f8f9fa;
}
.tab-button.active {
    color: #0073aa;
    border-bottom-color: #0073aa;
    background: #f8f9fa;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.seo-overview {
    margin-bottom: 30px;
}
.seo-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}
.seo-stat-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}
.seo-stat-box h5 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 14px;
}
.seo-score {
    font-size: 2em;
    font-weight: bold;
    color: #28a745;
    margin: 10px 0;
}
.seo-score.low {
    color: #dc3545;
}
.seo-score.medium {
    color: #ffc107;
}
.seo-score-label {
    color: #666;
    font-size: 12px;
}
.trends-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin: 20px 0;
}
.trend-chart {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}
.trend-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.trend-stat {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
}
.trend-stat h6 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 12px;
    text-transform: uppercase;
}
.trend-indicator {
    font-size: 1.2em;
    font-weight: bold;
}
.trend-indicator.up {
    color: #28a745;
}
.trend-indicator.down {
    color: #dc3545;
}
.trend-indicator.stable {
    color: #6c757d;
}
.trend-value {
    font-size: 1.5em;
    font-weight: bold;
    color: #0073aa;
}
.premium-overlay {
    position: relative;
}
.premium-message {
    background: rgba(255, 255, 255, 0.95);
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin: 20px 0;
}
.premium-message h4 {
    margin: 0 0 10px 0;
    color: #333;
}
.premium-message p {
    margin: 0 0 20px 0;
    color: #666;
}



