/* Batch Generator Progress Styles */
#batch_progress {
    padding: 20px;
    background: transparent;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress {
    border-radius: 8px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    transition: width 0.3s ease;
    font-weight: bold;
    font-size: 14px;
    line-height: 30px;
    height: 100%;
}

/* Ensure themed backgrounds apply inside progress bars */
.progress .progress-bar.bg-info {
    background-color: #63c2de !important;
    color: #fff;
}

.progress .progress-bar.bg-primary {
    background-color: #20a8d8 !important;
    color: #fff;
}

.progress .progress-bar.bg-success {
    background-color: #4dbd74 !important;
    color: #fff;
}

/* Light theme readability tweak */


#progress_text {
    font-size: 14px;
    color: inherit;
    line-height: 1.6;
}

#batch_log {
    background: transparent;
    padding: 10px;
    border: none;
    border-radius: 4px;
}

.batch-log-entry {
    padding: 3px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.batch-log-entry:last-child {
    border-bottom: none;
}

.batch-log-entry i {
    margin-right: 5px;
}

#generation_summary .card {
    border: 2px solid #28a745;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#generation_summary .card-header {
    color: white;
}

#generation_summary table {
    margin-bottom: 0;
}

#generation_summary .btn {
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Animation for progress bar */
@keyframes progress-animation {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 40px 40px;
    }
}

.progress-bar-animated {
    animation: progress-animation 1s linear infinite;
}

/* Status alerts */
#progress_status {
    font-weight: 500;
    margin-bottom: 15px;
}

#progress_status.alert-info {
    background-color: transparent;
    border-color: transparent;
    color: inherit;
}

#progress_status.alert-success {
    background-color: transparent;
    border-color: transparent;
    color: inherit;
}

#progress_status.alert-warning {
    background-color: transparent;
    border-color: transparent;
    color: inherit;
}

#progress_status.alert-danger {
    background-color: transparent;
    border-color: transparent;
    color: inherit;
}

/* Stop button pulse animation */
#stop_generation {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}