/*!*****************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./components/Grids/ArrvialTimetable/style.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************/
#manager-grid.wj-flexgrid .wj-cell {
  padding: 6px;
}

#arrivalTimeGrid.wj-flexgrid .wj-cells .wj-cell.wj-state-selected {
  background: none;
  /* color: black; */
}
#arrivalTimeGrid .wj-header {
  text-align: center;
}

.wj-cell.wj-header {
  color: rgba(0, 0, 0, 0.72) !important;
  background-color: rgba(242, 242, 242, 0.46);
}


/*!*************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./components/Popups/style.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************/
.cp-wrap {
  --cp-bg: #ffffff;
  --cp-text: #111827;
  --cp-sub: #6b7280;
  --cp-border: #e5e7eb;
  --cp-primary: #2563eb;
  --cp-primary-weak: #eff6ff;
  background: var(--cp-bg);
  color: var(--cp-text);
  width: min(560px, 92vw);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}
.cp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
  color: #fff;
}
.cp-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.cp-title-icon {
  color: #fff;
}
.cp-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
}
.cp-close:hover {
  background: rgba(255, 255, 255, 0.15);
}
.cp-body {
  padding: 16px;
}
.cp-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--cp-border);
}
.cp-row:last-child {
  border-bottom: none;
}
.cp-label {
  color: var(--cp-sub);
}
.cp-value {
  font-weight: 600;
}
.cp-arrow {
  color: var(--cp-sub);
  margin: 0 4px;
}
.cp-hint {
  margin-top: 12px;
  font-size: 12px;
  color: var(--cp-sub);
  background: var(--cp-primary-weak);
  border: 1px dashed #bfdbfe;
  padding: 8px 10px;
  border-radius: 8px;
}
.cp-empty {
  padding: 20px;
  text-align: center;
  color: var(--cp-sub);
  border: 1px dashed var(--cp-border);
  border-radius: 10px;
  background: #fafafa;
}
.cp-list {
  margin-top: 8px;
  border: 1px solid var(--cp-border);
  border-radius: 10px;
  padding: 10px;
  background: #fbfbfc;
}
.cp-list-item {
  padding: 6px 4px;
  font-size: 14px;
}
.cp-map {
  margin-top: 8px;
  height: 240px;
  border-radius: 10px;
  border: 1px solid var(--cp-border);
  background: repeating-linear-gradient(
    45deg,
    #f3f4f6,
    #f3f4f6 10px,
    #eef2ff 10px,
    #eef2ff 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  font-weight: 600;
}
.cp-body--map {
  padding: 8px 12px;
  min-width: 900px;
  min-height: 600px;
}

.cp-body--map .cp-map {
  height: 500px;
}
/* 작은 화면에서 너무 커지지 않도록 보정 */
@media (max-width: 640px) {
  .cp-wrap--wide {
    width: 96vw;
  }
  .cp-wrap--wide .cp-map {
    height: 55vh;
  }
}

/* ✅ 맵 팝업일 때만 더 크게 */
.cp-wrap.map-mode {
  width: min(80vw, 900px); /* 최대 1000px까지 확장 */
}

/* 헤더/푸터도 본문과 일관된 폭으로 맞춤 */
.cp-wrap.map-mode .cp-header,
.cp-wrap.map-mode .cp-footer {
  padding-left: 24px;
  padding-right: 24px;
}

/* 맵 높이도 함께 확대 */
.cp-wrap.map-mode .cp-map {
  height: min(35vh, 500px);
}

.cp-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--cp-border);
  background: #fcfcfd;
}
.cp-btn {
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.06s ease, box-shadow 0.12s ease, background 0.2s ease;
}
.cp-btn:active {
  transform: translateY(1px);
}
.cp-btn.primary {
  background: var(--cp-primary);
  color: #fff;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}
.cp-btn.primary:hover {
  filter: brightness(1.05);
}
.cp-btn.ghost {
  background: #fff;
  color: var(--cp-text);
  border: 1px solid var(--cp-border);
}
.cp-btn.ghost:hover {
  background: #f8fafc;
}

.custom-popup {
  border: none;
  background: transparent;
  width: auto; /* 내용의 width를 따르도록 */
}

/*!**********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./components/Map/style.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************************/
/* 🔹 전역 제한 제거 */
.wj-flexmap {
  width: 100%;
  height: 100%;
  border: none;
}

/* 🔹 팝업 내부 맵만 크게 (팝업은 .custom-popup 범위 안에 있음) */
.custom-popup .wj-flexmap {
  max-width: none;
  height: min(35vh, 500px);
}

/* 🔹 미리보기 카드 안의 맵은 작게 (기존 높이 정도로) */
.map-preview .wj-flexmap {
  max-width: none;
  height: 120px; /* 120 → 240px 정도로 확대 가능 */
}

/* 줌/리셋 버튼 숨기기 유지 */
.wj-flexmap .wj-btn {
  display: none;
}

/*!****************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./components/RowDetail/style.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************************/
:root {
  --blue: #2563eb;
  --gray-light: #f1f5f9;
  --gray-mid: #6b7280;
  --gray-dark: #374151;
  --white: #fff;
  --border: #e5e7eb;
}
.it-wrap {
  padding: 20px;
  font-family: system-ui, sans-serif;
  color: var(--gray-dark);
}
.it-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.flight-info .flight-no {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
}
.flight-info .flight-route {
  margin-top: 4px;
  font-size: 16px;
}
.flight-info .flight-time {
  margin-top: 2px;
  font-size: 14px;
  color: var(--gray-mid);
}
.action-menu .icon-btn {
  background: none;
  border: none;
  color: var(--gray-mid);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  cursor: pointer;
  margin-left: 12px;
}

.it-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 1024px) {
  .it-body {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, auto);
    grid-template-areas:
      'timeline weather'
      'map rout';
  }
  .timeline {
    grid-area: timeline;
  }
  .weather {
    grid-area: weather;
  }
  .map-preview {
    grid-area: map;
  }
  .route-detail {
    grid-area: rout;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.card h2 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
}

/* === 타임라인: 회색 베이스라인 + 파란 진행선 + 원형 마커 === */
.steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0;
  list-style: none;
  margin: 0;
  position: relative;
}
/* 회색 베이스 라인 */
.steps::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  height: 2px;
  background: #d1d5db;
  z-index: 0;
  border-radius: 999px;
}
/* 파란 진행 라인 (data-progress로 제어) */
.steps::after {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  height: 2px;
  background: #2563eb;
  width: 0%;
  z-index: 1;
  border-radius: 999px;
  transition: width 0.25s ease;
}
.steps[data-progress='1']::after {
  width: 0%;
}
.steps[data-progress='2']::after {
  width: 25%;
}
.steps[data-progress='3']::after {
  width: 50%;
}
.steps[data-progress='4']::after {
  width: 75%;
}
.steps[data-progress='5']::after {
  width: 100%;
}

.steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  font-size: 12px;
  color: #6b7280;
  z-index: 2;
  text-align: center;
}
/* 원형 마커 */
.steps li::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #cbd5e1;
  box-shadow: 0 0 0 2px #fff;
}
/* 완료 마커 파란색 */
.steps li.done::after {
  border-color: #2563eb;
}
/* 현재 스텝 강조 + 비행기 */
.steps li.current::after {
  border-color: #2563eb;
  background: #fff;
}
.steps li svg {
  display: none;
}
.steps li.current svg {
  display: block;
  position: absolute;
  left: 51%;
  top: -13px;
  transform: translateX(-50%);
  color: #2563eb;
}
.steps li span {
  margin-top: 22px;
}
.steps li.done span,
.steps li.current span {
  color: #2563eb;
  font-weight: 700;
}

/* 지도 미리보기 */
.map-placeholder {
  background: var(--gray-light);
  height: 120px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-mid);
  margin-bottom: 12px;
}
.ghost-btn,
.primary-btn {
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
}
.ghost-btn {
  background: var(--white);
  border: 1px solid var(--blue);
  color: var(--blue);
}
.primary-btn {
  background: var(--blue);
  color: var(--white);
  width: 100%;
}

/* 날씨 */
.weather-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.weather-city {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}
.weather-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  color: var(--gray-dark);
}

/* 상세 경로 */
.route-steps p {
  margin: 6px 0;
  font-size: 14px;
}

/*!************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./components/Input/style.css ***!
  \************************************************************************************************************************************************************************************************************************************************************************/
.inputContainer > * {
  margin-right: 10px;
}


