/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #003262;
    --secondary-color: #FDB515;
    --accent-color: #3B7EA1;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #ddd;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --background-color: #ffffff;
    --card-background: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.1);
    --transition-speed: 0.3s;
}

[data-theme="dark"] {
    --primary-color: #4A90E2;
    --secondary-color: #FDB515;
    --accent-color: #5DADE2;
    --text-color: #E0E0E0;
    --light-gray: #2C2C2C;
    --border-color: #444;
    --background-color: #1a1a1a;
    --card-background: #252525;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.4);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

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

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 2rem 0;
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.header-left h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
}

.header-right {
    display: flex;
    gap: 1rem;
}

.icon-button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
    font-size: 1.2rem;
}

.icon-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
}

.sticky-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all var(--transition-speed);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

/* Main Content */
main {
    padding: 3rem 0;
    min-height: calc(100vh - 400px);
}

.section {
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(20px);
}

.section.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#overview {
    margin-top: 1rem;
}

.lead {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: var(--text-color);
    opacity: 0.9;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1));
    opacity: 0;
    transition: opacity var(--transition-speed);
}

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

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.stat-card-link {
    text-decoration: none;
    color: inherit;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 0.25rem;
}

.stat-sublabel {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card-animated .stat-number {
    animation: countUp 0.6s ease;
}

/* Data Visualizations */
.viz-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.viz-card {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed);
}

.viz-card.full-width {
    grid-column: 1 / -1;
}

.viz-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.viz-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.chart-container {
    position: relative;
    height: 300px;
}

/* Insights Container */
.insights-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.insight-type {
    background: var(--card-background);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed);
}

.insight-type:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.insight-type h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.insight-type .description {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.common-themes {
    margin-top: 1.5rem;
}

.theme-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.theme-tag {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all var(--transition-speed);
    cursor: default;
}

.theme-tag:hover {
    transform: scale(1.05);
}

/* LLM Comparison */
.comparison-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    color: var(--text-color);
    border-bottom: 3px solid transparent;
    transition: all var(--transition-speed);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
}

.tab-button:hover {
    opacity: 1;
    background: var(--light-gray);
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
    font-weight: 600;
    opacity: 1;
}

.view-controls {
    display: flex;
    gap: 0.5rem;
}

.view-button {
    background: var(--light-gray);
    border: 2px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-speed);
    color: var(--text-color);
}

.view-button:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.view-button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* LLM Cards */
.llm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.grid-view.list-view .llm-grid {
    grid-template-columns: 1fr;
}

.llm-card {
    background: var(--card-background);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.llm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform var(--transition-speed);
}

.llm-card:hover::before {
    transform: scaleX(1);
}

.llm-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.llm-card h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.llm-card .post-count {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.llm-features {
    margin: 1.5rem 0;
}

.llm-features h5 {
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.llm-features ul {
    list-style: none;
    padding-left: 0;
}

.llm-features li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.5;
}

.llm-features li::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    font-weight: bold;
    font-size: 1.2rem;
}

.strengths li::before {
    color: var(--success-color);
}

.weaknesses li::before {
    color: var(--danger-color);
}

.patterns li::before {
    color: var(--accent-color);
}

/* Leaderboard */
.leaderboard-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.leaderboard-tab {
    background: var(--light-gray);
    border: 2px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-speed);
    font-weight: 500;
}

.leaderboard-tab:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.leaderboard-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

#leaderboard-content {
    background: var(--card-background);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.leaderboard-entry {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-speed);
}

.leaderboard-entry:hover {
    background: var(--light-gray);
    transform: translateX(5px);
}

.leaderboard-entry:last-child {
    border-bottom: none;
}

.leaderboard-rank {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 60px;
}

.leaderboard-rank.gold { color: #FFD700; }
.leaderboard-rank.silver { color: #C0C0C0; }
.leaderboard-rank.bronze { color: #CD7F32; }

.leaderboard-info {
    flex: 1;
    margin-left: 1rem;
}

.leaderboard-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.leaderboard-stats {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
}

.leaderboard-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    min-width: 80px;
    text-align: right;
}

/* Search and Filter */
.search-filter-container {
    background: var(--card-background);
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.search-bar {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-bar i {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-color);
    opacity: 0.5;
    font-size: 1.2rem;
}

#search-input {
    width: 100%;
    padding: 1.25rem 1.25rem 1.25rem 4rem;
    font-size: 1.05rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: all var(--transition-speed);
    background: var(--background-color);
    color: var(--text-color);
}

#search-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59, 126, 161, 0.1);
}

#clear-search {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: var(--text-color);
    opacity: 0.5;
}

#clear-search:hover {
    opacity: 1;
}

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

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filters select {
    padding: 0.9rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    background: var(--background-color);
    color: var(--text-color);
    cursor: pointer;
    transition: all var(--transition-speed);
}

.filters select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.button-primary {
    padding: 0.9rem 1.75rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-speed);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.button-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

#reset-filters {
    padding: 0.9rem !important;
    border: 2px solid transparent !important;
    align-self: flex-end !important;
}

/* Radar Charts Grid */
.radar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.radar-card {
    background: var(--card-background);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
}

.radar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.radar-card h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.radar-card canvas {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1024px) {
    .radar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .radar-grid {
        grid-template-columns: 1fr;
    }
}

/* Comparison Radar Chart */
.comparison-radar-container {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--card-background);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.comparison-radar-container h3 {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.comparison-description {
    text-align: center;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.model-checkboxes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    transition: all var(--transition-speed);
}

.checkbox-label:hover {
    transform: translateY(-2px);
}

.model-checkbox {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid #ccc;
    transition: all var(--transition-speed);
    position: relative;
}

.checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-weight: bold;
    transition: all var(--transition-speed);
}

.model-checkbox:checked + .checkbox-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.checkbox-custom.chatgpt {
    background: rgba(16, 163, 127, 0.7);
    border-color: rgba(16, 163, 127, 1);
}

.checkbox-custom.gemini {
    background: rgba(66, 133, 244, 0.7);
    border-color: rgba(66, 133, 244, 1);
}

.checkbox-custom.claude {
    background: rgba(204, 131, 82, 0.7);
    border-color: rgba(204, 131, 82, 1);
}

.checkbox-custom.deepseek {
    background: rgba(139, 69, 255, 0.7);
    border-color: rgba(139, 69, 255, 1);
}

.checkbox-custom.grok {
    background: rgba(255, 99, 132, 0.7);
    border-color: rgba(255, 99, 132, 1);
}

.checkbox-custom.mistral {
    background: rgba(255, 159, 64, 0.7);
    border-color: rgba(255, 159, 64, 1);
}

.model-checkbox:not(:checked) + .checkbox-custom {
    background: transparent;
    opacity: 0.5;
}

.comparison-chart-wrapper {
    max-width: 550px;
    margin: 0 auto;
    padding: 1rem;
}

.comparison-chart-wrapper canvas {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .model-checkboxes {
        gap: 1rem;
    }
    
    .comparison-chart-wrapper {
        max-width: 100%;
    }
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.results-info {
    font-size: 1.05rem;
    color: var(--text-color);
    opacity: 0.8;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-toggle-btn {
    background: var(--light-gray);
    border: 2px solid var(--border-color);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-speed);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
}

.view-toggle-btn:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.view-toggle-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Compact View Styles */
#submissions-list.compact-view .submission-card {
    padding: 1rem 1.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

#submissions-list.compact-view .submission-card:not(.expanded) .submission-meta,
#submissions-list.compact-view .submission-card:not(.expanded) .submission-stats,
#submissions-list.compact-view .submission-card:not(.expanded) .submission-content,
#submissions-list.compact-view .submission-card:not(.expanded) .expand-button,
#submissions-list.compact-view .submission-card:not(.expanded) .category-tags,
#submissions-list.compact-view .submission-card:not(.expanded) .submission-links,
#submissions-list.compact-view .submission-card:not(.expanded) .comments-section {
    display: none;
}

#submissions-list.compact-view .submission-card:not(.expanded) .submission-title h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

#submissions-list.compact-view .submission-card:not(.expanded) .submission-header {
    margin-bottom: 0;
}

/* Styles for a card when it's expanded within the compact view */
#submissions-list.compact-view .submission-card.expanded {
    padding: 2rem;
    margin-bottom: 2rem;
    cursor: default;
}

#submissions-list.compact-view .submission-card.expanded .submission-title h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

#submissions-list.compact-view .submission-card.expanded .submission-header {
    margin-bottom: 1.5rem;
}

#submissions-list.compact-view .submission-card.expanded .submission-title {
    cursor: pointer;
}

#submissions-list.compact-view .submission-card:not(.expanded) .submission-header {
    margin-bottom: 0;
}

/* Submission Cards */
.submission-card {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all var(--transition-speed);
    animation: fadeInUp 0.4s ease;
}

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

.submission-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.submission-title {
    flex: 1;
}

.submission-title h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.submission-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.meta-badge {
    background: var(--light-gray);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
    transition: all var(--transition-speed);
}

.meta-badge.clickable {
    cursor: pointer;
}

.meta-badge.clickable:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-sm);
}

.meta-badge.llm {
    background: var(--accent-color);
    color: white;
    font-weight: 600;
}

.meta-badge.homework {
    background: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.submission-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}

.submission-content {
    margin: 1.5rem 0;
    line-height: 1.9;
    color: var(--text-color);
}

.submission-content.collapsed {
    max-height: 180px;
    overflow: hidden;
    position: relative;
}

.submission-content.collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(transparent, var(--card-background));
}

.expand-button {
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    font-weight: 600;
    padding: 0.5rem 0;
    text-decoration: underline;
    transition: all var(--transition-speed);
}

.expand-button:hover {
    color: var(--primary-color);
}

.submission-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.link-button {
    padding: 0.6rem 1.2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all var(--transition-speed);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.link-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.link-button.chat-link {
    background: var(--accent-color);
}

.link-button.drive-link {
    background: var(--success-color);
}

.link-button.github-link {
    background: #24292e;
}

.link-button.attachment-link {
    background: #17a2b8;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.category-tag {
    background: var(--light-gray);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-color);
    transition: all var(--transition-speed);
}

.category-tag:hover {
    transform: scale(1.05);
}

.submissions-scroll-container {
    max-height: 800px;
    overflow-y: auto;
    border: 2px solid #ccc;
    border-radius: 12px;
    padding: 1.5rem;
    background: var(--light-gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), inset 0 0 20px rgba(0, 0, 0, 0.03);
    position: relative;
    /* Firefox scrollbar styling */
    scrollbar-width: auto;
    scrollbar-color: var(--accent-color) #e0e0e0;
}

/* Fade indicators at top and bottom for scroll indication */
.submissions-scroll-container::before {
    content: '';
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, var(--light-gray) 20%, transparent);
    pointer-events: none;
    z-index: 5;
    margin: -1.5rem -1.5rem 0 -1.5rem;
}

.submissions-scroll-container::after {
    content: '';
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, var(--light-gray) 30%, transparent);
    pointer-events: none;
    z-index: 5;
    margin: 0 -1.5rem -1.5rem -1.5rem;
}

/* Custom Scrollbar Styling - More visible */
.submissions-scroll-container::-webkit-scrollbar {
    width: 12px;
}

.submissions-scroll-container::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
    margin: 8px 0;
}

.submissions-scroll-container::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}

.submissions-scroll-container::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-color);
}

.category-tag.highlight {
    background: var(--warning-color);
    color: var(--text-color);
    font-weight: 600;
}

/* Comments */
.comments-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.comment {
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    margin-top: 0.75rem;
    transition: all var(--transition-speed);
}

.comment:hover {
    background: var(--border-color);
}

.comment-author {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.comment.endorsed {
    border-left: 4px solid var(--success-color);
}

/* Chatbot */
.chatbot-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-speed);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 400px;
    max-width: calc(100vw - 40px);
    height: 600px;
    max-height: calc(100vh - 120px);
    background: var(--card-background);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: var(--light-gray);
}

.chatbot-message {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.3s ease;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.message-content {
    background: var(--card-background);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    max-width: 80%;
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-avatar {
    background: var(--accent-color);
}

.user-message .message-content {
    background: var(--accent-color);
    color: white;
}

.message-content ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.message-content li {
    margin: 0.25rem 0;
}

.chatbot-input-container {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.75rem;
}

#chatbot-input {
    flex: 1;
    padding: 0.9rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    background: var(--background-color);
    color: var(--text-color);
}

#chatbot-input:focus {
    outline: none;
    border-color: var(--accent-color);
}

#chatbot-send {
    background: var(--primary-color);
    color: white;
    width: 45px;
    height: 45px;
}

#chatbot-send:hover {
    background: var(--accent-color);
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toast {
    background: var(--card-background);
    padding: 1.25rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toast.success {
    border-left: 4px solid var(--success-color);
}

.toast.error {
    border-left: 4px solid var(--danger-color);
}

.toast.info {
    border-left: 4px solid var(--accent-color);
}

.toast-icon {
    font-size: 1.5rem;
}

.toast.success .toast-icon { color: var(--success-color); }
.toast.error .toast-icon { color: var(--danger-color); }
.toast.info .toast-icon { color: var(--accent-color); }

/* Loading Indicator */
.loading-indicator {
    text-align: center;
    padding: 3rem;
    color: var(--text-color);
}

.spinner {
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0;
    margin-top: 5rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section a {
    color: var(--secondary-color);
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
    transition: all var(--transition-speed);
}

.footer-section a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-credit {
    margin-top: 1rem;
}

.footer-date {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: all var(--transition-speed);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
}

.scroll-top:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .viz-container {
        grid-template-columns: 1fr;
    }
    
    .insights-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .llm-grid {
        grid-template-columns: 1fr;
    }
    
    .filters {
        grid-template-columns: 1fr;
    }
    
    .chatbot-window {
        width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
    }
    
    .chatbot-toggle {
        right: 1rem;
        bottom: 1rem;
    }
    
    .scroll-top {
        left: 1rem;
        bottom: 5rem;
    }
    
    nav {
        justify-content: center;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .submission-header {
        flex-direction: column;
    }
}

/* Advanced Insights Section */
.insight-card {
    background: var(--card-background);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 2rem;
    margin-bottom: 3rem;
    transition: box-shadow var(--transition-speed);
}

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

.insight-header {
    margin-bottom: 2rem;
}

.insight-header h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.insight-header p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1rem;
}

/* Category Heatmap */
.heatmap-container {
    overflow-x: auto;
}

.heatmap-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 4px;
    font-size: 0.9rem;
}

.heatmap-table th,
.heatmap-table td {
    padding: 0.75rem;
    text-align: center;
    border-radius: 6px;
}

.heatmap-table thead th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    white-space: nowrap;
}

.heatmap-table .llm-name {
    background: var(--accent-color);
    color: white;
    font-weight: 600;
    text-align: left;
}

.heatmap-cell {
    background: var(--light-gray);
    transition: transform var(--transition-speed);
    cursor: pointer;
    font-weight: 600;
}

.heatmap-cell:hover {
    transform: scale(1.1);
    z-index: 10;
    position: relative;
}

/* Homework Analysis */
.homework-analysis-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.chart-wrapper {
    position: relative;
    height: 400px;
}

.hw-insight-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hw-insight-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--light-gray);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.hw-insight-item i {
    font-size: 2rem;
    color: var(--accent-color);
}

.hw-insight-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.hw-insight-item p {
    color: var(--text-color);
    opacity: 0.8;
    margin: 0;
}

/* A vs B Comparison */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.comparison-card {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: border-color var(--transition-speed);
}

.comparison-card:hover {
    border-color: var(--accent-color);
}

.comparison-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.comparison-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comparison-bar-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bar-label {
    font-size: 0.9rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bar-container {
    background: var(--card-background);
    border-radius: 8px;
    overflow: hidden;
    height: 32px;
    position: relative;
}

.bar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.75rem;
    transition: width 0.6s ease;
    font-weight: 600;
    font-size: 0.85rem;
}

.bar.analytical {
    background: linear-gradient(90deg, rgba(59, 126, 161, 0.8), rgba(59, 126, 161, 1));
    color: white;
}

.bar.coding {
    background: linear-gradient(90deg, rgba(253, 181, 21, 0.8), rgba(253, 181, 21, 1));
    color: #333;
}

.bar-value {
    font-weight: 700;
}

.comparison-verdict {
    text-align: center;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.comparison-verdict.analytical {
    background: rgba(59, 126, 161, 0.15);
    color: var(--accent-color);
}

.comparison-verdict.coding {
    background: rgba(253, 181, 21, 0.15);
    color: #d9a500;
}

.comparison-verdict.balanced {
    background: rgba(40, 167, 69, 0.15);
    color: var(--success-color);
}

/* Success Stories */
.success-stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.success-story-card {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 12px;
    border-top: 4px solid var(--success-color);
    position: relative;
}

.success-badge {
    position: absolute;
    top: -12px;
    right: 1rem;
    background: var(--success-color);
    color: white;
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.success-story-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.success-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.7;
}

.success-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.success-excerpt {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.85;
}

.success-stats {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.85rem;
}

.success-stats span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.success-tag {
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.65rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Common Pitfalls */
.pitfalls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.pitfall-card {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--warning-color);
}

.pitfall-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.pitfall-header i {
    font-size: 1.5rem;
    color: var(--warning-color);
}

.pitfall-header h4 {
    color: var(--primary-color);
    flex: 1;
    margin: 0;
    font-size: 1.1rem;
}

.pitfall-count {
    background: var(--warning-color);
    color: white;
    padding: 0.25rem 0.65rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pitfall-solutions {
    margin-top: 1rem;
}

.pitfall-solutions strong {
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
}

.pitfall-solutions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pitfall-solutions li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

.pitfall-solutions li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Responsive Design for Advanced Insights */
@media (max-width: 1200px) {
    .homework-analysis-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-wrapper {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .insight-card {
        padding: 1.25rem;
    }
    
    .heatmap-table {
        font-size: 0.75rem;
    }
    
    .heatmap-table th,
    .heatmap-table td {
        padding: 0.5rem;
    }
    
    .comparison-grid,
    .success-stories-grid,
    .pitfalls-grid {
        grid-template-columns: 1fr;
    }
    
    .success-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* LLM Analysis Section */
.llm-analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.llm-analysis-card {
    background: var(--card-background);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border: 2px solid transparent;
}

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

/* LLM-specific colors */
.llm-analysis-card.chatgpt {
    border-color: rgba(16, 163, 127, 0.3);
}

.llm-analysis-card.chatgpt .llm-analysis-header {
    background: linear-gradient(135deg, rgba(16, 163, 127, 0.15), rgba(16, 163, 127, 0.05));
}

.llm-analysis-card.gemini {
    border-color: rgba(66, 133, 244, 0.3);
}

.llm-analysis-card.gemini .llm-analysis-header {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.15), rgba(66, 133, 244, 0.05));
}

.llm-analysis-card.claude {
    border-color: rgba(204, 131, 82, 0.3);
}

.llm-analysis-card.claude .llm-analysis-header {
    background: linear-gradient(135deg, rgba(204, 131, 82, 0.15), rgba(204, 131, 82, 0.05));
}

.llm-analysis-card.deepseek {
    border-color: rgba(139, 69, 255, 0.3);
}

.llm-analysis-card.deepseek .llm-analysis-header {
    background: linear-gradient(135deg, rgba(139, 69, 255, 0.15), rgba(139, 69, 255, 0.05));
}

.llm-analysis-card.grok {
    border-color: rgba(255, 99, 132, 0.3);
}

.llm-analysis-card.grok .llm-analysis-header {
    background: linear-gradient(135deg, rgba(255, 99, 132, 0.15), rgba(255, 99, 132, 0.05));
}

.llm-analysis-card.mistral {
    border-color: rgba(255, 159, 64, 0.3);
}

.llm-analysis-card.mistral .llm-analysis-header {
    background: linear-gradient(135deg, rgba(255, 159, 64, 0.15), rgba(255, 159, 64, 0.05));
}

.llm-analysis-card.llama {
    border-color: rgba(123, 97, 255, 0.3);
}

.llm-analysis-card.llama .llm-analysis-header {
    background: linear-gradient(135deg, rgba(123, 97, 255, 0.15), rgba(123, 97, 255, 0.05));
}

.llm-analysis-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.llm-analysis-header h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.llm-stats-badge {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

.llm-stats-badge span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.llm-analysis-body {
    padding: 1.5rem;
}

.analysis-section {
    margin-bottom: 1.75rem;
}

.analysis-section:last-child {
    margin-bottom: 0;
}

.analysis-section h4 {
    font-size: 1.15rem;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.analysis-section h4 i {
    font-size: 1rem;
}

.strengths-list,
.weaknesses-list,
.practices-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.strengths-list li,
.weaknesses-list li,
.practices-list li {
    padding: 0.65rem 0.75rem 0.65rem 2rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    position: relative;
    line-height: 1.5;
    font-size: 0.95rem;
    transition: background-color var(--transition-speed);
}

.strengths-list li {
    background: rgba(40, 167, 69, 0.08);
    border-left: 3px solid var(--success-color);
}

.strengths-list li:hover {
    background: rgba(40, 167, 69, 0.15);
}

.strengths-list li::before {
    content: "✓";
    position: absolute;
    left: 0.75rem;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.weaknesses-list li {
    background: rgba(255, 193, 7, 0.08);
    border-left: 3px solid var(--warning-color);
}

.weaknesses-list li:hover {
    background: rgba(255, 193, 7, 0.15);
}

.weaknesses-list li::before {
    content: "!";
    position: absolute;
    left: 0.75rem;
    color: var(--warning-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.practices-list li {
    background: rgba(59, 126, 161, 0.08);
    border-left: 3px solid var(--accent-color);
}

.practices-list li:hover {
    background: rgba(59, 126, 161, 0.15);
}

.practices-list li::before {
    content: "→";
    position: absolute;
    left: 0.75rem;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.analysis-footer {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.performance-metrics {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.performance-metrics .metric {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    border-radius: 20px;
}

.performance-metrics .metric i {
    color: var(--accent-color);
}

/* Responsive design for LLM Analysis */
@media (max-width: 1200px) {
    .llm-analysis-grid {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    }
}

@media (max-width: 768px) {
    .llm-analysis-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .llm-analysis-header h3 {
        font-size: 1.5rem;
    }
    
    .performance-metrics {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Print Styles */
@media print {
    .chatbot-container,
    .scroll-top,
    header nav,
    .header-right,
    .filters,
    .view-toggle,
    footer {
        display: none !important;
    }
    
    .submission-card {
        page-break-inside: avoid;
    }
}