/* Print styles for Conceal Paper Wallet */
@media print {
  /* Create safe-like border around the page */
  @page {
    margin: 0.5cm;
    size: auto;  /* Use the default page size */
  }
  
  body {
    position: relative;
    border: 12px solid #444;
    border-radius: 10px;
    padding: 10px;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
  }
  
  .slim-header {
    margin-left: 3%;
  }
  
  /* Remove any unwanted background colors from cards */
  .card {
    background-color: transparent !important;
    background: none !important;
    width: 95%;
    margin-bottom: 8px !important;
    page-break-inside: avoid;
    margin-right: 8px !important;
    margin-left: 8px !important;
  }
  
  .card-body {
    background-color: transparent !important;
    background: none !important;
    padding: 8px !important;
  }
  
  .card-title {
    margin-bottom: 4px !important;
    font-size: 14px !important;
  }
  
  .card-subtitle {
    margin-bottom: 4px !important;
    font-size: 11px !important;
  }
  
  .row {
    margin-bottom: 5px !important;
  }
  
  br {
    display: none;
  }
  
  /* Hide elements not needed for print */
  .d-print-none {
    display: none !important;
  }
  
  /* Hide the back to homepage button */
  #btnBackToHomepage {
    display: none !important;
  }
  
  /* Safe corners */
  body:before, body:after {
    content: "" !important;
    position: absolute !important;
    width: 30px !important;
    height: 30px !important;
    background: #444 !important;
    border-radius: 5px !important;
    z-index: 9999 !important;
    display: block !important;
    print-color-adjust: exact !important;
    -webkit-print-color-adjust: exact !important;
  }
  
  body:before {
    top: 5px !important;
    left: 5px !important;
  }
  
  body:after {
    top: 5px !important;
    right: 5px !important;
  }
  
  /* Bottom corners */
  .safe-corner {
    display: block !important;
    position: absolute !important;
    width: 30px !important;
    height: 30px !important;
    background-color: #444 !important;
    border-radius: 5px !important;
    z-index: 9999 !important;
    print-color-adjust: exact !important;
    -webkit-print-color-adjust: exact !important;
  }
  
  .safe-corner.bottom-left {
    bottom: 5px !important;
    left: 5px !important;
  }
  
  .safe-corner.bottom-right {
    bottom: 5px !important;
    right: 5px !important;
  }
  
  /* Add gradient background behind only the logo image */
  .slim-header .container .slim-header-left img {
    filter: brightness(0.4) contrast(0.8) invert(0.15) sepia(0.2) hue-rotate(175deg) saturate(1.3);
    padding: 5px !important;
    border-radius: 8px !important;
  }
  
  /* Ensure the page has some breathing room */
  #step2 {
    margin-top: 10px;
  }
} 