#active-job-panel-container {
    max-width: 30%;
    display: inline-block;
    z-index: 10000;
    transition: transform 0.3s ease-in-out;
    flex: 0 0 auto;
}

#active-job-panel {
    background-color: #fff;
    color: #333;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    min-height: 50px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    margin-top: 1px;
}

#active-job-panel.hidden {
    transform: translateY(-100%);
}

.job-panel-info {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 20px;
}

.job-panel-type {
    font-weight: bold;
    font-size: 12px;
}

.job-panel-status {
    font-size: 12px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

.job-panel-status.running {
    background: rgba(255, 193, 7, 0.8);
    color: #000;
}

.job-panel-status.canceling {
    background: rgba(255, 152, 0, 0.8);
    color: #000;
}

.job-panel-status.completed {
    color: #fff;
    background: rgba(76, 175, 80, 0.8);
}

.job-panel-status.failed {
    background: rgba(244, 67, 54, 0.8);
}

.job-panel-progress {
    width: 100px;
    flex: 1;
    max-width: 300px;
}

.job-panel-progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
}

.job-panel-progress-fill {
    height: 100%;
    background: #999999;
    transition: width 0.3s ease;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.job-panel-progress-fill.indeterminate {
    animation: indeterminateProgress 1.5s infinite linear;
    width: 30% !important;
}

@keyframes indeterminateProgress {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(400%);
    }
}

.job-panel-time {
    font-size: 11px;
    color: #333;
    min-width: 100px;
    margin-right: 16px;
}

.job-panel-message {
    font-size: 11px;
    color: #333;
    font-style: italic;
}

.job-panel-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.job-panel-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #3366CC;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    transition: all 0.2s;
    text-decoration: underline;
    font-weight: bold;
    padding-left: 0;
    padding-right: 0;
}

.job-panel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
}

.job-panel-btn:active {
    background: rgba(255, 255, 255, 0.4);
}

.job-panel-btn.primary {
    background: transparent;
    color: #3366CC;
    border-color: white;
    font-weight: bold;
    text-decoration: underline;
    padding-left: 0px;
    padding-right: 0px;
}

.job-panel-btn.primary:hover {
    background: white;
}

.job-panel-close {
    background: transparent;
    border: none;
    color: #333;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    opacity: 0.7;
    transition: opacity 0.2s;
    padding-right: 0;
}

.job-panel-close:hover {
    opacity: 1;
}

