@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@700;800&display=swap');

:root {
    --primary-color: #0f172a;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --warning-color: #fbbf24;
    --danger-color: #ef4444;
    --neutral-color: #64748b;
    --dark-color: #0f172a;
    --light-color: #ffffff;
    --bg-color: #ffffff;
    --border-color: #e5e7eb;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: var(--dark-color);
    font-size: 15px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 24px 0;
    margin-bottom: 32px;
    border-bottom: 3px solid var(--accent-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%230f172a"/><path d="M0 50 Q 25 30, 50 50 T 100 50 L100 100 L0 100 Z" fill="%231e40af" opacity="0.3"/></svg>');
    opacity: 0.15;
}

    position: relative;
}

header p {
    margin: 10px 0 0;
    font-size: 0.95rem;
    opacity: 0.85;
    position: relative;
    font-weight: 400;
}

.dashboard {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

.topics-sidebar {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    height: fit-content;
    position: sticky;
    top: 90px;
    border: 1px solid var(--border-color);
}

.topics-sidebar h2 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.topics-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.topics-list li {
    margin-bottom: 4px;
}

.topics-list a {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    background-color: transparent;
    border-radius: 6px;
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.85rem;
    border-left: 3px solid transparent;
}

.topics-list a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}

.topics-list a[data-topic="all"]::before { background-color: #6366f1; }
.topics-list a[data-topic="Politics"]::before { background-color: #ef4444; }
.topics-list a[data-topic="Business"]::before { background-color: #10b981; }
.topics-list a[data-topic="Technology"]::before { background-color: #3b82f6; }
.topics-list a[data-topic="Entertainment"]::before { background-color: #f59e0b; }
.topics-list a[data-topic="Crime/Law Enforcement"]::before { background-color: #8b5cf6; }
.topics-list a[data-topic="Sports"]::before { background-color: #06b6d4; }
.topics-list a[data-topic="Health"]::before { background-color: #84cc16; }
.topics-list a[data-topic="Science"]::before { background-color: #ec4899; }
.topics-list a[data-topic="World"]::before { background-color: #f97316; }
.topics-list a[data-topic="Other"]::before { background-color: #6b7280; }

.topics-list a.active {
    background-color: var(--secondary-color);
    color: white;
    border-left-color: var(--accent-color);
    box-shadow: 0 2px 4px rgba(30, 64, 175, 0.2);
}

.topics-list a.active::before {
    background-color: white;
}

.topics-list a:hover {
    background-color: #f0f4ff;
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
    transform: translateX(4px);
}

.topics-list a:hover::before {
    background-color: var(--secondary-color);
}

.topic-count {
    float: right;
    font-size: 0.85em;
    color: var(--neutral-color);
    font-weight: 400;
}

.topics-list a:hover .topic-count {
    color: var(--secondary-color);
}

.topics-list a.active .topic-count {
    color: rgba(255, 255, 255, 0.9);
}

.main-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stats-container {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--card-shadow);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-title {
    margin: 0;
    color: var(--dark-color);
    font-size: 1.5rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    border-radius: 10px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(145deg, #ffffff, #ffffff);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.stat-value {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    color: var(--dark-color);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chart-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.chart-card {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.chart-card:hover {
    box-shadow: var(--hover-shadow);
}

.chart-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-size: 1.2rem;
    text-align: center;
}

.metrics-container {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.metrics-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-size: 1.1rem;
    text-align: center;
}

.rating-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-label {
    width: 100px;
    color: var(--dark-color);
    font-weight: 500;
}

.rating-bar-container {
    flex: 1;
    height: 12px;
    background-color: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.rating-bar {
    height: 100%;
    border-radius: 10px;
    position: relative;
    transition: width 1s ease-in-out;
}

.positivity-bar {
    background: linear-gradient(90deg, #4ade80, #22c55e);
}

.readability-bar {
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
}

.rating-value {
    width: 40px;
    text-align: right;
    font-weight: 600;
    color: var(--dark-color);
}

.articles-container {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--card-shadow);
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.article-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: grid;
    gap: 30px;
    background-color: white;
    box-shadow: var(--card-shadow);
    position: relative;
}

.article-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-color);
    border-radius: 12px 0 0 12px;
    opacity: 0;
    transition: opacity 0.3s;
}

.article-card:hover::before {
    opacity: 1;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
    border-color: var(--secondary-color);
}

.article-card.has-image {
    grid-template-columns: 1fr 300px;
}

.article-card.no-image {
    grid-template-columns: 1fr 300px !important;
}

.article-card.no-image .article-image {
    display: none !important;
}

.article-image {
    margin-bottom: 15px;
}

.article-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-color);
}

.article-main {
    flex: 1;
}

.article-sidebar {
    width: 300px;
}

.article-title {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.5rem;
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--dark-color);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.article-source {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    margin-bottom: 15px;
    font-weight: 500;
}

.article-date {
    color: var(--neutral-color);
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-date::before {
    content: '🕐';
    font-size: 0.9em;
}

.relative-time {
    font-weight: 600;
    color: var(--secondary-color);
}

.date-separator {
    color: #cbd5e1;
}

.absolute-date {
    color: var(--neutral-color);
    font-size: 0.9em;
}

.article-summary {
    font-size: 1em;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.article-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.article-category {
    background-color: #e5e7eb;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    color: var(--dark-color);
    font-weight: 500;
}

.article-metrics {
    margin-bottom: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    background-color: #fafafa;
    margin-left: -4px;
    margin-right: -4px;
}

.metric-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.info-icon {
    cursor: pointer;
    font-size: 12px;
    margin-left: 8px;
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border-radius: 12px;
    font-weight: 500;
    vertical-align: middle;
    transition: all 0.2s;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.info-icon::before {
    content: "Why?";
}

.info-icon:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
}

.info-tooltip {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    color: #333;
    padding: 16px;
    border-radius: 12px;
    font-size: 13px;
    white-space: normal;
    width: 350px;
    max-width: 90vw;
    max-height: 70vh;
    overflow-y: auto;
    line-height: 1.6;
    z-index: 1000;
    text-align: left;
    font-weight: normal;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border: 1px solid #e0e0e0;
}

.info-icon.active .info-tooltip {
    display: block;
}

.info-tooltip ul {
    margin: 0;
    padding-left: 18px;
}

.info-tooltip li {
    margin-bottom: 8px;
}

.info-tooltip li:last-child {
    margin-bottom: 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.metric-item {
    background-color: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 1px solid #f1f5f9;
}

.metric-label {
    font-size: 0.8em;
    color: var(--neutral-color);
    margin-bottom: 5px;
}

.metric-value {
    font-weight: 600;
    color: var(--dark-color);
}

.anxiety-metric, .sensationalism-metric {
    grid-column: span 2;
}

.meter-container {
    width: 100%;
    height: 6px;
    background-color: #e5e7eb;
    border-radius: 3px;
    margin-top: 5px;
    overflow: hidden;
}

.meter {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease-in-out;
}

.anxiety-meter {
    background: linear-gradient(90deg, #4ade80, #fbbf24, #f87171);
}

.positivity-meter {
    background: linear-gradient(90deg, #f87171, #fbbf24, #4ade80);
}

.readability-meter {
    background: linear-gradient(90deg, #f87171, #fbbf24, #4ade80);
}

.sensationalism-meter {
    background: linear-gradient(90deg, #4ade80, #fbbf24, #ef4444);
}

.high-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.65em;
    font-weight: 600;
    color: white;
    background-color: #ef4444;
}

.article-authors {
    margin-bottom: 20px;
    font-size: 0.9em;
    color: var(--neutral-color);
    display: flex;
    align-items: center;
}

.article-authors::before {
    content: '✍️';
    margin-right: 5px;
}

.article-link {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(67, 97, 238, 0.3);
}

.article-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(67, 97, 238, 0.4);
}

.filter-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-container label {
    font-weight: 500;
    color: var(--dark-color);
}

.filter-container select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background-color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9em;
    color: var(--dark-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-container select:hover {
    border-color: var(--primary-color);
}

.filter-container select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
}

.hidden-article {
    display: none !important;
}

footer {
    margin-top: 50px;
    text-align: center;
    color: var(--neutral-color);
    font-size: 0.9em;
    padding: 20px;
    border-top: 1px solid #e5e7eb;
}

.stats-footer {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.stats-footer .stat-card {
    width: 250px;
}

.powered-by {
    font-weight: 500;
    color: var(--primary-color);
    margin-top: 10px;
}

.nav-link {
    display: inline-block;
    padding: 8px 16px;
    margin-right: 10px;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav {
    margin-top: 15px;
    position: relative;
}

.powered-by {
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
}

.powered-by img {
    height: 20px;
    margin-left: 5px;
}

/* Animation for stats */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }

/* Responsive design */
@media (max-width: 1024px) {
    .dashboard {
        grid-template-columns: 1fr;
    }
    
    .topics-sidebar {
        position: static;
        margin-bottom: 20px;
    }
    
    .chart-container {
        grid-template-columns: 1fr;
    }
    
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    
    header p {
        font-size: 1rem;
    }
    
    .article-card.has-image {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    
    .article-card.no-image {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    
    .article-image {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .article-image img {
        width: 100%;
        height: 200px;
    }
    
    .article-sidebar {
        width: auto;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .topics-sidebar {
        padding: 15px;
    }
    
    .topics-sidebar h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    
    header p {
        font-size: 0.9rem;
    }
    
    .article-card {
        padding: 12px;
    }
    
    .article-title {
        font-size: 1.1rem;
    }
    
    .article-meta {
        font-size: 0.8rem;
    }
    
    .stat-card h3 {
        font-size: 1.5rem;
    }
    
    .stat-card p {
        font-size: 0.85rem;
    }
}

/* Trends Section Styles */
.expand-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.expand-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.trends-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.trend-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.trend-label {
    font-weight: 500;
    color: var(--dark-color);
}

.trend-value {
    font-weight: 700;
    font-size: 1.1rem;
}

.trend-value.anxiety-high { color: #ef4444; }
.trend-value.anxiety-medium { color: #f59e0b; }
.trend-value.anxiety-low { color: #10b981; }

.trend-value.positivity-high { color: #10b981; }
.trend-value.positivity-medium { color: #f59e0b; }
.trend-value.positivity-low { color: #ef4444; }

.trends-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e5e7eb;
}

.trends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.trend-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
}

.trend-card h4 {
    margin: 0 0 1rem 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.metric-display {
    display: flex;
    align-items: baseline;
    margin-bottom: 1rem;
}

.metric-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
}

.metric-scale {
    font-size: 1rem;
    color: var(--neutral-color);
    margin-left: 0.25rem;
}

.metric-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.metric-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.metric-fill.anxiety-high { background: #ef4444; }
.metric-fill.anxiety-medium { background: #f59e0b; }
.metric-fill.anxiety-low { background: #10b981; }

.metric-fill.sensationalism-high { background: #ef4444; }
.metric-fill.sensationalism-medium { background: #f59e0b; }
.metric-fill.sensationalism-low { background: #10b981; }

.metric-fill.positivity-high { background: #10b981; }
.metric-fill.positivity-medium { background: #f59e0b; }
.metric-fill.positivity-low { background: #ef4444; }

.metric-description {
    font-size: 0.85rem;
    color: var(--neutral-color);
    margin: 0;
}

.topic-trends {
    margin-top: 2rem;
}

.topic-trends h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.topic-trend-item {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

.topic-name {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.topic-stats {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.topic-stat {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.stat-label {
    color: var(--neutral-color);
}

.stat-value {
    font-weight: 600;
}

.trends-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.trends-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.trends-footer a:hover {
    text-decoration: underline;
}

/* Trend Chart Styles */
.trends-charts {
    margin-bottom: 2rem;
}

.chart-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.trend-chart-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
    height: 400px;
}

.trend-chart-card h4 {
    margin: 0 0 1rem 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.trend-chart-card canvas {
    width: 100% !important;
    height: 300px !important;
}

.chart-description {
    font-size: 0.85rem;
    color: var(--neutral-color);
    margin: 0.5rem 0 0 0;
    text-align: center;
}

@media (max-width: 768px) {
    .chart-row {
        grid-template-columns: 1fr;
    }
    
    .trend-chart-card {
        min-width: unset;
    }
}

/* Trends Placeholder Styles */
.trends-placeholder {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--light-color);
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
}

.placeholder-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.placeholder-content p {
    color: var(--neutral-color);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.current-metrics {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.current-metrics h5 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.metric-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.metric-item {
    font-size: 0.9rem;
    color: var(--neutral-color);
}

.metric-item strong {
    color: var(--dark-color);
}
