/* =============================================================================
   CCC Web Interface Styles - Dark Mode
   ============================================================================= */

:root {
    /* Dark theme colors */
    --bg-primary: #1a1a1a;
    --bg-secondary: #252525;
    --bg-tertiary: #2d2d2d;
    --bg-elevated: #333333;
    
    /* Text colors */
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --text-muted: #707070;
    
    /* Accent colors (keeping CCC maroon) */
    --accent-primary: #800000;
    --accent-secondary: #600000;
    --accent-hover: #a00000;
    
    /* Status colors */
    --status-healthy: #28a745;
    --status-warning: #ffc107;
    --status-fault: #dc3545;
    
    /* Border colors */
    --border-color: #3a3a3a;
    --border-light: #444444;
    
    /* Layout */
    --sidebar-width: 335px;
    --header-height: 48px;
    
    /* Fonts */
    --font-primary: 'Vanadium Sans Semi-Extended', 'Noto Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Vanadium Mono', 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

/* =============================================================================
   Font Face Declarations - Loaded from https://www.500nodes.com/fonts
   Uses local() to check for system fonts first before downloading
   ============================================================================= */

@font-face {
    font-family: "Vanadium Sans Semi-Extended";
    src: local("Vanadium Sans Semi-Extended"),         
         url('https://www.500nodes.com/fonts/VanadiumSans-SemiExtended.woff2') 
         format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vanadium Mono Semi-Extended";
    src: local("Vanadium Mono Semi-Extended"),         
         url('https://www.500nodes.com/fonts/VanadiumMono-SemiExtended.woff2') 
         format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


/* =============================================================================
   Base Styles
   ============================================================================= */

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

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

/* =============================================================================
   App Layout
   ============================================================================= */

#app {
    height: 100vh;
    display: flex;
    flex-direction: row;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

#app:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

/* =============================================================================
   Header (Unified)
   ============================================================================= */

.app-header {
    height: var(--header-height);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-shrink: 0;
    position: relative; /* For absolute positioning of header-center */
}

.main-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.header-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    padding-left: 0px;
    white-space: nowrap;
}

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

/* Header center section for viewer type label - centered across entire toolbar */
.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* Let clicks pass through to header */
}

.viewer-type-label {
    font-size: 12px;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
    pointer-events: auto; /* Enable interaction with the label */
}

.viewer-type-label.visible {
    opacity: 1;
}

/* Control groups */
.control-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.control-group.hidden {
    display: none;
}

/* Separator between control groups */
.control-group:not(:last-child) {
    padding-right: 12px;
    border-right: 1px solid var(--border-color);
}

/* Legacy classes - kept for compatibility */
.report-control,
.chart-control {
    display: flex;
}

.chart-control.hidden,
.report-control.hidden {
    display: none;
}

.icon-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-color: var(--border-light);
}

/* Font Awesome icon styles */
.icon-btn i {
    font-size: 20px;
}

/* Style for login form icons */
.form-group label i {
    margin-right: 6px;
    color: var(--text-secondary);
}

.login-error i {
    margin-right: 6px;
}

.login-btn i {
    margin-right: 8px;
}

/* Font Awesome Duotone styling */
.fa-duotone {
    position: relative;
}

.fa-duotone .fa-primary {
    color: inherit;
    opacity: 1;
}

.fa-duotone .fa-secondary {
    color: inherit;
    opacity: 0.4;
}

/* =============================================================================
   Main Layout
   ============================================================================= */

.app-layout {
    display: flex;
    flex: 1;
    overflow: hidden;
    flex-direction: row;
    width: 100%;
}

/* Fullscreen mode - hide sidebar */
.app-layout.fullscreen .sidebar {
    display: none;
}

.app-layout.fullscreen .main-area {
    flex: 1;
}

/* =============================================================================
   Sidebar
   ============================================================================= */

.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-section.calendar-section {
    padding: 12px;
    flex-shrink: 0;
}

.sidebar-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin: 0 0 12px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.5px;
}

.sidebar-section.charts-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}



/* Chart previews container */
.previews-container {
    flex: 1;
    overflow-y: auto;
    padding: 0 12px 12px 12px;
}

.previews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.chart-preview {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.15s ease;
}

.chart-preview:hover {
    border-color: var(--border-light);
    background: var(--bg-elevated);
}

.chart-preview.active {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 1px var(--accent-primary);
}

.chart-preview .preview-label {
    padding: 8px 10px;
    font-size: 11px;
    text-align: center;
    color: white;
    background: var(--accent-primary);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chart-preview .preview-image {
    width: 100%;
    height: auto;
    display: block;
    background: white;
    padding: 4px;
    color: black;
}

.chart-preview .preview-image svg {
    width: 100%;
    height: auto;
    display: block;
}

.loading-text, .empty-text {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 12px;
}

/* =============================================================================
   Main Content Area
   ============================================================================= */

.main-content {
    flex: 1;
    overflow: hidden;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
}

#content-container {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.content-view {
    display: none;
    height: 100%;
    flex-direction: column;
}

.content-view.active {
    display: flex;
}

/* =============================================================================
   View Header (Deprecated - now part of unified app-header)
   Styles kept for reference but no longer used
   ============================================================================= */

.view-header {
    display: none; /* Removed - consolidated into app-header */
}

/* =============================================================================
   Report View
   ============================================================================= */

.frame-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    background: var(--bg-primary);
}

#report-frame {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
}

/* =============================================================================
   Chart View
   ============================================================================= */

.chart-container {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: var(--bg-primary);
    color: black;
}

.chart-placeholder {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-style: italic;
}

/* =============================================================================
   Diagram Viewer (SVG Pan/Zoom)
   ============================================================================= */

/* Container for SVG diagram viewer */
.chart-viewer-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 4px;
    overflow: hidden;
}

/* SVG element within diagram viewer */
.chart-viewer-container > div > svg {
    width: 100%;
    height: 100%;
    cursor: grab;
}

.chart-viewer-container > div > svg:active {
    cursor: grabbing;
}

/* Ensure SVG content is properly displayed */
.chart-viewer-container svg {
    display: block;
}

/* Selection style to prevent text selection while panning */
.chart-viewer-container {
    user-select: none;
    -webkit-user-select: none;
}

/* =============================================================================
   Flatpickr Dark Theme Customization
   ============================================================================= */

.flatpickr-input {
    display: none;
}

.flatpickr-calendar {
    font-family: var(--font-primary);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    width: 100% !important;
    min-width: auto !important;
    max-width: none !important;
}

.flatpickr-calendar.inline {
    display: block;
    box-shadow: none;
    border: 1px solid var(--border-color);
}

.flatpickr-months {
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-color);
    border-radius: 8px 8px 0 0;
    height: 40px;
}

.flatpickr-month {
    height: 40px;
}

.flatpickr-current-month {
    padding-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    font-weight: 500;
    color: var(--text-primary) !important;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    height: 24px;
    line-height: 24px;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    padding: 0 8px;
    font-size: 15px;
}

.flatpickr-current-month input.cur-year {
    padding: 0 4px;
    text-align: center;
    font-size: 15px;
    width: 50px;
}
.flatpickr-current-month {
	font-size: 15px;
}

.flatpickr-prev-month, .flatpickr-next-month {
    color: var(--text-primary) !important;
    fill: var(--text-primary) !important;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px; 
    top: 3px !important;
}

.flatpickr-prev-month svg, .flatpickr-next-month svg {
    fill: var(--text-primary) !important;
}

.flatpickr-prev-month:hover, .flatpickr-next-month:hover {
    color: var(--text-primary) !important;
    fill: var(--text-primary) !important;
    opacity: 0.8;
}

.flatpickr-weekdays {
    background: var(--bg-secondary);
    display: flex;
    justify-content: space-around;
    padding: 4px 0;
}

.flatpickr-weekdaycontainer {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.flatpickr-weekday {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 10px;
    text-align: center;
    flex: 1;
    padding: 2px 0;
}
span.flatpickr-weekday {
    color: var(--text-secondary);
}
.flatpickr-days {
    background: var(--bg-tertiary);
}

.dayContainer {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    width: 100%;
    min-width: 100%;
    justify-items: center;
    padding: 4px 0;
}

.flatpickr-day {
    color: var(--text-primary);
    border-radius: 4px;
    font-size: 11px;
    height: 36px;
    line-height: 36px;
    margin: 3px 0px;
    max-width: none;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    max-width: 36px;
    min-width: 36px;
}

.flatpickr-day:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.flatpickr-day.today {
    border-color: var(--accent-primary);
}

.flatpickr-day.disabled {
    color: var(--text-muted);
    background: transparent;
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: var(--text-muted);
    visibility: hidden;
    opacity: 0.5;
}

/* Highlight dates with reports */
.flatpickr-day.has-report {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid var(--status-healthy);
    font-weight: 500;
}

.flatpickr-day.has-report:hover {
    background: rgba(40, 167, 69, 0.3);
}

.flatpickr-day.has-report.selected {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

/* =============================================================================
   Loading & Error States
   ============================================================================= */

.error-message {
    padding: 20px;
    margin: 20px;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 8px;
    color: #ff6b6b;
    text-align: center;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--bg-elevated);
    border-top: 2px solid var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* =============================================================================
   Scrollbar Styling
   ============================================================================= */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--border-light) var(--bg-secondary);
}

/* =============================================================================
   Login Page
   ============================================================================= */

#login-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

#login-page:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.8s ease 0.5s; /* Fade in with delay */
}

.login-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    width: 360px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.login-header {
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-logo {
    height: 75px;
    width: 75px;
    min-width: 75px;
    border-radius: 8px;
    padding: 5px;
    filter: drop-shadow(0px 0px 15px white) drop-shadow(0px 0px 3px white);
}

.login-header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header h1 {
    font-size: 20px;
    color: white;
    margin: 0 0 3px 0;
    font-weight: bold;
}

.login-header p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    display: none;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: none;
}

.form-group input {
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.15s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.login-btn {
    padding: 14px 24px;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease;
    margin-top: 30px;
}

.login-btn:hover {
    background: var(--accent-hover);
}

.login-error {
    padding: 12px;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 6px;
    color: #ff6b6b;
    font-size: 13px;
    text-align: center;
    display: none;
}

.login-error.visible {
    display: block;
}

/* =============================================================================
   Lazy Loading & Skeleton Placeholders
   ============================================================================= */

/* Skeleton animation for loading placeholders */
@keyframes skeleton-pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-elevated) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
    border-radius: 4px;
}

/* Chart preview skeleton */
.chart-preview.skeleton {
    height: 120px;
    background: var(--bg-tertiary);
}

.chart-preview.skeleton .skeleton-title {
    height: 28px;
    background: var(--accent-primary);
    opacity: 0.5;
}

.chart-preview.skeleton .skeleton-content {
    height: 92px;
    background: white;
    opacity: 0.1;
}

/* Lazy loaded content fade-in */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Report iframe loading state */
#report-frame.loading {
    opacity: 0;
}

#report-frame {
    transition: opacity 0.3s ease;
}

/* Chart preview lazy loading */
.chart-preview.lazy {
    min-height: 120px;
}

.chart-preview .preview-image.lazy-content {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chart-preview .preview-image.lazy-content.loaded {
    opacity: 1;
}

/* Intersection observer placeholder - visible while waiting to intersect */
.lazy-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 80px;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    font-size: 11px;
}

/* Loading spinner for iframe */
.iframe-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 12px;
}

.iframe-loader .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--bg-tertiary);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Progressive loading indicator */
.loading-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--bg-tertiary);
    z-index: 100;
}

.loading-progress .progress-bar {
    height: 100%;
    background: var(--accent-primary);
    width: 0%;
    transition: width 0.3s ease;
}

/* Priority loading - load visible items first */
.chart-preview.priority-load {
    border: 1px solid var(--accent-primary);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .skeleton,
    .lazy-load,
    #report-frame,
    .chart-preview .preview-image.lazy-content {
        animation: none;
        transition: none;
    }
    
    .lazy-load {
        opacity: 1;
    }
}

.chart-viewer-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 4px;
    overflow: hidden;
}

.chart-tooltip {
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    border-radius: 4px;
}

/* Progress Bar Styles */
.chart-progress-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-radius: 4px;
}

.chart-progress-container {
    width: 60%;
    max-width: 500px;
}

.chart-progress-label {
    color: white;
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
}

.chart-progress-bar {
    width: 100%;
    height: 30px;
    background: #2d2d2d;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.chart-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0066cc, #17a2b8);
    border-radius: 15px;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.chart-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.chart-progress-percentage {
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-top: 15px;
}

.chart-progress-phase {
    color: #888;
    font-size: 12px;
    margin-top: 10px;
}

/* Phase indicator styles */
.chart-progress-phase-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 15px 0 10px 0;
}

.phase-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #444;
    transition: all 0.3s ease;
    position: relative;
}

.phase-dot.active {
    background: #17a2b8;
    box-shadow: 0 0 10px rgba(23, 162, 184, 0.5);
}

.phase-dot.completed {
    background: #28a745;
}

.phase-dot.completed::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 8px;
    font-weight: bold;
}

.phase-connector {
    width: 30px;
    height: 2px;
    background: #444;
    transition: background 0.3s ease;
}

.phase-dot.completed + .phase-connector,
.phase-dot.active + .phase-connector {
    background: #28a745;
}

.chart-progress-phases {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.phase-label {
    font-size: 11px;
    color: #666;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.phase-label.active {
    color: #17a2b8;
    font-weight: 600;
}

.phase-label.completed {
    color: #28a745;
}

.chart-error {
    color: #dc3545;
    padding: 20px;
    text-align: center;
}
