/* ==========================================================================
   HAZIRBELGE — YAZDIRMA VE @MEDIA PRINT STİLLERİ (print.css)
   ========================================================================== */

body.hb-print-body {
  margin: 0;
  padding: 0;
  background: #e2e8f0;
  font-family: 'DejaVu Sans', 'Inter', Arial, sans-serif;
  color: #111827;
}

.hb-print-toolbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0f172a;
  color: #f8fafc;
  padding: 12px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hb-print-toolbar-inner {
  max-width: 210mm;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.hb-print-title strong {
  display: block;
  font-size: 15px;
}

.hb-print-title span {
  font-size: 12px;
  color: #94a3b8;
}

.hb-print-actions {
  display: flex;
  gap: 8px;
}

.hb-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.hb-btn-primary {
  background: #2563eb;
  color: #ffffff;
}

.hb-btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}

.hb-print-stage {
  padding: 24px 12px 48px;
  display: flex;
  justify-content: center;
}

.hb-print-sheet {
  width: 210mm;
  min-height: 297mm;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.18);
  box-sizing: border-box;
}

@media print {
  @page {
    size: A4 portrait;
  }

  html,
  body,
  body.hb-print-body,
  body.hb-body {
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .no-print,
  .hb-navbar,
  .hb-toolbar,
  .hb-mobile-tabs,
  .hb-sidebar,
  .hb-preview-meta-bar,
  .hb-footer,
  .hb-modal-backdrop,
  .hb-toast,
  .di-wrapper,
  .di-tour-backdrop,
  .di-tour-card {
    display: none !important;
  }

  .hb-workspace,
  .hb-preview-pane,
  .hb-print-stage {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
  }

  .hb-a4-sheet,
  .hb-print-sheet {
    width: 100% !important;
    max-width: none !important;
    min-height: auto !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background-image: none !important;
  }
}
