/* reception.css - scope: .reception-page */
.reception-page {
  font-family: system-ui, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  margin: 0;
  background: #f5f7fb;
  color: #111827;
}
.reception-page .big-number {
  transition: all 0.2s ease;
}

.reception-page .container {
  max-width: 520px;
  margin: 24px auto;
  padding: 0 14px 40px;
}

.reception-page h1 {
  text-align: center;
  font-size: 22px;
  margin: 18px 0 16px;
}

.reception-page .card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  margin: 14px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.reception-page h2 {
  font-size: 16px;
  margin: 0 0 12px;
}

.lookup-result-title {
  text-align: center;
  font-size: 34px !important;
  line-height: 1.15;
  margin: 0 0 16px;
}

.reception-page label {
  display: block;
  font-weight: 600;
  margin: 12px 0 6px;
  font-size: 13px;
  color: #374151;
}

.reception-page input[type="text"],
.reception-page input[type="tel"],
.reception-page input[type="date"],
.reception-page select,
.reception-page textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 11px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
}

.reception-page input[type="date"] {
  display: block;
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
}

.reception-page textarea {
  resize: vertical;
}

.reception-page input[type="file"] {
  width: 100%;
  margin-top: 6px;
}

.reception-page .inline-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.reception-page .inline-inputs > div {
  min-width: 0;
}

@media (max-width: 520px) {
  .reception-page .inline-inputs {
    grid-template-columns: 1fr;
  }

  .reception-page input[type="date"] {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    font-size: 13px;
    padding-right: 36px;
  }

  .reception-page input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
  }

  .reception-page input[type="date"]::-webkit-datetime-edit,
  .reception-page input[type="date"]::-webkit-datetime-edit-fields-wrapper,
  .reception-page input[type="date"]::-webkit-date-and-time-value,
  .reception-page input[type="date"]::-webkit-datetime-edit-text,
  .reception-page input[type="date"]::-webkit-datetime-edit-month-field,
  .reception-page input[type="date"]::-webkit-datetime-edit-day-field,
  .reception-page input[type="date"]::-webkit-datetime-edit-year-field {
    max-width: 100%;
  }
}

.reception-page button {
  width: 100%;
  padding: 12px 12px;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  background: #2563eb;
  color: #fff;
}

.reception-page button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.reception-page .btn.is-disabled {
  opacity: 0.45;
  filter: grayscale(0.15);
}

.reception-page .status_btn {
  background: #111827;
}

.reception-page .status-buttons {
  display: flex;
  justify-content: center;
  gap: 3mm;
  margin-top: 3mm;
}

.reception-page .move-buttons-inline {
  margin-top: 14px;
}

.reception-page .lookup-inline-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 14px 0 0;
}

.reception-page .status-buttons .btn {
  width: auto;
  min-width: 46mm;
  max-width: 46mm;
  padding-left: 10px;
  padding-right: 10px;
  white-space: nowrap;
  text-indent: 0.7em;
}

.reception-page .notice {
  font-size: 12px;
  color: #6b7280;
  margin-top: 10px;
  line-height: 1.4;
  text-align: center;
}

.reception-page .big-number {
  font-size: 80px;
  font-weight: 800;
  text-align: center;

  background-color: #111827;
  border-radius: 10px;
  color: #ffffff;

  height: 120px;

  display: flex;
  align-items: center;      /* 세로 가운데 */
  justify-content: center;  /* 가로 가운데 */
}


.reception-page .sub-info {
  font-size: 12px;
  color: #4b5563;
  text-align: center;
}

/* file list */
.reception-page #fileList {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.reception-page .file-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-top: 8px;
  background: #f9fafb;
}

.reception-page .file-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;   /* 기본 14px → 살짝 줄임 */
    line-height: 1.4;
}

.reception-page .file-size {
  color: #6b7280;
  font-size: 12px;
}

/* checkbox line */
.reception-page .checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 13px;
  color: #374151;
}

.reception-page .checkbox input {
  width: 16px;
  height: 16px;
}

.reception-page .privacy-box {
  margin-top: 10px;
  padding: 12px;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  font-size: 12px;
  color: #374151;
}

.reception-page .privacy-box ul {
  margin: 8px 0 0;
  padding-left: 16px;
}

.reception-page .completion-notice-card {
  margin-top: 20px;
  scroll-margin-top: 88px;
}

.reception-page .floating-notice-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 980;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: auto;
  min-height: 142px;
  padding: 8px 0;
  border: 0;
  border-radius: 10px 0 0 10px;
  background: linear-gradient(180deg, #dc2626, #f97316);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.24);
  cursor: pointer;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  animation: floatingNoticePulse 1.8s ease-in-out infinite;
}

.reception-page .floating-notice-tab:focus-visible,
.reception-page .floating-notice-tab:hover {
  box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3);
}

.reception-page .completion-notice-backdrop {
  position: fixed;
  inset: 0;
  z-index: 985;
  background: rgba(15, 23, 42, 0.42);
}

.reception-page .completion-notice-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 990;
  width: min(92vw, 420px);
  height: 100vh;
  background: #fff;
  box-shadow: -12px 0 30px rgba(15, 23, 42, 0.18);
  transform: translateX(100%);
  transition: transform 0.24s ease;
  display: flex;
  flex-direction: column;
}

.reception-page .completion-notice-panel.is-open {
  transform: translateX(0);
}

.reception-page .completion-notice-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff7ed;
}

.reception-page .completion-notice-panel__header strong {
  font-size: 16px;
  color: #111827;
}

.reception-page .completion-notice-panel__close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.reception-page .completion-notice-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
}

.reception-page .completion-notice-panel .completion-notice-mobile h2 {
  font-size: 20px;
}

@media (max-width: 640px) {
  .reception-page .floating-notice-tab {
    width: 34px;
    min-height: 128px;
    padding: 7px 0;
    font-size: 9px;
  }

  .reception-page .completion-notice-panel {
    width: min(100vw, 360px);
  }
}

.reception-page .completion-notice-mobile__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 800;
}

.reception-page .completion-notice-mobile h2 {
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.reception-page .completion-notice-mobile h3 {
  font-size: 15px;
  margin: 0 0 8px;
}

.reception-page .completion-notice-mobile__lead,
.reception-page .completion-notice-mobile p,
.reception-page .completion-notice-mobile li {
  font-size: 13px;
  line-height: 1.65;
  color: #374151;
}

.reception-page .completion-notice-mobile__section + .completion-notice-mobile__section {
  margin-top: 16px;
}

.reception-page .completion-notice-mobile ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.reception-page .completion-notice-mobile li + li {
  margin-top: 6px;
}

.reception-page .copy-inline-icon-btn {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-left: 4px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #b45309;
  font-size: 15px;
  line-height: 22px;
  text-align: center;
  cursor: pointer;
  vertical-align: -2px;
}

.reception-page .copy-inline-icon-btn:hover,
.reception-page .copy-inline-icon-btn:focus-visible {
  background: #ffedd5;
}

/* overlay */
.reception-page #submitOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.reception-page #submitOverlay .box {
  width: min(92vw, 360px);
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  border: 1px solid #e5e7eb;
}

.reception-page .spinner {
  width: 34px;
  height: 34px;
  border: 4px solid #e5e7eb;
  border-top-color: #2563eb;
  border-radius: 50%;
  margin: 0 auto 10px;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes progressPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.28);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

@keyframes floatingNoticePulse {
  0% {
    box-shadow: 0 12px 24px rgba(220, 38, 38, 0.28), 0 0 0 0 rgba(249, 115, 22, 0.3);
  }
  70% {
    box-shadow: 0 12px 24px rgba(220, 38, 38, 0.28), 0 0 0 14px rgba(249, 115, 22, 0);
  }
  100% {
    box-shadow: 0 12px 24px rgba(220, 38, 38, 0.28), 0 0 0 0 rgba(249, 115, 22, 0);
  }
}

/* error modal */
.reception-page #errorModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.reception-page #errorModal .box {
  width: min(92vw, 360px);
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  border: 1px solid #e5e7eb;
}

.reception-page #errorCloseBtn {
  margin-top: 12px;
  background: #111827;
}

.reception-page .modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.reception-page .modal-actions.two-buttons button {
  flex: 1 1 0;
}

.reception-page .secondary-btn {
  background: #e5e7eb !important;
  color: #111827 !important;
}

.reception-page .danger-btn {
  background: #dc2626 !important;
  color: #fff !important;
}

.reception-page .danger-btn:hover {
  background: #b91c1c !important;
}

.reception-page #successModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.reception-page #successModal .success-box {
  width: min(92vw, 420px);
  background: #fff;
  border-radius: 18px;
  padding: 22px 20px;
  text-align: center;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
}

.reception-page #successModal h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.reception-page .success-guide,
.reception-page .success-notice {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

.reception-page .success-meta {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.reception-page .success-item {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px 12px;
  background: #f9fafb;
}

.reception-page .success-item .label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
}

.reception-page .success-item strong {
  display: block;
  font-size: 24px;
  letter-spacing: 0.03em;
  color: #111827;
}

.reception-page .success-item.pin-item {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.reception-page .success-item.pin-item strong {
  color: #1d4ed8;
}

.reception-page #successConfirmBtn {
  margin-top: 8px;
  background: #111827;
}



/* =========================
   Progress Steps (lookup)
========================= */
.reception-page .progress-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: 0;
  margin: 12px 0 0;
  position: relative;
  overflow: visible;
}

.reception-page .receive-progress-steps--5 {
  grid-template-columns: repeat(5, 1fr);
}

/* 각 step */
.reception-page .progress-steps .step {
  position: relative;
  text-align: center;
  padding-top: 28px;
  cursor: help;
  overflow: visible;
}

/* 가운데 원 */
.reception-page .progress-steps .step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 28px;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #d1d5db;
  border: 4px solid #eef2f7;
  box-sizing: border-box;
  z-index: 2;
  transition: all 0.2s ease;
}

/* 라인 (앞뒤 연결) */
.reception-page .progress-steps .step::after {
  content: "";
  position: absolute;
  top: 12px;
  left: -50%;
  width: 100%;
  height: 4px;
  background: #d1d5db;
  z-index: 1;
}

.reception-page .progress-steps .step:first-child::after {
  display: none;
}

/* 라벨 */
.reception-page .progress-steps .step > span:first-child {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  line-height: 1.35;
}

.reception-page .progress-steps .step .step-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 18px);
  transform: translateX(-50%) translateY(6px);
  width: max-content;
  max-width: 180px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(17, 24, 39, 0.94);
  color: #ffffff !important;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
  white-space: normal;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.reception-page .progress-steps .step .step-tooltip,
.reception-page .progress-steps .step .step-tooltip *,
.reception-page .progress-steps .step:hover .step-tooltip,
.reception-page .progress-steps .step:hover .step-tooltip *,
.reception-page .progress-steps .step:focus-within .step-tooltip,
.reception-page .progress-steps .step:focus-within .step-tooltip * {
  color: #ffffff !important;
}

.reception-page .progress-steps .step .step-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border-width: 6px 5px 0 5px;
  border-style: solid;
  border-color: rgba(17, 24, 39, 0.94) transparent transparent transparent;
}

.reception-page .progress-steps .step:last-child .step-tooltip {
  left: auto;
  right: 0;
  transform: translateY(6px);
}

.reception-page .progress-steps .step:last-child .step-tooltip::after {
  left: auto;
  right: 14px;
  transform: none;
}

.reception-page .progress-steps .step:hover .step-tooltip,
.reception-page .progress-steps .step:focus-within .step-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  color: #ffffff !important;
}

.reception-page .progress-steps .step:last-child:hover .step-tooltip,
.reception-page .progress-steps .step:last-child:focus-within .step-tooltip {
  transform: translateY(0);
}

/* 활성(step 완료/현재까지) */
.reception-page .progress-steps .step.is-active::before {
  background: #93c5fd;
  border-color: #e0ecff;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.08);
}

.reception-page .progress-steps .step.is-active span {
  color: #64748b;
}

/* 활성 구간 라인 */
.reception-page .progress-steps .step.is-active::after {
  background: #bfdbfe;
}

/* 현재 step 강조 */
.reception-page .progress-steps .step.is-current::before {
  background: #1d4ed8;
  border-color: #dbeafe;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
  animation: progressPulse 1.8s ease-out infinite;
}

.reception-page .progress-steps .step.is-current span {
  color: #111827;
}

.reception-page .progress-steps .step.is-current::after {
  background: #60a5fa;
}

/* 중간 가로줄(hr)처럼 보이게 */
.reception-page .lookup-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 18px 0;
}


/* ============================================
           🧲 작업 진행 절차 플로팅 (완전 독립)
        ============================================ */
.process-floating {
  position: fixed;
  top: 55px;
  left: calc(50% + 260px + 10px);
  width: 260px;
  z-index: 50;
}

.process-floating .process-box {
  padding: 16px 16px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.process-floating .card + .card {
  margin-top: 14px;
}

.process-floating .process-box h3 {
  display: block !important;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 600;
  color: #1e3a8a;
}

.process-floating .process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
}

.process-floating .step-num {
  width: 28px;
  height: 28px;
  background: #3b82f6;
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.process-floating .process-step strong {
  font-size: 13px;
  color: #1e3a8a;
  margin-bottom: 2px;
}

.process-floating .process-step p {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.4;
  margin: 0;
  white-space: normal;
}

.process-floating .process-contact-box {
  padding: 16px;
  text-align: center;
}

.process-floating .process-contact-box h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: #1e3a8a;
}

.process-floating .process-contact-box__qr {
  display: block;
  width: 100%;
  max-width: 180px;
  margin: 0 auto 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.process-floating .process-contact-box__info {
  text-align: center;
}

.process-floating .process-contact-box__info p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #374151;
}

.process-floating .process-contact-box__info p + p {
  margin-top: 12px;
}

@media (max-width: 900px) {
  .process-floating {
    display: none;
  }
}

.reception-page .index_btn_dark {
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(17,24,39,0.08);
}

.reception-page .index_btn_dark:hover {
  background: #1f2937;
}

.reception-page .file-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.reception-page .file-remove {
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px;
}

.reception-page .file-remove:hover {
  color: #b91c1c;
}


#lookupBtn {

  margin-top: 20px;

}

#deleteWrapper {
  position: relative;
}

#deleteWrapper .tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(6px);
  max-width: 220px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(17, 24, 39, 0.94);
  color: #fff;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 20;
}

#deleteWrapper .tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border-width: 6px 5px 0 5px;
  border-style: solid;
  border-color: rgba(17, 24, 39, 0.94) transparent transparent transparent;
}

#deleteWrapper:hover .tooltip,
#deleteWrapper:focus-within .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.readonly-field,
.reception-page input[readonly],
.reception-page textarea[readonly],
.reception-page select[readonly] {
  border-radius: 6px;
}

.readonly-field {
  width: 100%;
  min-height: 54px;
  padding: 15px 18px;
  border: 1px solid #d1d5db;
  background: #fff;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.6;
  color: #111827;
  white-space: pre-wrap;
}


.file-delete {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 18px;
  margin-right: 6px;
  line-height: 1;
}

.file-list .file-delete {
  padding-left:0px;
  list-style: none;
}

.file-list li {
  display: flex;
  align-items: center;
  gap: 8px;

}

.file-delete {
  border: none;
  background: none;
  padding: 0;
  margin-right: 4px;

  width: auto;
  min-width: unset;

  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  color: #000000; /* 파란 배경이면 흰색 */
  cursor: pointer;
}


/* 첨부파일 항목도 input-like box로 정리 */
.file-list li {
  display: flex;
  align-items: center;
  gap: 10px;

  width: 100%;
  padding: 9px 15px;
  margin: 8px 0;

  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-sizing: border-box;
}

/* ❌ X 버튼은 배경 제거 + 크기 고정 */
.file-list .file-delete {
  background: transparent !important;
  border: none;

  width: 20px !important;
  height: 20px !important;
  padding: 0 !important;
  margin-right: 0px !important;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  color: #000000;

  flex: 0 0 auto;
  cursor: pointer;
}

/* 파일명은 남은 영역 */
.file-list li span:not(.file-download) {
  flex: 1 1 auto;
  color: #111827;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 상태 */
.file-list li .file-download {
  flex: 0 0 auto;
  color: rgba(0, 0, 0, 0.8);
  font-size: 12px;
}

#resFilesList {
  display: flex;
  flex-direction: column;
  align-items: stretch;

  padding-left: 0;
  margin-left: 0;
}

#resFilesList li {
  width: 100%;
  max-width: 520px;

  box-sizing: border-box;
  list-style: none;
}


.file-list .file-delete:hover {
  color: #d32f2f;      /* 빨간색 */
}
.file-download {
  /* margin-right: 0px; */
  font-size: 12px;
  color: #1a73e8;
  cursor: pointer;
  text-decoration: underline;
  white-space: nowrap;
}

.file-download:hover {
  color: #0b57d0;
}

.reception-page .thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.reception-page .screenshot-thumb-link {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.reception-page .screenshot-thumb-link:hover {
  background: #f3f4f6;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.reception-page .screenshot-thumb {
  display: block;
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.reception-page .screenshot-thumb-badge {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(17, 24, 39, 0.55);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  backdrop-filter: blur(2px);
}

.reception-page .thumbnail-grid .empty {
  grid-column: 1 / -1;
  font-size: 12px;
  color: #6b7280;
  text-align: center;
  padding: 12px 0;
}

.reception-page .lookup-comment-item {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #f9fafb;
  padding: 10px 12px;
  margin-top: 8px;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.reception-page .lookup-comment-item:hover {
  background: #f3f4f6;
  border-color: #cbd5e1;
}

.reception-page .lookup-comment-item__text {
  font-size: 9pt;
  line-height: 1.5;
  color: #111827;
  white-space: pre-wrap;
}

.reception-page .lookup-comment-item__meta {
  margin-top: 6px;
  font-size: 8pt;
  color: #6b7280;
  text-align: right;
}

.reception-page .comment-list .empty {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #f9fafb;
  padding: 14px 12px;
  margin-top: 8px;
  text-align: center;
  color: #6b7280;
  font-size: 12px;
}

.reception-page.lookup-modal-open {
  overflow: hidden;
}

.reception-page .lookup-screenshot-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(17, 24, 39, 0.72);
}

.reception-page .lookup-screenshot-modal__dialog {
  width: min(92vw, 960px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  padding: 16px;
}

.reception-page .lookup-screenshot-modal__close {
  width: auto;
  min-width: 88px;
  margin-left: auto;
  margin-bottom: 12px;
  display: block;
  padding: 10px 14px;
  background: #111827;
}

.reception-page .lookup-screenshot-modal__image-wrap {
  border-radius: 6px;
  overflow: hidden;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.reception-page .lookup-screenshot-modal__image-link {
  display: block;
  cursor: pointer;
}

.reception-page .lookup-screenshot-modal__image {
  display: block;
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  background: #111827;
}

.reception-page .lookup-screenshot-modal__comments {
  margin-top: 14px;
}

.reception-page .lookup-screenshot-modal__comments-title {
  margin: 0 0 10px;
  font-size: 15px;
  color: #111827;
}

.reception-page .lookup-screenshot-modal__comment-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reception-page .lookup-screenshot-modal__comment-item,
.reception-page .lookup-screenshot-modal__empty {
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  border-radius: 6px;
  padding: 12px;
}

.reception-page .lookup-screenshot-modal__comment-text {
  white-space: pre-wrap;
  line-height: 1.5;
  color: #111827;
}

.reception-page .lookup-screenshot-modal__comment-meta {
  margin-top: 8px;
  font-size: 12px;
  color: #6b7280;
}
