.project-timeline-root * {
  box-sizing: border-box;
}

.project-timeline-root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #e5e7eb;
  font-size: 125%;
}

.project-timeline-root .pt-wrapper {
  border: 1px solid #1f2937;
  border-radius: 0;
  padding: 20px;
  overflow: hidden;
  /* background: #0b0f14; */
}

.project-timeline-root .pt-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #1f2937;
  /* background: #0f141b; */
}

.project-timeline-root .pt-logo {
  height: 60px;
  width: auto;
  display: block;
}

.project-timeline-root .pt-title {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  color: #f3f4f6;
  padding-bottom: 0;
  margin-bottom: 0;
}

.project-timeline-root .pt-content {
  /* min-height: 320px; */
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-timeline-root .pt-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #1f2937;
  /* background: #0b0f14; */
}

.project-timeline-root .pt-chart {
  overflow: auto;
  /* background: #0b0f14; */
}

.project-timeline-root .pt-btn {
  border: 1px solid #2b3545;
  background: #111827;
  color: #e5e7eb;
  padding: 10px 15px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
}

.project-timeline-root .pt-btn:hover {
  background: #1f2937;
}

.project-timeline-root .pt-btn-toggle.is-active {
  background: #2563eb;
  border-color: #1d4ed8;
  color: #fff;
}

/* .project-timeline-root .pt-zoom-label { font-size: 12px; color: #9ca3af; } */

.project-timeline-root .pt-view-group {
  display: inline-flex;
  gap: 6px;
  margin-left: 8px;
}

.project-timeline-root .pt-grid {
  position: relative;
}

.project-timeline-root .pt-row {
  position: relative;
  height: 60px;
  border-bottom: 1px solid #141a23;
  /* background: rgba(255, 255, 255, 0.1); */
}

.project-timeline-root .pt-row-project:not(:first-child) {
  border-top: 1px solid #a5a5a5;
}

.project-timeline-root .pt-row-sub {}

.project-timeline-root .pt-row-header {
  height: 44px;
  position: relative;
  /* top: 0; */
  /* background: #0b0f14; */
  z-index: 1;
  border-bottom: 1px solid #1f2937;
}

.project-timeline-root .pt-row-band {
  height: 44px;
  position: relative;
  /* top: 44px; */
  background: #142d4b;
  border-bottom: 1px solid #141a23;
  z-index: 1;
}

.project-timeline-root .pt-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #9ca3af;
  border-right: 1px solid #141a23;
  height: 100%;
}

.project-timeline-root .pt-day-today {
  color: #fff;
  background: #1d4ed8 !important;
  font-weight: 600;
}

.project-timeline-root .pt-day-alt {
  background: rgba(255, 255, 255, 0.03);
}

.project-timeline-root .pt-band {
  position: absolute;
  height: 100%;
  border-radius: 0px;
  background: rgba(37, 99, 235, 0.2);
  color: #bfdbfe;
  font-size: 14px;
  line-height: 1.2;
  padding: 0 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
}

.project-timeline-root .pt-band-week {
  background: rgba(16, 185, 129, 0.12);
  color: #a7f3d0;
}

.project-timeline-root .pt-bar {
  position: absolute;
  top: 10px;
  bottom: 10px;
  height: 40px;
  border-radius: 4px;
  color: #fff;
  text-shadow: 1px 1px 2px #000;
  font-size: 14px;
  /* line-height: 18px; */
  padding: 0 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
}

.project-timeline-root .pt-bar i {
  margin-right: 5px;
}

.project-timeline-root .pt-row-sub .pt-bar i {
  transform: rotate(90deg);
}

.project-timeline-root .pt-bar-sub {
  opacity: 0.9;
}

.project-timeline-root .pt-empty {
  padding: 16px;
  border: 1px dashed #2b3545;
  border-radius: 6px;
  color: #9ca3af;
  background: #0f141b;
}

@media (max-width: 768px) {
  .project-timeline-root .pt-row-header {
    /* top: 0; */
  }

  .project-timeline-root .pt-row-band {
    /* top: 44px; */
  }
}
.project-timeline-root .pt-bar-link {
  text-decoration: none;
  cursor: pointer;
}

.project-timeline-root .pt-bar-link:hover {
  filter: brightness(1.1);
}
