@charset "utf-8";

/* ==========================================================
   [1] 전역 래퍼 및 기본 설정
   ================================================---------- */
.sim-wrap {
  --bg: #f4f6fb;
  --card: #ffffff;
  --text: #16191f;
  --muted: #5c6472;
  --line: #e2e8f0;
  --primary: #2554e8;
  --primary-soft: #edf2ff;
  --accent: #0c946e;
  --accent-soft: #e6f6f0;
  --warn: #c86d06;
  --warn-soft: #fef3c7;
  --purple: #7c3aed;
  --purple-soft: #f3e8ff;
  --rose: #e11d48;
  --radius: 16px;
  --shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 14px 28px rgba(37, 84, 232, 0.13);
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 80px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #0f172a;
  line-height: 1.65;
  box-sizing: border-box;
}

.sim-wrap * {
  box-sizing: border-box;
}

@keyframes simShimmer {
  0% { transform: translateX(-120%) skewX(-18deg); }
  100% { transform: translateX(260%) skewX(-18deg); }
}

@keyframes simFloatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

/* 1. 상단 주의 배너 박스 */
.sim-disclaimer-banner {
  position: relative;
  overflow: hidden;
  background: #fff5f6;
  border: 1px solid #fecdd3;
  color: #881337;
  border-radius: 14px;
  padding: 15px 18px;
  margin-bottom: 18px;
  font-size: 13.5px;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sim-disclaimer-banner:hover {
  transform: translateY(-3px);
  border-color: #fda4af;
  box-shadow: 0 10px 22px rgba(225, 29, 72, 0.11);
}

/* 2. 히어로 배너 박스 */
.sim-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #162b4d 0%, #2554e8 55%, #4f46e5 100%);
  color: #fff;
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: 0 14px 30px rgba(37, 84, 232, 0.2);
  margin-bottom: 22px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.sim-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(37, 84, 232, 0.26);
}

.sim-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  animation: simShimmer 5.5s ease-in-out infinite;
  pointer-events: none;
}

.sim-hero .sim-badge {
  position: relative;
  z-index: 1;
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 12px;
  animation: simFloatSoft 3.6s ease-in-out infinite;
}

.sim-hero h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(22px, 3.5vw, 31px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: #fff;
}

.sim-hero p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14.5px;
  margin: 0;
}

/* 기본 박스 판넬 */
.sim-input-card,
.sim-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* 3. 예산·필터 입력 박스 */
.sim-input-card {
  margin-bottom: 22px;
  background: #ffffff;
}

.sim-input-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #c7d6fe;
}

/* 4. 통상적 예산 산정 근거 박스 */
.sim-basis-card {
  margin-bottom: 22px;
  background: #fafbff;
}

.sim-basis-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.sim-basis-title {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.sim-basis-lead {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 10px;
}

.sim-budget-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.sim-budget-label {
  font-size: 15px;
  font-weight: 700;
}

.sim-budget-amount {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 2px 12px;
  border-radius: 12px;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.sim-budget-amount:hover {
  transform: scale(1.04);
  background: #dbeafe;
}

.sim-wrap input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
  height: 8px;
  cursor: pointer;
  margin: 8px 0 14px;
}

.sim-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.sim-preset-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.sim-preset-btn:hover {
  transform: translateY(-2px);
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 5px 14px rgba(37, 84, 232, 0.15);
}

.sim-preset-btn:active {
  transform: scale(0.97);
}

.sim-preset-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 6px 14px rgba(37, 84, 232, 0.24);
}

.sim-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.sim-filter-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}

.sim-wrap select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.sim-wrap select:hover {
  border-color: #93c5fd;
  background: #fafcff;
}

.sim-wrap select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 84, 232, 0.14);
}

.sim-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.sim-section-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.sim-section-sub {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* 5. 창업 가능 권역 아이템 박스 (좌측 띠 없음) */
.sim-region-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  margin-bottom: 11px;
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.sim-region-item:last-child {
  margin-bottom: 0;
}

.sim-region-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.sim-region-item.feasible {
  background: #f6fdf9;
}

.sim-region-item.feasible:hover {
  border-color: #34d399;
}

.sim-region-item.tight {
  background: #fffdf5;
}

.sim-region-item.tight:hover {
  border-color: #fbbf24;
}

.sim-region-item.hard {
  opacity: 0.75;
  background: #f8fafc;
}

.sim-region-item.hard:hover {
  opacity: 1;
  border-color: #cbd5e1;
}

.sim-region-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.sim-region-name {
  font-weight: 800;
  font-size: 15px;
}

.sim-tag {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.18s ease;
}

.sim-region-item:hover .sim-tag {
  transform: scale(1.05);
}

.sim-tag.ok {
  background: var(--accent-soft);
  color: var(--accent);
}

.sim-tag.warn {
  background: var(--warn-soft);
  color: var(--warn);
}

.sim-tag.no {
  background: #edf0f4;
  color: var(--muted);
}

.sim-region-meta {
  font-size: 13px;
  color: var(--muted);
}

/* 6. 예산 배분 막대 및 리스트 */
.sim-breakdown-bar {
  display: flex;
  height: 18px;
  border-radius: 999px;
  overflow: hidden;
  background: #eef1f5;
  margin: 12px 0 16px;
}

.sim-breakdown-bar > div {
  transition: width 0.35s ease, filter 0.18s ease;
}

.sim-breakdown-bar > div:hover {
  filter: brightness(1.12);
}

.seg-deposit { background: #2554e8; }
.seg-interior { background: #0c946e; }
.seg-equip { background: #f59e0b; }
.seg-stock { background: #8b5cf6; }
.seg-reserve { background: #94a3b8; }

.sim-breakdown-list {
  list-style: none;
  font-size: 13.5px;
  padding: 0;
  margin: 0;
}

.sim-breakdown-list--compact {
  font-size: 13px;
}

.sim-breakdown-list li {
  display: flex;
  justify-content: space-between;
  padding: 7px 8px;
  border-bottom: 1px dashed var(--line);
  border-radius: 8px;
  transition: background-color 0.16s ease, transform 0.16s ease;
}

.sim-breakdown-list li:hover {
  background-color: #f1f5f9;
  transform: translateX(3px);
}

.sim-breakdown-list li:last-child {
  border-bottom: none;
}

.sim-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 7px;
  transition: transform 0.16s ease;
}

.sim-breakdown-list li:hover .sim-dot {
  transform: scale(1.3);
}

/* 7. 예산 맞춤 공방 분야 카드 박스 */
.sim-workshop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
}

.sim-workshop-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.sim-workshop-card:hover {
  transform: translateY(-5px);
  border-color: #60a5fa;
  background: #f8fbff;
  box-shadow: 0 14px 26px rgba(37, 84, 232, 0.13);
}

.sim-workshop-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

.sim-workshop-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #0f172a;
  transition: color 0.18s ease;
}

.sim-workshop-card:hover .sim-workshop-title {
  color: var(--primary);
}

.sim-workshop-cost {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  text-align: right;
  background: var(--primary-soft);
  padding: 4px 9px;
  border-radius: 8px;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.sim-workshop-card:hover .sim-workshop-cost {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.03);
}

.sim-workshop-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.sim-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sim-pill {
  font-size: 11.5px;
  background: #f1f5f9;
  color: #334155;
  padding: 3px 9px;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.sim-workshop-card:hover .sim-pill {
  background: #e0e7ff;
  color: #1e3a8a;
}

.sim-pill:hover {
  transform: translateY(-1px);
  background: #c7d2fe !important;
}

.sim-empty-box {
  grid-column: 1 / -1;
  padding: 22px;
  text-align: center;
  color: var(--muted);
  background: #f8fafc;
  border: 1px dashed var(--line);
  border-radius: 12px;
  font-size: 14px;
}

/* 8. 중요참고 사항 카드 박스 (왼쪽 띠 없는 단순 박스 + 호버 액션) */
.sim-important-section {
  margin-top: 22px;
}

.sim-notice-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.sim-notice-filter-box {
  min-width: 220px;
}

.sim-notice-filter-label {
  display: block;
  margin-bottom: 4px;
}

.sim-notice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 14px;
}

.sim-notice-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 16px;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.sim-notice-item:hover {
  transform: translateY(-4px);
  border-color: #818cf8;
  background: #f8faff;
  box-shadow: 0 12px 24px rgba(79, 70, 229, 0.12);
}

.sim-notice-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.sim-notice-cat {
  font-weight: 800;
  font-size: 14.5px;
  color: var(--text);
  transition: color 0.18s ease;
}

.sim-notice-item:hover .sim-notice-cat {
  color: var(--primary);
}

.sim-notice-level {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--purple-soft);
  color: var(--purple);
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.sim-notice-item:hover .sim-notice-level {
  background: var(--purple);
  color: #ffffff;
  transform: scale(1.05);
}

.sim-notice-text {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  transition: color 0.18s ease;
}

.sim-notice-item:hover .sim-notice-text {
  color: #334155;
}

.sim-footer-note {
  margin-top: 16px;
  background: var(--primary-soft);
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  border-radius: 14px;
  padding: 15px 18px;
  font-size: 13px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sim-footer-note:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(30, 58, 138, 0.09);
}

@media (prefers-reduced-motion: reduce) {
  .sim-hero::after,
  .sim-hero .sim-badge {
    animation: none;
  }
  .sim-wrap * {
    transition: none !important;
  }
}
.biz-filter-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.biz-summary-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.biz-mini-box { padding: 14px 16px; border-radius: 12px; border: 1px solid #e2e8f0; background: #f8fafc; }
.biz-mini-box strong { display: block; font-size: 13px; color: #334155; margin-bottom: 4px; }
.biz-mini-box span { font-size: 15px; font-weight: 700; color: #0f172a; }
.biz-card-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 16px; }
.biz-guide-card { border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px; background: #fff; display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start; }
.biz-guide-main { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; height: 100%; }
.biz-guide-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.biz-guide-title { margin: 0; font-size: 18px; font-weight: 700; color: #0f172a; }
.biz-badge-fit { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #eff6ff; color: #1d4ed8; white-space: nowrap; }
.biz-meta-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; line-height: 1.5; color: #334155; }
.biz-meta-list li strong { color: #0f172a; }
.biz-tax-sector { border: 1px solid #dbeafe; background: #f8fbff; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.biz-tax-sector-title { margin: 0; font-size: 14px; font-weight: 700; color: #1e3a8a; }
.biz-tax-sector-sub { font-size: 12px; color: #475569; line-height: 1.45; }
.biz-tax-rows { display: flex; flex-direction: column; gap: 8px; }
.biz-tax-row { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 12px; font-size: 13px; line-height: 1.45; color: #1e293b; }
.biz-tax-row strong { color: #0f172a; }
.biz-tax-foot { font-size: 11.5px; color: #64748b; line-height: 1.45; }
.biz-related-links { margin-top: 12px; font-size: 13px; color: #475569; }
.biz-related-links a { color: #1d4ed8; font-weight: 600; text-decoration: underline; margin-right: 10px; }
@media (max-width: 960px) {
  .biz-filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .biz-guide-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .biz-filter-bar, .biz-summary-strip { grid-template-columns: 1fr; }
}
.close-step-list { display: flex; flex-direction: column; gap: 14px; }
.close-step-card { border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px; background: #fff; }
.close-step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.close-step-num { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #eff6ff; color: #1d4ed8; }
.close-step-title { margin: 0; font-size: 17px; font-weight: 700; color: #0f172a; }
.close-step-summary { margin: 0 0 10px; font-size: 14px; line-height: 1.55; color: #334155; }
.close-check-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: #475569; }
.close-filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.close-filter-btn { padding: 7px 14px; border-radius: 999px; border: 1px solid #cbd5e1; background: #fff; color: #334155; font-size: 13px; font-weight: 600; cursor: pointer; }
.close-filter-btn.active { background: #1d4ed8; color: #fff; border-color: #1d4ed8; }
.biz-related-links { margin-top: 12px; font-size: 13px; color: #475569; }
.biz-related-links a { color: #1d4ed8; font-weight: 600; text-decoration: underline; margin-right: 10px; }
