:root {
    --bg-primary: #0f1419;
    --bg-secondary: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    --text-quaternary: rgba(255, 255, 255, 0.4);
    --grid-color: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] {
    --bg-primary: #f5f7fa;
    --bg-secondary: #ffffff;
    --border-color: rgba(0, 0, 0, 0.08);
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-tertiary: #6c757d;
    --text-quaternary: #8e8e8e;
    --grid-color: rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
}

.container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    /* Remove padding for sticky header */
}

/* ========== HEADER MOBILE-FIRST ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    height: 36px;
    width: auto;
    background: rgba(0, 0, 0, 0.1);
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: filter 0.3s ease;
    flex-shrink: 0;
}

[data-theme="light"] .logo {
    filter: invert(1) brightness(0.8);
}

.header-filters {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.header-info {
    display: none;
    /* Hidden on mobile */
    justify-content: center;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

/* Tabs */
.tabs {
    display: flex;
    gap: 0.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 0.25rem;
    border-radius: 6px;
}

.tab {
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-tertiary);
    transition: all 0.3s ease;
    min-height: 40px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab.active {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Hamburger Button */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    z-index: 1001;
    flex-shrink: 0;
}

.hamburger-btn span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.5rem 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-tertiary);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-height: 44px;
    /* Touch target */
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-btn.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

.filter-btn:hover:not(.active) {
    background: var(--bg-tertiary);
}

/* Desktop/Mobile text Toggle */
.desktop-text {
    display: none;
}

.mobile-text {
    display: inline;
}

/* Visibility utilities */
.mobile-only {
    display: block;
}

.desktop-only {
    display: none !important;
}

/* ========== DATE PICKER MODAL (Desktop) ========== */
.date-picker-modal {
    position: fixed;
    top: 120px;
    /* Below header */
    left: 50%;
    transform: translateX(-50%);
    z-index: 998;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.date-picker-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.date-input {
    padding: 0.6rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.9rem;
    min-height: 40px;
}

.date-label {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.apply-btn,
.cancel-btn {
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 40px;
    font-size: 0.9rem;
}

.apply-btn {
    background: var(--accent-blue);
    color: white;
}

.apply-btn:hover {
    background: var(--accent-blue-dark, #3d8ee0);
}

.cancel-btn {
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.cancel-btn:hover {
    background: var(--bg-tertiary);
}

.last-update {
    color: var(--text-tertiary);
    font-size: 0.8rem;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-primary);
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.mobile-menu-close {
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-content {
    flex: 1;
    padding: 1rem;
}

.mobile-menu-section {
    margin-bottom: 1.5rem;
}

.mobile-menu-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 56px;
    /* Large touch target */
    font-size: 1rem;
    color: var(--text-primary);
}

.mobile-menu-item:hover {
    background: var(--bg-tertiary);
}

.mobile-menu-icon {
    font-size: 1.5rem;
}

.mobile-menu-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1rem 0;
}

/* Custom date picker mobile */
.custom-date-picker-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.date-input-mobile {
    flex: 1;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 1rem;
    min-height: 48px;
    /* Touch target */
}

.date-separator {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.apply-btn-mobile {
    padding: 0.75rem;
    background: var(--accent-blue);
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px;
    font-size: 1rem;
}

.apply-btn-mobile:hover {
    background: var(--accent-blue-dark, #3d8ee0);
}

.last-update-mobile {
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
}

/* Desktop elements (hidden on mobile by default) */
.custom-date-picker {
    display: none;
}

.last-update {
    display: none;
}

/* ========== DESKTOP RESPONSIVE ========== */
@media (min-width: 769px) {
    .header {
        flex-direction: row;
        align-items: center;
        padding: 1rem 2rem;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .header-main {
        flex: 1;
        gap: 1.5rem;
    }

    .header-filters {
        justify-content: flex-end;
        flex: 1;
    }

    .header-info {
        display: flex;
        width: 100%;
        border-top: none;
        padding-top: 0;
        justify-content: flex-end;
        order: 3;
    }

    .mobile-only {
        display: none !important;
    }

    .desktop-only {
        display: flex !important;
    }

    .desktop-text {
        display: inline;
    }

    .mobile-text {
        display: none;
    }

    .logo {
        height: 42px;
    }

    .tab {
        font-size: 0.95rem;
        padding: 0.6rem 1.2rem;
    }

    .filter-btn {
        font-size: 0.875rem;
        padding: 0.6rem 1rem;
    }
}

/* Tablet/Smaller desktop */
@media (min-width: 769px) and (max-width: 1024px) {
    .header {
        gap: 1rem;
    }

    .header-main {
        width: 100%;
    }

    .header-filters {
        width: 100%;
        justify-content: center;
    }
}

/* Large desktop */
@media (min-width: 1200px) {
    .container {
        padding: 0 2rem;
    }

    .header-filters {
        justify-content: flex-start;
    }

    .header-info {
        width: auto;
        flex: 0;
    }
}

/* ========== CONTENT AREA PADDING ========== */
.screen {
    padding: 1rem;
    flex: 1;
    overflow-y: auto;
}

@media (min-width: 769px) {
    .screen {
        padding: 1.5rem 2rem;
    }
}

/* ========== SUMMARY CARDS RESPONSIVE ========== */
.chart-card {
    min-height: 300px;
    padding: 1rem;
}


.chart-wrapper {
    min-height: 250px;
}

.header-left {
    width: 100%;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.header-right {
    width: 100%;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

.filter-buttons {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.tabs {
    width: 100%;
    justify-content: center;
}

.custom-date-picker {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
}

.settings-container {
    position: absolute;
    top: 1rem;
    right: 1rem;
}
}

.theme-toggle {
    padding: 0.8vh 1.5vw;
    cursor: pointer;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.last-update {
    color: var(--text-tertiary);
    font-size: clamp(0.75rem, 0.85vw, 0.9rem);
}

.tabs {
    display: flex;
    gap: 0.5vw;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 0.3vh 0.3vw;
    border-radius: 8px;
}

.tab {
    padding: 0.8vh 1.5vw;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: clamp(0.85rem, 0.95vw, 1rem);
    font-weight: 600;
    color: var(--text-tertiary);
    transition: all 0.3s ease;
}

.tab.active {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.screen {
    display: none;
    flex: 1;
    min-height: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.screen.active {
    display: flex;
    flex-direction: column;
    gap: 2vh;
    animation: fadeInScreen 1s ease-in-out forwards;
}

@keyframes fadeInScreen {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Summary Cards */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5vw;
}

.summary-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2vh 1.5vw;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-color);
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1vh;
}

.summary-title {
    font-size: clamp(0.75rem, 0.85vw, 0.9rem);
    font-weight: 600;
    color: var(--text-secondary);
}

.summary-menu {
    color: var(--text-quaternary);
    font-size: 1.2rem;
    cursor: pointer;
}

.summary-value {
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 1vh;
}

.summary-label {
    font-size: clamp(0.75rem, 0.85vw, 0.9rem);
    color: var(--text-tertiary);
    margin-bottom: 0.5vh;
}

.summary-meta {
    font-size: clamp(0.7rem, 0.8vw, 0.85rem);
    color: var(--text-quaternary);
}

/* Main Content Grid */
.main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5vw;
    flex: 1;
    min-height: 0;
}

@media (max-width: 1024px) {
    .main-grid {
        grid-template-columns: 1fr;
        height: auto;
        overflow: visible;
    }

    .chart-card {
        min-height: 400px;
    }
}

.chart-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2vh 1.5vw;
    display: flex;
    flex-direction: column;
    min-height: 0;
    transition: all 0.3s ease;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2vh;
}

.card-title {
    font-size: clamp(1rem, 1.2vw, 1.3rem);
    font-weight: 700;
    color: var(--text-primary);
}

.card-tabs {
    display: flex;
    gap: 0.5vw;
    background: var(--bg-primary);
    padding: 0.3vh 0.3vw;
    border-radius: 6px;
}

.card-tab {
    font-size: clamp(0.7rem, 0.8vw, 0.85rem);
    color: var(--text-quaternary);
    cursor: pointer;
    padding: 0.5vh 1vw;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.card-tab.active {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.chart-wrapper {
    flex: 1;
    min-height: 0;
    position: relative;
}

.chart-wrapper canvas {
    max-height: 100%;
    max-width: 100%;
}

/* Right Column */
.right-column {
    display: flex;
    flex-direction: column;
    gap: 1.5vh;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1vw;
}

.overview-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2vh 1.5vw;
    text-align: center;
    transition: all 0.3s ease;
}

.overview-value {
    font-size: clamp(2rem, 2.5vw, 3rem);
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.5vh;
}

.overview-label {
    font-size: clamp(0.75rem, 0.85vw, 0.9rem);
    color: var(--text-tertiary);
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1vw;
}

.metric-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5vh 1vw;
    text-align: center;
    transition: all 0.3s ease;
}

.metric-value {
    font-size: clamp(1.5rem, 2vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5vh;
}

.metric-label {
    font-size: clamp(0.7rem, 0.8vw, 0.85rem);
    color: var(--text-tertiary);
}

/* Color Accents */
.accent-blue {
    --accent-color: #4a9eff;
}

.accent-red {
    --accent-color: #ff4757;
}

.accent-yellow {
    --accent-color: #ffa502;
}

.accent-green {
    --accent-color: #26de81;
}

.badge {
    display: inline-block;
    padding: 0.3vh 0.8vw;
    border-radius: 20px;
    font-size: clamp(0.7rem, 0.75vw, 0.8rem);
    font-weight: 600;
    margin-top: 0.5vh;
}

.badge-success {
    background: rgba(38, 222, 129, 0.2);
    color: #26de81;
}

.badge-warning {
    background: rgba(255, 165, 2, 0.2);
    color: #ffa502;
}

.badge-danger {
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.summary-card,
.chart-card,
.overview-card,
.metric-card {
    animation: fadeIn 0.5s ease-out;
}

/* Settings Menu */
.settings-container {
    position: relative;
}

.settings-button {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.8vh 1vw;
    cursor: pointer;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.settings-button:hover {
    background: var(--bg-primary);
}

.settings-menu {
    position: absolute;
    top: calc(100% + 0.5vh);
    right: 0;
    background: #1a1f26;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1vh 0;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
    animation: fadeIn 0.2s ease-out;
}

[data-theme="light"] .settings-menu {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.settings-menu.active {
    display: block;
}

.settings-item {
    padding: 1vh 1.5vw;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 1vw;
    color: var(--text-primary);
    font-size: clamp(0.85rem, 0.95vw, 1rem);
}

.settings-item:hover {
    background: var(--bg-primary);
}

.settings-item-icon {
    font-size: 1.2rem;
    width: 1.5rem;
    text-align: center;
}

.settings-item-label {
    flex: 1;
}

.settings-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5vh 0;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    gap: 0.5vw;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 0.3vh 0.3vw;
    border-radius: 8px;
}

.filter-btn {
    padding: 0.6vh 1.2vw;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: clamp(0.75rem, 0.85vw, 0.9rem);
    font-weight: 600;
    color: var(--text-tertiary);
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.filter-btn.active {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.filter-btn:hover:not(.active) {
    color: var(--text-secondary);
}

/* Custom Date Picker */
.custom-date-picker {
    display: flex;
    align-items: center;
    gap: 0.5vw;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 0.5vh 1vw;
    border-radius: 8px;
}

.date-input {
    padding: 0.5vh 0.8vw;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: clamp(0.7rem, 0.8vw, 0.85rem);
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}

.date-input::-webkit-calendar-picker-indicator {
    filter: invert(0.8);
}

[data-theme="light"] .date-input::-webkit-calendar-picker-indicator {
    filter: invert(0.2);
}

.apply-btn {
    padding: 0.5vh 1.2vw;
    background: var(--accent-color);
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    font-size: clamp(0.7rem, 0.8vw, 0.85rem);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.apply-btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* Status Grid */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5vh;
    margin-bottom: 2vh;
}

.status-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1vh 1vw;
    background: var(--bg-primary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-bottom: 0.5vh;
    display: block;
}

.dot-green {
    background-color: #00C851;
    box-shadow: 0 0 8px rgba(0, 200, 81, 0.4);
}

.dot-purple {
    background-color: #9c27b0;
    box-shadow: 0 0 8px rgba(156, 39, 176, 0.4);
}

.dot-yellow {
    background-color: #ffbb33;
    box-shadow: 0 0 8px rgba(255, 187, 51, 0.4);
}

.dot-blue {
    background-color: #33b5e5;
    box-shadow: 0 0 8px rgba(51, 181, 229, 0.4);
}

.dot-gray {
    background-color: #bdbdbd;
    box-shadow: 0 0 8px rgba(189, 189, 189, 0.4);
}

.status-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-bottom: 0.2vh;
}

.status-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Progress Bar Styles */
.progress-bar-container {
    margin-top: 1vh;
    width: 100%;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: clamp(0.7rem, 0.75vw, 0.8rem);
    color: var(--text-tertiary);
    margin-bottom: 0.5vh;
}

.progress-separator {
    color: var(--text-quaternary);
    padding: 0 0.3vw;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-primary);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.8s ease-out, background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.5vw;
    position: relative;
}

.progress-percentage {
    font-size: clamp(0.6rem, 0.7vw, 0.75rem);
    font-weight: 700;
    color: white;
    position: absolute;
    right: 0.3vw;
}

/* Trend Indicator Styles */
.trend-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.3vw;
    font-size: clamp(0.7rem, 0.8vw, 0.85rem);
    font-weight: 600;
    padding: 0.2vh 0.5vw;
    border-radius: 4px;
    margin-left: 0.5vw;
}

.trend-icon {
    font-size: 0.9em;
}

.trend-value {
    font-size: 0.9em;
}

.trend-up {
    background: rgba(38, 222, 129, 0.15);
}

.trend-down {
    background: rgba(255, 71, 87, 0.15);
}

.trend-stable {
    background: rgba(189, 189, 189, 0.15);
}

/* Vendor Filter Styles */
.vendor-filter-container {
    display: flex;
    align-items: center;
    gap: 0.5vw;
}

.vendor-filter-label {
    font-size: clamp(0.75rem, 0.85vw, 0.9rem);
    color: var(--text-tertiary);
    font-weight: 600;
}

.vendor-select {
    padding: 0.6vh 1.2vw;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: clamp(0.75rem, 0.85vw, 0.9rem);
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.vendor-select:hover {
    border-color: var(--accent-color);
}

.vendor-select:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Color Variables for Components */
:root {
    --color-success: #26de81;
    --color-warning: #ffa502;
    --color-danger: #ff4757;
}