

cp-utilization-chart {
    display: flex;
    flex-direction: column;
    gap: 24px;
   
    width: 100%;
    margin-top: 38px;
}

.uc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}


.uc-legend {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
}
.uc-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.uc-legend-item i {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}


.uc-controls {
    display: flex;
    background: var(--bg-hover, #f0f0f0);
    border-radius: 24px;
    padding: 4px;
}
.uc-toggle-btn {
    border: none;
    background: transparent;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}
.uc-toggle-btn:hover { color: var(--text-main); }
.uc-toggle-btn.active {
    background: var(--search-bg, #ffffff);
    color: var(--text-main);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}


.uc-body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 180px;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}


.uc-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    height: 100%;
    gap: 12px;
}


.uc-track {
    position: relative;
    width: 100%;
    max-width: 14px;
    height: 100%;
    background-color: #f0f3ed;
    border-radius: 999px;
    overflow: hidden;
}


.uc-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 999px;
   
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.5s ease;
}


.uc-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}


.uc-footer {
    display: flex;
    gap: 13%;
    padding-top: 16px;
}


.uc-footer-days {
    display: flex;
    flex: 2;
    justify-content: space-between;
    gap: 8px;
    padding-top: 8px;
    
   
    overflow-x: auto;
    scrollbar-width: none;
}
.uc-footer-days::-webkit-scrollbar { display: none; }

.uc-day-gauge {
    position: relative;
    width: 54px;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.uc-day-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.uc-day-track, .uc-day-fill {
    fill: none;
    stroke-width: 12;
    stroke-linecap: round;
}

.uc-day-track {
    stroke: var(--bg-hover, #f0f0f0);
}

.uc-day-fill {
   
    transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.uc-day-label {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--text-main, #1a1a1a);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.uc-footer-desc {
    flex: 1;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}


@media (max-width: 768px) {
    .uc-footer {
        flex-direction: column;
        gap: 24px;
    }
    
    .uc-footer-desc {
        text-align: left;
    }
}

@media (max-width: 600px) {
    .uc-header { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 20px;
    }
    
    .uc-controls { 
        width: 100%; 
        display: flex; 
    }
    
    .uc-toggle-btn { 
        flex: 1; 
        text-align: center; 
    }

    .uc-col.is-hour:nth-child(odd) .uc-label {
        opacity: 0; 
    }
}

@media (max-width: 480px) {
    cp-utilization-chart {
        margin-top: 24px;
    }

    .uc-body {
        gap: 2px;
    }

    .uc-track {
        max-width: 10px;
    }
    
    .uc-label {
        font-size: 0.65rem;
    }
    
    .uc-day-gauge {
        width: 44px;
        height: 40px;
    }
    
    .uc-day-label {
        font-size: 0.6rem;
    }

    .uc-col.is-hour:nth-child(even) .uc-label {
        opacity: 0; 
    }
    
    .uc-col.is-hour:nth-child(3n) .uc-label {
        opacity: 1; 
    }
}