/* pipeline-medical-device.css - Auto-merged from 3 section files */
/* Do not edit directly - regenerate with merge_section_css.py */

/* ========== 01-header-타이틀-배경-이미지 ========== */
/* Uses common.css .page-header styles */

/* ========== 02-navbar-index-서브-네비게이션 ========== */
/* Uses common.css .navbar-index styles */

/* ========== 03-pipeline-content-파이프라인-테이블-영역 ========== */

/* Variables */
.pipeline-content {
  --color-border: #c0c0c0;
  --color-bar-empty: rgba(0, 0, 0, 0.2);
}

/* Section Container */
.pipeline-content {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 9.375rem; /* 150px */
  padding-bottom: 15.625rem; /* 250px */
}

.pipeline-content__container {
  width: 100%;
  padding-left: clamp(1.25rem, calc((100vw - 80rem) / 2), 20rem);
  padding-right: clamp(1.25rem, calc((100vw - 80rem) / 2), 20rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

/* Pipeline Module */
.pipeline-module {
  width: 100%;
  display: flex;
  gap: 2.5rem; /* 40px */
  align-items: flex-start;
  padding-top: 5rem; /* 80px */
  padding-bottom: 5rem; /* 80px */
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.pipeline-module--white {
  background-color: #fff;
  padding-top: 3.75rem; /* 60px */
  padding-bottom: 3.75rem; /* 60px */
}

.pipeline-module__header {
  display: flex;
  gap: 2.5rem; /* 40px */
  align-items: flex-start;
  width: 100%;
}

/* Title Area */
.pipeline-module__title-area {
  flex-shrink: 0;
  width: clamp(5rem, 10vw, 18.75rem);
  display: flex;
  flex-direction: column;
  gap: 6.25rem; /* 100px */
}

.pipeline-module__title {
  font-family: var(--font-paperlogy);
  font-weight: 700;
  font-size: 2.5rem; /* 40px */
  line-height: 1.3;
  letter-spacing: -0.05rem; /* -0.8px */
  color: var(--darkgreen);
  margin: 0;
}

.pipeline-module__title--large {
  font-size: 2.625rem; /* 42px */
  letter-spacing: 0;
  text-transform: capitalize;
}

/* Table Area */
.pipeline-module__table-area {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3.75rem; /* 60px */
  align-items: flex-end;
}

.pipeline-table {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5625rem; /* 25px */
}

.pipeline-table__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 0.9375rem; /* 15px */
  line-height: 1.5;
  color: #000;
}

.pipeline-table__col--indication {
  width: clamp(5rem, 10vw, 9.375rem);
  flex-shrink: 0;
}

.pipeline-table__col--indication p {
  margin: 0;
}

.pipeline-table__col--region {
  flex: 1;
  text-align: center;
}

.pipeline-table__col--phase {
  flex: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pipeline-table__divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-border);
}

.pipeline-table__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 3rem; /* 48px */
}

.pipeline-table__col--name {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 1.25rem; /* 20px */
  line-height: 1.6;
  letter-spacing: -0.025rem; /* -0.4px */
  color: #000;
  text-transform: capitalize;
}

/* Pipeline Progress Bar */
.pipeline-bar {
  display: block;
  width: 100%;
  height: 0.375rem; /* 6px */
}

.pipeline-bar--filled {
  background-color: var(--logogreen);
}

.pipeline-bar--empty {
  background-color: var(--color-bar-empty);
}

/* Toggle Button */
.pipeline-module__toggle-btn {
  flex-shrink: 0;
  width: 5rem; /* 80px */
  height: 5rem; /* 80px */
  border: none;
  background-color: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.pipeline-module__toggle-btn .toggle-icon {
  width: 2.25rem; /* 36px */
  height: 2.25rem; /* 36px */
}

/* ==========================================================================
   Responsive - Tablet (max-width: 1199px)
   ========================================================================== */
@media (max-width: 1199px) {
  .pipeline-content {
    padding-top: 5rem;
    padding-bottom: 8rem;
  }

  .pipeline-content__container {
    padding-left: 5%;
    padding-right: 5%;
  }

  .pipeline-module {
    width: 100%;
    position: relative;
    flex-direction: column;
    gap: 2rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .pipeline-module__header {
    flex-direction: column;
    gap: 2rem;
  }

  .pipeline-module__title-area {
    width: 100%;
  }

  .pipeline-module__title {
    font-size: 2rem;
  }

  .pipeline-module__title--large {
    font-size: 2.125rem;
  }

  .pipeline-module__table-area {
    width: 100%;
  }

  .pipeline-module__toggle-btn {
    position: absolute;
    top: 2rem;
    right: 0;
    width: 3.5rem;
    height: 3.5rem;
  }

  .pipeline-module__toggle-btn .toggle-icon {
    width: 1.75rem;
    height: 1.75rem;
  }
}

/* ==========================================================================
   Responsive - Mobile (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .pipeline-content {
    padding-top: 3rem;
    padding-bottom: 5rem;
  }

  .pipeline-module {
    padding-top: 2rem;
    padding-bottom: 2rem;
    gap: 1.5rem;
  }

  .pipeline-module__header {
    gap: 1.5rem;
  }

  .pipeline-module__title {
    font-size: 1.5rem;
  }

  .pipeline-module__title--large {
    font-size: 1.625rem;
  }

  .pipeline-table__header {
    font-size: 0.75rem;
  }

  .pipeline-table__col--indication {
    width: 5rem;
  }

  .pipeline-table__col--name {
    font-size: 0.875rem;
  }

  .pipeline-table__row {
    height: 2.5rem;
  }

  .pipeline-bar {
    height: 0.25rem;
  }

  .pipeline-module__toggle-btn {
    width: 3rem;
    height: 3rem;
    top: 1.5rem;
  }

  .pipeline-module__toggle-btn .toggle-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}
