.pipelines-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px 32px;
}

@media (max-width: 768px) {
    .pipelines-page {
        padding: 16px 12px 24px;
    }
}

.pipelines-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.pipelines-page-heading {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pipelines-page-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(241, 90, 34, 0.1);
    color: var(--brand-accent);
    flex-shrink: 0;
}

.pipelines-page-heading h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--brand-primary);
    line-height: 1.2;
}

.pipelines-page-subtitle {
    margin: 4px 0 0;
    font-size: 0.88rem;
    color: var(--text-color-medium);
}

.pipelines-autorefresh-note {
    margin: 12px 4px 0;
    font-size: 0.78rem;
    color: var(--text-color-light);
}

.pipelines-pipeline-refresh-button {
    background-color: var(--white-color);
    color: var(--brand-primary);
    border: 1px solid var(--grey-light);
    padding: 9px 18px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: inherit;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.pipelines-pipeline-refresh-button:hover {
    background-color: var(--grey-lightest);
    border-color: var(--text-color-light);
}

.pipelines-pipeline-refresh-button i6-iconz {
    transition: transform 0.4s ease;
}

.pipelines-pipeline-refresh-button:hover i6-iconz {
    transform: rotate(180deg);
}

.pipelines-pipelines-parent .i6table table,
.pipelinedetails-parent .i6table table {
    border-radius: 12px;
    border: 1px solid var(--grey-lightest);
    box-shadow: 0 4px 16px var(--table-box-shadow-color);
}

.pipelines-pipelines-parent .i6table th,
.pipelinedetails-parent .i6table th {
    padding: 14px 22px;
    font-size: 0.72em;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.pipelines-pipelines-parent .i6table td,
.pipelinedetails-parent .i6table td {
    padding: 15px 22px;
}

.pipelines-pipelines-parent .i6table tbody tr[data-status],
.pipelinedetails-parent .i6table tbody tr[data-status] {
    background-color: var(--white-color);
}

.pipelines-pipelines-parent .i6table tbody tr[data-status]:hover,
.pipelinedetails-parent .i6table tbody tr[data-status]:hover {
    background-color: var(--background-color-light-2);
}

.pipelines-pipeline-name {
    font-weight: 500;
    color: var(--brand-primary);
}

.pipelines-exec-id {
    font-family: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, Consolas, monospace;
    font-size: 0.82em;
    color: var(--text-color-medium);
    background-color: var(--grey-lightest);
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.pipelines-muted {
    color: var(--text-color-medium);
}

.pipelines-empty {
    padding: 20px 0;
    color: var(--text-color-medium);
}

.pipeline-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 0.74em;
    font-weight: 600;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.pipeline-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: currentColor;
    flex-shrink: 0;
}

.pipeline-status-success {
    color: #15803d;
    background-color: #ecfdf5;
}

.pipeline-status-error {
    color: #b91c1c;
    background-color: #fef2f2;
}

.pipeline-status-running {
    color: #1d6fb8;
    background-color: #eff6ff;
}

.pipeline-status-running .pipeline-status-dot {
    animation: pipeline-status-pulse 1.4s ease-in-out infinite;
}

.pipeline-status-queued {
    color: #a16207;
    background-color: #fefce8;
}

.pipeline-status-stopped,
.pipeline-status-neutral {
    color: var(--text-color-medium);
    background-color: var(--grey-lightest);
}

@keyframes pipeline-status-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.pipelines-pipeline-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.pipelines-pipeline-actions button,
.pipelines-pipeline-actions a {
    border: none;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.pipelines-pipeline-play-button {
    background-color: var(--brand-accent);
    color: var(--white-color);
    box-shadow: 0 2px 6px rgba(241, 90, 34, 0.35);
}

.pipelines-pipeline-play-button:hover:not(.pipelines-pipeline-button-disabled) {
    background-color: var(--button-danger-background-color-dark);
    transform: translateY(-1px);
}

.pipelines-pipeline-actions .pipelines-pipeline-info-button {
    background-color: transparent;
    color: var(--text-color-medium);
    border: 1px solid var(--grey-light);
}

a.pipelines-pipeline-info-button:hover,
button.pipelines-pipeline-info-button:hover:not(.pipelines-pipeline-button-disabled) {
    background-color: var(--grey-lightest);
    color: var(--brand-primary);
}

.pipelines-pipeline-button-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}
