#progress-holder {
    display:flex; 
    align-items:stretch; 
    gap:1em; 
    margin-top:1em; 
    margin-bottom:1em; 
    flex-direction: row; 
    justify-content: space-between;
}

.bar {
  height: 14px;
  background: #222;
  border-radius:999px;
  overflow: hidden;
  margin-top: 2em;
}

.bar.overall {
  height: 22px;
  margin-top: 8px;
}  

.bar > div {
  background: var(--primary);
  height: 100%;
  width: 0%;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* make text stick to right edge of bar */
  padding-left: 0.4em;
  white-space: nowrap;        /* prevent line wrap */
  overflow: show;   /* truncate if too long */
}


.eta-group {
  margin-top: 6px;
  text-align: center;
  display: flex;
    justify-content: center;
    gap: 1em;
    align-items: baseline;
}

.eta.large {
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.4s ease;
}

.eta.hint {
  font-size: 11px;
  opacity: 0.6;
}

.bar {
    min-width: 60%;
}

.infos {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 5em;
}
.infos > div {
    flex: none;
    min-width: 10%;
    max-width: 10%;
    width: 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.infos > div > div {
    margin-top: 4px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.infos > div > strong {
    text-align: center;
}

.queue-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  border-radius: 44px;
  background: #222;
  font-weight: 700;
  font-size: 0.95em;
}

#status {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#status > .status-pill {
    height: 44px;
    width: 100%;
    vertical-align: middle;
    border-radius: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0.25em 0.6em;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9em;
}
.status-pill.enc { background: var(--primary); }
.status-pill.bld  { background: var(--midPoint); }
.status-pill.ana   { background: var(--midPoint); }
.status-pill.idle   { background: var(--accent); }
.status-pill.prep   { background: var(--midPoint); }
.status-pill.fin   { background: var(--accent); }
.status-pill.unknown { background: var(--cardAccent); }

#progress-bar {
    height: 30px;
}

#overall_eta {
    font-size: 10px;
}

#overall_eta_hint {
    font-size: 7px;
}

#savings-wrapper {
    min-width: 10%; 
    display: flex; 
    flex-direction: column; 
    flex: 0;
    gap: 10px;
}

/* pulse animation using CSS variables to keep the anchor */
@keyframes pulseRadial {
  0% {
    background-size: 200% 300%;
  }
  50% {
    background-size: 4000% 300%;
  }
  100% {
    background-size: 200% 300%;
  }
}

#speed-wrapper {
    flex: 0;
    min-width: 20%;
}

@media (max-width: 768px), (max-height: 600px) {
    
    #progress-holder {
        display:flex; 
        align-items:center; 
        gap:1em; 
        margin-top:1em; 
        margin-bottom:1em; 
        flex-direction: column; 
        justify-content: space-between;
    }

    .infos {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 1em;
    }

    .infos > div {
        flex: none;
        min-width: 100%;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #progress-holder > div {
        min-width: 100%;
        min-height: 200px;
    }

    /* pulse animation using CSS variables to keep the anchor */
    @keyframes pulseRadial {
    0% {
        background-size: 200% 300%;
    }
    50% {
        background-size: 1500% 300%;
    }
    100% {
        background-size: 200% 300%;
    }
    }

}

.pulse {
  animation: pulseRadial 2s ease-in-out alternate-reverse;
}

#hdd-icon {
  flex: 1 1 auto; 
  
  /* base gradient */
  background: radial-gradient(circle, var(--accent) 2%, var(--primary) 7%);
  background-size: 200% 300%;
  background-position: top;
  
  /* mask the SVG */
  -webkit-mask-image: url('/inc/hdd.svg');
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  
  mask-image: url('/inc/hdd.svg');
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}
