:root {
  --font-primary: inherit;
}

.pipeline-dashboard-76052f99 {
    background: linear-gradient(180deg, #020617 0%, #060e22 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    box-shadow: 0 1.25rem 2.5rem rgba(0,0,0,0.4);
    color: #fff;
    font-family: var(--font-primary);
    overflow: hidden;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 62.5rem;
    margin: 0 auto;
}

.dash-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    gap: 1rem;
    flex-wrap: wrap;
}

.mac-lights {
    display: flex;
    gap: 0.375rem;
}
.mac-lights span {
    width: 0.75rem; height: 0.75rem; border-radius: 50%;
}
.mac-lights .red { background: #ff5f56; }
.mac-lights .yellow { background: #ffbd2e; }
.mac-lights .green { background: #27c93f; }

.env-title { font-weight: 500; color: #e2e8f0; font-size: 1rem;}

.badges { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-left: auto; }
.badge-main { background: rgba(39,201,63,0.1); color: #27c93f; padding: 0.25rem 0.625rem; border-radius: 0.75rem; border: 1px solid rgba(39,201,63,0.2); font-size: 0.75rem; }
.badge-feature { background: rgba(168,85,247,0.1); color: #a855f7; padding: 0.25rem 0.625rem; border-radius: 0.75rem; border: 1px solid rgba(168,85,247,0.2); font-size: 0.75rem; }

.status-live { color: #27c93f; font-weight: bold; text-shadow: 0 0 10px rgba(39,201,63,0.4); font-size: 1rem;}

.dash-body {
    padding: 2.5rem 1.5rem;
    position: relative;
}

.graph-container {
    position: relative;
    height: 12.5rem;
    width: 100%;
    margin-bottom: 2rem;
}

.graph-svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.graph-line {
    fill: none;
    stroke-width: 2;
}

.main-line {
    stroke: #27c93f;
}

.feature-line {
    stroke: #8b5cf6;
    stroke-dasharray: 4 4;
}

.deploy-line {
    stroke: #10b981;
    stroke-dasharray: 2 4;
    opacity: 0.5;
}

.nodes-layer {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}

.node-wrapper {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.node {
    width: 1rem; height: 1rem; border-radius: 50%;
    position: relative; z-index: 2;
    flex-shrink: 0;
}

.node-label {
    position: absolute;
    color: #94a3b8;
    font-size: 0.75rem;
    white-space: nowrap;
}

.node-label.top { top: -1.5rem; }
.node-label.bottom { bottom: -1.5rem; }

.node.success {
    background: transparent;
    border: 2px solid #27c93f;
    box-shadow: inset 0 0 0 2px #020617;
}

.node.running-feature {
    background: transparent;
    border: 2px solid #8b5cf6;
    box-shadow: inset 0 0 0 2px #020617;
}

.node.live-indicator {
    width: 1.5rem; height: 1.5rem;
    background: #27c93f;
    box-shadow: 0 0 15px rgba(39,201,63,0.5);
    border: none;
}

.live-status {
    top: -2rem;
    color: #27c93f;
    font-weight: bold;
}

.feature-label {
    color: #8b5cf6;
}

.deploy-btn-wrapper {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: auto;
}

.deploy-btn {
    background: transparent;
    border: 1px solid #10b981;
    color: #10b981;
    padding: 0.5rem 1rem; 
    border-radius: 0.5rem; 
    font-weight: bold; 
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
    font-family: inherit;
    font-size: 0.875rem;
}

.deploy-btn:hover {
    background: rgba(16, 185, 129, 0.1);
}

.build-badge {
    position: absolute; bottom: 1.25rem; left: 1.5rem;
    background: rgba(168,85,247,0.1); color: #a855f7; border: 1px solid rgba(168,85,247,0.2);
    padding: 0.375rem 0.75rem; border-radius: 0.5rem;
    font-size: 0.875rem;
}

.log-console {
    background: #020617; 
    padding: 1.25rem 1.5rem;
    color: #94a3b8;
    max-height: 15.625rem; overflow-y: auto; border-top: 1px solid rgba(255,255,255,0.05);
    display: grid;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.log-row { line-height: 1.5; }
.icon-success { color: #27c93f; margin: 0 0.5rem; }
.icon-process { color: #8b5cf6; margin: 0 0.5rem; }
.icon-final { color: #eab308; margin: 0 0.5rem; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .pipeline-dashboard-76052f99 {
    padding: 1rem;
  }
}

@media (max-width: 767px) {
  .pipeline-dashboard-76052f99 {
      padding: 0;
  }
  .dash-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.625rem;
  }
  
  .graph-container {
      overflow-x: auto;
      min-width: 37.5rem;
  }

  .dash-body {
    overflow-x: auto;
    padding-bottom: 0.625rem;
    -webkit-overflow-scrolling: touch;
  }

  .build-badge {
      position: static;
      margin-top: 1.25rem;
      display: inline-block;
  }
}
