/* LIVE OVERLAP & WORKING HOURS */
.clock-card {
  background: var(--bg-elev-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  font-family: var(--font-body);
  width: 100%;
  display: flex;
  flex-direction: column;
  /* gap sets the minimum breathing room between each block below;
     justify-content lets any extra height (from matching the left
     column) spread evenly across those same gaps instead of collecting
     as one empty area. */
  gap: 28px;
  justify-content: space-between;
}

.clock-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.clock-card-head .eyebrow { font-size: 14.5px; margin-bottom: 0; }

/* ---------- Compact timezone cards ---------- */
.tz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tz-card {
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 14px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.tz-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--teal-rgb), 0.4);
}

.tz-card-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}
.tz-city {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tz-daynight { font-size: 18px; line-height: 1; flex: none; }

.tz-time {
  font-family: var(--font-mono);
  font-size: 23px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.3px;
}
.tz-abbr {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 5px;
}

/* ---------- Working hours overlap timeline ---------- */
.overlap-timeline-title {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.overlap-track {
  position: relative;
  height: 38px;
  margin-bottom: 12px;
}
.overlap-lane {
  position: relative;
  height: 15px;
  border-radius: 7px;
  background: var(--bg-elev-2);
  margin-bottom: 8px;
  overflow: hidden;
}
.overlap-lane:last-child { margin-bottom: 0; }
.overlap-bar {
  position: absolute;
  top: 0; bottom: 0;
  border-radius: 7px;
}
.overlap-bar--client { background: rgba(var(--accent-rgb), 0.45); }
.overlap-bar--studio { background: rgba(var(--teal-rgb), 0.45); }

.overlap-highlight {
  position: absolute;
  top: -6px;
  height: 50px;
  border-radius: 10px;
  background: rgba(var(--teal-rgb), 0.1);
  border: 1px dashed rgba(var(--teal-rgb), 0.4);
  pointer-events: none;
}

.overlap-now {
  position: absolute;
  top: -6px;
  bottom: -6px;
  width: 3px;
  background: var(--text);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(var(--teal-rgb), 0.8);
  transition: left 1s linear;
}
.overlap-now::before {
  content: "";
  position: absolute;
  top: -5px; left: 50%;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--teal);
  transform: translateX(-50%);
}

.overlap-hours-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-dim);
  margin-bottom: 22px;
}

.overlap-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.overlap-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.overlap-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.overlap-dot--client { background: var(--accent); }
.overlap-dot--studio { background: var(--teal); }

/* ---------- Live status chip ---------- */
.overlap-banner {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.overlap-banner.active {
  background: rgba(var(--teal-rgb), 0.1);
  border: 1px solid rgba(var(--teal-rgb), 0.35);
  color: var(--teal);
}
.overlap-banner.async {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text-muted);
}

/* ---------- Supporting chips ---------- */
.overlap-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.overlap-chip {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
}

.clock-note {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
