.spectrum-container {
    width: 100%;
    height: 40px;
    opacity: 1;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

.spectrum-container.hidden {
    opacity: 0;
}

.spectrum-bars {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 100%;
    gap: 2px;
    padding: 0 4px;
}

.spectrum-bar {
    flex: 1;
    margin: 0 auto;
    max-width: 8px;
    min-width: 4px;
    height: var(--bar-height, 2%);
    min-height: 2px;
    background-image: linear-gradient(to top,
        #2a883b  0%,  #2a883b  12%,
        #2ECC71  17%, #2ECC71  42%,
        #F4C430  47%, #F4C430  72%,
        #FF6B35  78%, #FF6B35  100%
    );
    background-size: 100% 40px;
    background-position: bottom;
    background-repeat: no-repeat;
    border-radius: 2px 2px 0 0;
    transition: height 0.05s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .spectrum-container {
        height: 32px;
    }

    .spectrum-bars {
        gap: 1px;
    }

    .spectrum-bar {
        max-width: 8px;
        min-width: 3px;
        background-size: 100% 32px;
    }
}
