.a-progress {
    padding: 16px;
    min-width: 80vw;
}

.a-progress-bar {
    display: flex;
    margin-bottom: 16px;
}

.a-progress-bar-slider {
    flex-grow: 1;
    height: 16px;
}

.a-progress-blocks {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.a-progress-tasks {
    display: flex;
    flex-direction: column;
    flex-basis: 0;
    flex-grow: 1;
    min-width: 200px;
}

.a-progress-tasks-title {
    background-color: silver;
    color: white;
    margin-left: 8px;
    padding: 4px;
    width: fit-content;
    border-radius: 4px 4px 0 0;
}

.a-progress-info-invalid, .a-progress-info-valid {
    min-width: 100px;
    max-width: 100px;
}

.a-progress-info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 16px;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.a-progress-info > div {
    display: flex;
    gap: 4px;
    font-size: 1.2em;
    font-weight: bold;
    align-items: center;
}

.a-progress-tasks-count {
    display: inline-block;
    margin-left: 8px;
    margin-right: 2px;
    text-align: right;
}

.a-progress-tasks-count:before {
    content: "(";
}

.a-progress-tasks-count:after {
    content: ")";
}

.a-progress-tasks-list {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-basis: 0;
    border: 2px solid silver;
    border-radius: 4px;
    overflow-y: auto;
    min-height: 300px;
}

.a-progress-task {
    padding: 4px;
}

.a-progress-task:not(:last-child) {
    border-bottom: 1px solid silver;
}

.a-progress-task-name {
    font-weight: bold;
}

.a-progress-task-status {
    font-style: italic;
}

.a-progress-tasks-todo .a-progress-task {
    
}

.a-progress-tasks-exec .a-progress-task {
    background-color: #eaf6ff;
}

.a-progress-task-success {
    background-color: #eaffef;
}

.a-progress-task-error {
    background-color: #ffeaea;
}

.a-progress-title {
    display: flex;
    justify-content: center;
    font-size: 1.2em;
    margin-bottom: 16px;
    font-weight: bold;
}