:root {
    --color-better: #2563EB;   /* Blue for better/overperforming */
    --color-worse: #EA580C;    /* Orange for worse/underperforming */
    --color-better-light: #EFF6FF; /* Light blue background */
    --color-worse-light: #FFF7ED;  /* Light orange background */
}

.stat-card.warning::before,
.song-card.warning::before,
.status-badge.warning,
.table-performance-badge.warning {
    background: var(--color-better) !important;
    color: white !important;
}

.status-badge.warning {
    background: var(--color-better-light) !important;
    color: var(--color-better) !important;
}

.table-performance-badge.warning {
    background: var(--color-better-light) !important;
    color: var(--color-better) !important;
}

.stat-card.urgent::before,
.song-card.urgent::before,
.status-badge.urgent,
.table-performance-badge.urgent {
    background: var(--color-worse) !important;
    color: white !important;
}

.status-badge.urgent {
    background: var(--color-worse-light) !important;
    color: var(--color-worse) !important;
}

.table-performance-badge.urgent {
    background: var(--color-worse-light) !important;
    color: var(--color-worse) !important;
}

*[style*="#10b981"],
*[style*="#10B981"] {
    color: var(--color-better) !important;
}

*[style*="#ef4444"],
*[style*="#EF4444"] {
    color: var(--color-worse) !important;
}

* {
    box-sizing: border-box;
}

.anomaly-app {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fafbfc;
    min-height: 100vh;
}

/* Header Section */
.app-header {
    margin-bottom: 32px;
}

.header-content {
    text-align: center;
    margin-bottom: 32px;
}

.header-content h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.header-content p {
    font-size: 18px;
    color: #64748b;
    margin: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #e2e8f0;
}

.stat-card.warning::before { background: var(--color-better); }
.status-badge.warning {
    background: #eff6ff;  /* Light blue background */
    color: var(--color-better);
}
.stat-card.urgent::before { background: var(--color-worse); }
.status-badge.urgent {
    background: #fff7ed;  /* Light orange background */
    color: var(--color-worse);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* Filters Section */
.filters-section {
    background: white;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.filters-row {
    display: flex;
    gap: 20px;
    align-items: end;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

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

.filter-group label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.filter-select {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    background: white;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-select:hover {
    border-color: #d1d5db;
}

.filter-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.clear-btn {
    padding: 12px 20px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.clear-btn.hidden {
    display: none;
}

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 24px;
}

.view-toggle {
    display: flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
}

.toggle-btn {
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #64748b;
}

.toggle-btn.active {
    background: white;
    color: #1a202c;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Loading Grid */
.loading-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.card-skeleton {
    height: 280px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 16px;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.cards-grid.hidden {
    display: none;
}

.song-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
}

.song-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.song-card.urgent::before { background: #ef4444; }
.song-card.warning::before { background: #f59e0b; }
.song-card.stable::before { background: #64748b; }

.song-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.card-status {
    display: flex;
    gap: 8px;
    align-items: center;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.urgent {
    background: #fef2f2;
    color: #dc2626;
}

.status-badge.warning {
    background: #fffbeb;
    color: #d97706;
}

.status-badge.stable {
    background: #f1f5f9;
    color: #64748b;
}

.cluster-badge {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    color: white;
}

.cluster-badge.cluster-0 {
    background: #3b82f6;
}

.cluster-badge.cluster-1 {
    background: #f59e0b;
}

.card-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.song-id {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

.card-content {
    margin-bottom: 16px;
}

.song-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.artist-name {
    font-size: 14px;
    color: #3b82f6;
    font-weight: 500;
    margin: 0 0 4px 0;
}

.label-name {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.card-chart {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    background: white;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #f1f5f9;
}

.mini-chart {
    color: #6b7280;
    width: 100%;
    height: 100%;
}

.card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
    display: block;
}

.stat-label {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.page-btn {
    padding: 10px 16px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #374151;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.page-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

/* Modal - With top margin for visual centering */
.modal-overlay {
    position: fixed;
    top: 60px; /* Start below navigation bar */
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
}

.modal-overlay.hidden {
    display: none;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 900px;
    max-height: calc(100vh - 120px); /* Account for nav + margins */
    overflow-y: auto;
    margin: 40px auto 0 auto; /* Add top margin for visual centering */
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

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

.modal-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
}

.close-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    font-size: 18px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.modal-body {
    padding: 24px;
}

.song-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
}

.chart-section {
    margin-bottom: 24px;
}

/* Chart container */
.chart-container {
    width: 100%;
    height: 350px;
    min-height: 250px;
    max-height: 400px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

/* Responsive adjustments */
@media screen and (max-height: 900px) {
    .chart-container {
        height: 300px;
        min-height: 220px;
    }
    
    .modal-content {
        margin: 20px auto 0 auto; /* Reduce top margin on smaller screens */
    }
}

@media screen and (max-height: 700px) {
    .chart-container {
        height: 250px;
        min-height: 200px;
    }
    
    .modal-overlay {
        top: 50px;
        padding: 15px;
    }
    
    .modal-content {
        max-height: calc(100vh - 80px);
        margin: 10px auto 0 auto; /* Further reduce margin */
    }
    
    .modal-body {
        padding: 20px;
    }
}

@media screen and (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-width: none;
    }
    
    .modal-overlay {
        padding: 10px;
    }
}

.song-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
}

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

.meta-item label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-item span {
    font-size: 16px;
    font-weight: 500;
    color: #1a202c;
}

.chart-section {
    margin-bottom: 32px;
}

.chart-section.hidden {
    display: none;
}

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

.chart-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
}

.tech-toggle {
    padding: 8px 16px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tech-toggle:hover {
    background: #2563eb;
}

.chart-container {
    height: 450px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.chart-description {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
    line-height: 1.5;
}

.loading-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 24px 32px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: 16px;
}

.loading-message.hidden {
    display: none;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #f3f4f6;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Error Banner */
.error-banner {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .anomaly-app {
        padding: 16px;
    }
    
    .header-content h1 {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .filters-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .song-meta {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .modal-content {
        margin: 20px;
        max-height: calc(100vh - 40px);
    }
    
    .modal-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .card-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .stat-value {
        font-size: 14px;
    }
    
    .stat-label {
        font-size: 11px;
    }
}

.song-card,
.stat-card,
.filter-select,
.page-btn,
.toggle-btn,
.clear-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-select:focus,
.page-btn:focus,
.toggle-btn:focus,
.clear-btn:focus,
.close-btn:focus,
.tech-toggle:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.modal-content h3 {
    font-size: 1.5rem; 
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
    color: inherit;
}

.chart-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
    color: inherit;
}


.stat-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Active filter state for clicked stat cards */
/* .stat-card.active-filter {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    border: 2px solid;
}

.stat-card.urgent.active-filter {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.stat-card.warning.active-filter {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

.stat-card.stable.active-filter {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05); */
}

/* Add a subtle indicator that cards are clickable */
.stat-card::after {
    content: '';
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover::after {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.2);
}

.stat-card.active-filter::after {
    background: currentColor;
    opacity: 0.3;
}


.controls-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sort-btn {
    padding: 8px 16px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #374151;
}

.sort-btn:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.sort-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.sort-indicator::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 4px;
    opacity: 0.6;
}

.sort-btn[data-sort="asc"] .sort-indicator::after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid currentColor;
}

.sort-btn[data-sort="desc"] .sort-indicator::after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
}

.table-view {
    margin-bottom: 32px;
}

.table-view.hidden {
    display: none;
}

.table-container {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

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

.songs-table th {
    background: #f8fafc;
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
}

.songs-table td {
    padding: 16px 12px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #1a202c;
}

.songs-table tr {
    cursor: pointer;
    transition: all 0.2s ease;
}

.songs-table tr:hover {
    background: #f8fafc;
}

.songs-table tr:last-child td {
    border-bottom: none;
}

.table-performance-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-performance-badge.urgent {
    background: #fef2f2;
    color: #dc2626;
}

.table-performance-badge.warning {
    background: #fffbeb;
    color: #d97706;
}

.table-performance-badge.stable {
    background: #f0fdf4;
    color: #059669;
}

.table-cluster-badge {
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: white;
}

.table-cluster-badge.cluster-0 {
    background: #3b82f6;
}

.table-cluster-badge.cluster-1 {
    background: #f59e0b;
}

.table-song-title {
    font-weight: 600;
    color: #1a202c;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-artist-name {
    color: #3b82f6;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .table-container {
        overflow-x: auto;
    }
    
    .songs-table {
        min-width: 800px;
    }
}

.fade-in {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
}

.fade-transition {
    transition: opacity 0.3s ease-in-out;
}

.modal-overlay {
    opacity: 0;
    transition: opacity 0.1s ease-out;
    pointer-events: none;
}

.modal-overlay:not(.hidden) {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 900px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    margin: 40px auto 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease-out;
}

.modal-body {
    padding: 24px;
    transition: opacity 0.2s ease-in-out;
}

.modal-overlay:not(.hidden) .modal-content {
    transform: scale(1);
}

.loading-message {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.loading-message:not(.hidden) {
    opacity: 1;
}

.table-view {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.table-view.visible {
    opacity: 1;
}

.cards-grid {
    transition: opacity 0.2s ease-in-out;
}

.tech-toggle {
    padding: 8px 16px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tech-toggle:hover {
    background: #2563eb;
}

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

.chart-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
}

.page-info {
    padding: 10px 16px;
    color: #6B7280;
    font-weight: 500;
    font-size: 14px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 220px; 
    width: calc(100vw - 220px); 
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.roas-header {
    display: none !important;
    z-index: -1 !important;
}

.roas-main {
    position: relative;
    z-index: 1;
}

.non-friday-badge {
    background: linear-gradient(135deg, #ec4899, #be185d);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 4px;
    box-shadow: 0 1px 3px rgba(236, 72, 153, 0.3);
}

.card-status {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.non-friday-badge-small {
    background: #ec4899;
    color: white;
    font-size: 9px;
    font-weight: 600;
    padding: 1px 4px;
    border-radius: 4px;
    margin-left: 4px;
    text-transform: uppercase;
}

.non-friday-badge-small {
    background: #ec4899;
    color: white;
    font-size: 9px;
    font-weight: 600;
    padding: 1px 4px;
    border-radius: 4px;
    margin-left: 4px;
    text-transform: uppercase;
}

.cluster-1 {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
}

.non-friday-badge {
    background: linear-gradient(135deg, #ec4899, #be185d);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 4px;
    box-shadow: 0 1px 3px rgba(236, 72, 153, 0.3);
}

.non-friday-badge-small {
    background: #ec4899;
    color: white;
    font-size: 9px;
    font-weight: 600;
    padding: 1px 4px;
    border-radius: 4px;
    margin-left: 4px;
    text-transform: uppercase;
}

.card-status {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}