* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 260px;
    background-color: #ffffff;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    color: #22c55e;
}
/* Remove TM symbol styling - already removed from HTML */

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.nav-section {
    padding: 0 12px;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    margin: 4px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    color: #666;
}

.nav-item:hover {
    background-color: #f5f5f5;
}

.nav-item.active {
    background-color: #dcfce7;
    color: #22c55e;
    font-weight: 500;
}

.nav-icon {
    margin-right: 12px;
    font-size: 18px;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
}

.user-profile {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 20px;
}

.user-info {
    flex: 1;
}

.user-name {
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

.user-role {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

/* Main Content */
.main-content {
    margin-left: 260px;
    flex: 1;
    padding: 24px;
}

.content-header {
    margin-bottom: 24px;
}

.breadcrumbs {
    font-size: 14px;
    color: #666;
}

.breadcrumbs .separator {
    margin: 0 8px;
    color: #ccc;
}

/* Metrics Section */
.metrics-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

/* Row 1: Overview and Rating Aggregate */
.metrics-row-1 {
    grid-template-columns: 2fr 1fr;
}

/* Row 2: Topic-wise Sentiment (Full Width) */
.metrics-row-2 {
    grid-template-columns: 1fr;
}

/* Row 3: Trends (Full Width) */
.metrics-row-3 {
    grid-template-columns: 1fr;
}

.metric-card-full-width {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    width: 100%;
}

/* Topic Sentiment Grid - 4 columns per row */
.topic-sentiment-grid-4x2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1400px) {
    .topic-sentiment-grid-4x2 {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 640px) {
    .topic-sentiment-grid-4x2 {
        grid-template-columns: 1fr;
    }
}

.metric-card-large {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    grid-column: span 1;
}

/* Card 3 (Topic-wise Sentiment) spans 1 column */
.metric-card-large:nth-child(3) {
    grid-column: span 1;
}

/* Card 4 (Topic-wise Trends) spans full width */
.metric-card-large:nth-child(4) {
    grid-column: 1 / -1;
}

.metric-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.metric-card-full {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    grid-column: 1 / -1;
}

.metric-card-full #topicTrendChart {
    max-height: 250px;
    height: 250px !important;
}

.metric-card-full .metric-card-content {
    min-height: 250px;
}

.metric-card-header {
    margin-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 12px;
}

.metric-card-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.metric-card-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-value-large {
    font-size: 32px;
    font-weight: 600;
    color: #111827;
}

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

.metric-card {
    padding: 20px;
    background-color: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.metric-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.metric-value {
    font-size: 28px;
    font-weight: 600;
    color: #111827;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.score {
    font-size: 32px;
}

.score-label {
    font-size: 18px;
    color: #6b7280;
}

.metric-subtext {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

/* Rating Display */
.rating-display {
    text-align: center;
    padding: 12px 0;
}

.rating-value {
    font-size: 36px;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 4px;
}

.rating-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

.rating-stars {
    font-size: 20px;
    color: #f59e0b;
    margin-bottom: 12px;
}

.rating-distribution {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 11px;
}

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

.rating-bar {
    flex: 1;
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background-color: #f59e0b;
}

/* Topic Sentiment Grid */
.topic-sentiment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.topic-sentiment-item {
    padding: 16px;
    background-color: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.topic-sentiment-item h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.topic-sentiment-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.topic-sentiment-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.topic-sentiment-stat.positive {
    color: #16a34a;
}

.topic-sentiment-stat.neutral {
    color: #f59e0b;
}

.topic-sentiment-stat.negative {
    color: #dc2626;
}

/* Filters */
.filters-section {
    margin-bottom: 24px;
}

.filters-container {
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 150px;
}

.filter-group label {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
}

.filter-select,
.filter-input {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    background-color: #ffffff;
}

.filter-input {
    width: 150px;
}

.filter-group span {
    font-size: 12px;
    color: #6b7280;
    margin: 0 4px;
}

.filter-actions {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.btn-primary {
    padding: 8px 16px;
    background-color: #22c55e;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #16a34a;
}

.btn-secondary {
    padding: 8px 16px;
    background-color: #6b7280;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

.btn-filter {
    padding: 8px 16px;
    background-color: #22c55e;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-filter:hover {
    background-color: #16a34a;
}

.btn-filter-secondary {
    padding: 8px 16px;
    background-color: #6b7280;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-filter-secondary:hover {
    background-color: #4b5563;
}

/* Feedback Type Grid */
.feedback-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feedback-type-item {
    padding: 20px;
    background-color: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.feedback-type-item h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.feedback-rating {
    margin-bottom: 8px;
}

.rating-value-large {
    font-size: 36px;
    font-weight: 700;
    color: #f59e0b;
    display: block;
    margin-bottom: 8px;
}

.feedback-total {
    font-size: 12px;
    color: #6b7280;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.empty-state h2 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #111827;
}

.empty-state p {
    font-size: 16px;
}

.gender-stats {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.gender-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
}

.gender-icon {
    font-size: 20px;
}

/* Reviews Section */
.reviews-section {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

.section-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.search-input {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    width: 250px;
}

.search-input:focus {
    outline: none;
    border-color: #22c55e;
}

.btn-export {
    padding: 8px 16px;
    background-color: #22c55e;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-export:hover {
    background-color: #16a34a;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

.reviews-table {
    width: 100%;
    border-collapse: collapse;
}

.reviews-table thead {
    background-color: #f9fafb;
}

.reviews-table th {
    padding: 12px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e5e7eb;
}

.reviews-table td {
    padding: 16px 12px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    color: #111827;
}

.reviews-table tbody tr:hover {
    background-color: #f9fafb;
}

.reviewer-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.reviewer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #f59e0b;
}

.sentiment-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.sentiment-positive {
    background-color: #dcfce7;
    color: #16a34a;
}

.sentiment-negative {
    background-color: #fee2e2;
    color: #dc2626;
}

.sentiment-neutral {
    background-color: #f3f4f6;
    color: #6b7280;
}

.action-topics-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    background-color: #fef3c7;
    color: #d97706;
    display: inline-block;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-text {
    max-width: 300px;
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    cursor: pointer;
    color: #2563eb;
    transition: color 0.2s;
}

.review-text:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.action-btn {
    padding: 6px 16px;
    background-color: #22c55e;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.action-btn:hover {
    background-color: #16a34a;
}

.action-btn.replied {
    background-color: #9ca3af;
    cursor: default;
}

.action-btn.replied:hover {
    background-color: #9ca3af;
}

.btn-reply {
    padding: 6px 16px;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-reply:hover {
    background-color: #2563eb;
}

.btn-reply:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #6b7280;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #ffffff;
    margin: auto;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

.modal-close {
    font-size: 28px;
    font-weight: 300;
    color: #6b7280;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #111827;
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.modal-review-info {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-info-row {
    display: flex;
    margin-bottom: 12px;
    font-size: 14px;
}

.modal-info-row strong {
    min-width: 100px;
    color: #6b7280;
    margin-right: 12px;
}

.modal-info-row span {
    color: #111827;
}

.modal-review-text {
    margin-bottom: 20px;
}

.modal-review-text strong {
    display: block;
    margin-bottom: 8px;
    color: #6b7280;
    font-size: 14px;
}

.modal-review-text p {
    margin: 0;
    padding: 16px;
    background-color: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    line-height: 1.6;
    color: #111827;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.modal-review-meta {
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

.btn-pagination {
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-pagination:hover:not(:disabled) {
    background-color: #f9fafb;
    border-color: #22c55e;
}

.btn-pagination:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    font-size: 14px;
    color: #6b7280;
}

.review-count {
    font-size: 14px;
    color: #6b7280;
}

.badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.badge-positive {
    background-color: #dcfce7;
    color: #16a34a;
}

.badge-neutral {
    background-color: #fef3c7;
    color: #d97706;
}

.badge-negative {
    background-color: #fee2e2;
    color: #dc2626;
}

.rating-badge {
    font-size: 12px;
    color: #f59e0b;
}

.summary-cell {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-view {
    padding: 6px 16px;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-view:hover {
    background-color: #2563eb;
}

.loading-cell,
.no-data {
    text-align: center;
    padding: 40px;
    color: #6b7280;
}

.modal-detail {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-row {
    display: flex;
    gap: 12px;
    font-size: 14px;
}

.detail-label {
    min-width: 150px;
    font-weight: 600;
    color: #6b7280;
}

.detail-value {
    color: #111827;
    flex: 1;
}

/* Block 1: Aggregated Topic Sentiment */
.block1-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.block1-topic-card {
    padding: 20px;
    background-color: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: transform 0.2s;
}

.block1-topic-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.block1-topic-name {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.block1-sentiment-score {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.block1-sentiment-score.positive {
    color: #22c55e;
}

.block1-sentiment-score.neutral {
    color: #f59e0b;
}

.block1-sentiment-score.negative {
    color: #dc2626;
}

.block1-trend-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 14px;
    margin-top: 8px;
}

.block1-trend-indicator.up {
    color: #22c55e;
}

.block1-trend-indicator.down {
    color: #dc2626;
}

.block1-trend-indicator.stable {
    color: #6b7280;
}

/* Block 2: Topic Performance by Store & Region */
.filter-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

#block2Chart {
    width: 100% !important;
}

.metric-card-full #block2Chart {
    margin-top: 16px;
}

/* Block 3: Individual Source Performance */
.block3-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.block3-source-card {
    padding: 20px;
    background-color: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: transform 0.2s;
}

.block3-source-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.block3-source-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.block3-source-name {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.block3-status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.block3-status-badge.active {
    background-color: #dcfce7;
    color: #16a34a;
}

.block3-status-badge.coming-soon {
    background-color: #fef3c7;
    color: #d97706;
}

.block3-metrics {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.block3-metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.block3-metric-label {
    color: #6b7280;
}

.block3-metric-value {
    font-weight: 600;
    color: #111827;
}

.block3-sentiment-bar {
    display: flex;
    height: 24px;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 8px;
}

.block3-sentiment-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 500;
    color: white;
}

.block3-sentiment-segment.positive {
    background-color: #22c55e;
}

.block3-sentiment-segment.neutral {
    background-color: #f59e0b;
}

.block3-sentiment-segment.negative {
    background-color: #dc2626;
}

.block3-top-topics {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.block3-topic-item {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 6px;
}

.block3-topic-name {
    color: #6b7280;
}

.block3-topic-score {
    font-weight: 600;
}

.block3-topic-score.good {
    color: #22c55e;
}

.block3-topic-score.warning {
    color: #f59e0b;
}

.block3-topic-score.bad {
    color: #dc2626;
}

/* Block 4: Feedback Quantity Breakdown */
.block4-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.block4-section {
    padding: 20px;
    background-color: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.block4-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

.block4-total {
    font-size: 28px;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 16px;
}

.block4-breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.block4-breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.block4-item-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #111827;
}

.block4-item-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.block4-item-value {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.block4-item-count {
    font-weight: 600;
    color: #111827;
}

.block4-item-percent {
    color: #6b7280;
    font-size: 12px;
}

/* Block 5: Actions Taken & Follow-ups */
.coming-soon-message {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.coming-soon-message p {
    margin: 0;
    font-size: 16px;
}

.block5-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.block5-summary-card {
    padding: 16px;
    background-color: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.block5-summary-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

.block5-summary-value {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

.block5-actions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.block5-action-item {
    padding: 16px;
    background-color: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.block5-action-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.block5-action-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.block5-action-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.block5-action-status.resolved {
    background-color: #dcfce7;
    color: #16a34a;
}

.block5-action-status.in-progress {
    background-color: #dbeafe;
    color: #2563eb;
}

.block5-action-status.pending {
    background-color: #fef3c7;
    color: #d97706;
}

.block5-action-details {
    font-size: 12px;
    color: #6b7280;
}
