.commission-details-wrapper {
  background: var(--grey-100);
  padding: 16px;
  border-radius: var(--quaver);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.commission-details-timeline {
  background: var(--grey-100);
  padding: var(--crotchet);
  border-radius: var(--quaver);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.responsive-heading {
  color: var(--mb);
  /* Uppercase/Semibold/1 */
  font-family: Montserrat;
  font-size: 14px;
  font-style: normal;
  font-weight: 540;
  line-height: 24px;
  /* 150% */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px 0;

}


.commission-details-video {
  background: var(--grey-100);
  padding: 16px;
  border-radius: var(--quaver);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.commission-actions-steps-container {
  background: var(--grey-100);
  padding: 16px;
  border-radius: var(--quaver);
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

.commission-details-wrapper h3 {
  margin-top: 0;
  margin-bottom: 1em;
  font-size: 1.25em;
  font-weight: 700;
  color: var(--grey-900);
}

/* WHITE INNER TABLE */
.commission-type-display-container {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "size medium"
    "subject subject"
    "price price";
  column-gap: 16px;
  border-radius: var(--quaver);
  max-width: 100%;
  padding: 0 !important;
  padding-top: 4px !important;
  padding-bottom: 0 !important;
  margin: 0;
}

/* center card bodies while keeping headings at top */
.commission-details-inner {
  margin-top: auto;
  margin-bottom: auto;
}

.card-body-center {
  margin-top: 0;
  margin-bottom: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.commission-actions-bottom {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}

.commission-type-display {
  padding-top: var(--crotchet);
  padding-bottom: var(--crotchet);
  position: relative;
  color: var(--mb);

  /* Body/Body/Regular */
  font-family: Montserrat;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  /* 128.571% */
  letter-spacing: 0.08em;

}

.commission-type-display-label {
  color: var(--grey-900);
  font-family: Montserrat;
  font-size: 14px;
  font-style: normal;
  font-weight: 540;
  line-height: 20px;
  /* 142.857% */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  padding-top: 0;
}

.commission-type-display-size {
  white-space: nowrap;
}


.commission-details-heading {
  color: var(--mb);

  /* Uppercase/Semibold/1 */
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 540;
  line-height: 24px;
  /* 150% */
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


.commission-details-timeline {
  padding: 1em;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 5px;
  width: 100%;
}

.timeline-left {
  color: var(--grey-900);
  font-size: 14px;
  font-weight: 540;
  line-height: 20px;
  /* 142.857% */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
}

.timeline-right {
  color: var(--grey-700);
  font-size: 14px;
  font-weight: 540;
  line-height: 20px;
  /* 142.857% */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  text-align: right;
}

.time-icon-wrapper {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.time-icon {
  width: 100%;
  height: auto;
  display: block;
}

.timeline-center {
  color: var(--grey-900);
  font-size: 14px;
  font-weight: 540;
  line-height: 20px;
  /* 142.857% */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
  margin-top: 0.5em;
  /* optional spacing tweak */
}

/* Timeline progress (static for now) */
.timeline {
  margin-top: 0.5em;
}

.commission-details-timeline>.timeline {
  margin-top: auto;
  margin-bottom: auto;
}

.timeline-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5em;
}

.timeline-caption {
  color: var(--mb-lightest);
  font-family: Montserrat;
  font-size: 12px;
  font-weight: 540;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-caption.subtle {
  color: var(--grey-800);
}

.timeline-progress-track {
  height: 8px;
  width: 100%;
  background: var(--grey-300);
  border-radius: 9999px;
  overflow: hidden;
}

.timeline-progress-fill {
  height: 100%;
  background: var(--mb);
  border-radius: inherit;
}

.timeline-bottom {
  position: relative;
  margin-top: 0.5em;
  min-height: 18px;
}

.timeline-bottom .center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Timeline Progress Bar Design */
.timeline-progress-container {
  margin-top: 2em;
  width: 100%;
}

.timeline-milestones-top,
.timeline-milestones-bottom {
  display: grid;
  grid-template-columns: repeat(18, 1fr);
  align-items: flex-start;
  width: 100%;
}

.timeline-milestones-top {
  margin-bottom: 1em;
}

.timeline-milestones-bottom {
  margin-top: 1em;
}

.timeline-milestone {
  color: var(--grey-700);
  font-family: Montserrat;
  font-size: 12px;
  font-weight: 540;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.timeline-milestone.completed {
  color: var(--grey-900);
}

/* Top row - evenly distributed across timeline */
.timeline-milestones-top .timeline-milestone:nth-child(1) {
  grid-column: 2 / 5;
  text-align: center;
}

.timeline-milestones-top .timeline-milestone:nth-child(2) {
  grid-column: 6 / 8;
  text-align: center;
}

.timeline-milestones-top .timeline-milestone:nth-child(3) {
  grid-column: 10 / 12;
  text-align: center;
}

.timeline-milestones-top .timeline-milestone:nth-child(4) {
  grid-column: 14 / 16;
  text-align: center;
}

.timeline-milestones-top .timeline-milestone:nth-child(5) {
  grid-column: 17 / 19;
  text-align: right;
}

/* Bottom row - offset between top row labels */
.timeline-milestones-bottom .timeline-milestone:nth-child(1) {
  grid-column: 1 / 3;
  text-align: left;
}

.timeline-milestones-bottom .timeline-milestone:nth-child(2) {
  grid-column: 4 / 6;
  text-align: center;
}

.timeline-milestones-bottom .timeline-milestone:nth-child(3) {
  grid-column: 8 / 10;
  text-align: center;
}

.timeline-milestones-bottom .timeline-milestone:nth-child(4) {
  grid-column: 12 / 14;
  text-align: center;
}

.timeline-milestones-bottom .timeline-milestone:nth-child(5) {
  grid-column: 16 / 18;
  text-align: center;
}

.timeline-progress-bar {
  position: relative;
  width: 100%;
  height: 14px;
  background: var(--grey-900);
  border: 4px solid var(--grey-900);
  border-radius: 9999px;
  overflow: visible;
  box-shadow: 0 2px rgba(0, 0, 0, 0.2);
}

.timeline-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--bg);
  border-radius: 9999px;
  transition: width 0.5s ease-in-out;
}

/* .timeline-progress-indicator {
  position: absolute;
  top: 50%;
  left is set dynamically via inline style based on current stage
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

Pulse animation rings
.timeline-progress-indicator::before,
.timeline-progress-indicator::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--grey-900);
  opacity: 0;
  z-index: -1;
}

.timeline-progress-indicator::before {
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}


.timeline-progress-indicator::after {
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite 1s;
}


*/

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

/* Mini Timeline for Summary Tab */
.timeline-mini-container {
  margin-top: 2em;
  margin-bottom: 2em;
  width: 100%;
}

.timeline-mini-labels {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 1em;
}

.timeline-mini-label {
  color: var(--grey-700);
  font-family: Montserrat;
  font-size: 12px;
  font-weight: 540;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  flex: 1;
}

.timeline-mini-label:first-child {
  text-align: left;
}

.timeline-mini-label:last-child {
  text-align: right;
}

.timeline-mini-label.completed {
  color: var(--grey-900);
}

.timeline-mini-bar {
  position: relative;
  width: 100%;
  height: 14px;
  background: var(--grey-900);
  border: 4px solid var(--grey-900);
  border-radius: 9999px;
  overflow: visible;
  box-shadow: 0 2px rgba(0, 0, 0, 0.2);
}

.timeline-mini-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 51% !important;
  right: auto !important;
  background: var(--bg);
  border-radius: 9999px;
  transition: width 0.5s ease-in-out;
  box-sizing: border-box;
}

/* .timeline-mini-indicator {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

Mini timeline pulse animation
.timeline-mini-indicator::before,
.timeline-mini-indicator::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--grey-900);
  opacity: 0;
  z-index: -1;
}

.timeline-mini-indicator::before {
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.timeline-mini-indicator::after {
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite 1s;
}

*/
/* Mobile optimizations */
@media (max-width: 768px) {
  .timeline-milestone {
    font-size: 10px;
    letter-spacing: 0.08em;
    line-height: 14px;
  }

  .timeline-milestones-top {
    margin-bottom: 0.5em;
  }

  .timeline-milestones-bottom {
    margin-top: 0.5em;
  }

  .timeline-progress-bar {
    height: 14px;
  }

  .timeline-progress-indicator {
    width: 16px;
    height: 16px;
  }

  .timeline-progress-container {
    margin-top: 1.5em;
  }

  /* Mini timeline mobile */
  .timeline-mini-label {
    font-size: 10px;
    letter-spacing: 0.08em;
    line-height: 14px;
  }

  .timeline-mini-bar {
    height: 12px;
  }

  .timeline-mini-indicator {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 480px) {
  .timeline-milestone {
    font-size: 8px;
    letter-spacing: 0.08em;
    line-height: 12px;
  }

  .timeline-progress-bar {
    height: 12px;
  }

  .timeline-progress-indicator {
    width: 14px;
    height: 14px;
    border-width: 1.5px;
  }
}