/* 플라체인 계약서 PDF / 인쇄 */
.fc-success-pdf {
  margin: 18px 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.fc-success-pdf .fc-btn-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border, #d1d5db);
  background: #fff;
  color: var(--text-primary, #111827);
}
.fc-success-pdf .fc-btn-pdf:hover {
  border-color: #0cc4b4;
  color: #07a89a;
}
.fc-success-pdf .fc-btn-pdf.primary {
  background: linear-gradient(135deg, #0cc4b4, #07a89a);
  border-color: #07a89a;
  color: #fff;
  box-shadow: 0 2px 8px rgba(12, 196, 180, 0.35);
}
.fc-success-pdf .fc-btn-pdf.primary:hover {
  filter: brightness(0.95);
  border-color: #06988c;
  color: #fff;
}
.fc-success-pdf .fc-btn-pdf:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.fc-success-pdf-hint {
  width: 100%;
  font-size: 12px;
  color: var(--text-muted, #6b7280);
  margin: 0;
}

@import url("flachain-contract-document.css");

/* html2pdf 캡처용 */
#fcPdfHost {
  position: fixed;
  left: 0;
  top: 0;
  width: 680px;
  min-height: 1px;
  overflow: visible;
  z-index: -1;
  opacity: 0.01;
  pointer-events: none;
  background: #f1f5f9;
}

/* 인쇄 창 툴바 */
.fc-print-toolbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  background: linear-gradient(135deg, #0cc4b4, #07a89a);
  color: #fff;
  font-family: "Malgun Gothic", sans-serif;
  font-size: 14px;
  box-shadow: 0 2px 12px rgba(7, 168, 154, 0.25);
}
.fc-print-toolbar button {
  padding: 9px 18px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  color: #07a89a;
}
.fc-print-toolbar button.primary {
  background: #0f172a;
  color: #fff;
}
.fc-print-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 28px 16px 48px;
  background: #f1f5f9;
}
.fc-print-page {
  width: 680px;
  max-width: calc(100vw - 32px);
  margin: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
}
@media print {
  .fc-print-toolbar {
    display: none !important;
  }
  .fc-print-wrap {
    padding: 0;
    background: #fff;
  }
  .fc-print-page {
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    border-radius: 0;
  }
  .fc-pdf-hero {
    border-radius: 0;
  }
}