
 @page {
      size: A4;
      margin: 0;
    }
    
   .background_color{
     background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%), linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.03) 75%), linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.03) 75%);
     /* display: flex; */
     justify-content: center;
     align-items: center;
     background-color: #00665f !important;
     overflow: auto;
     height: 100vh;
}

    .receipt-wrapper {
      max-width: 800px;
      margin: auto;
      background: #fff;
      padding: 30px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      box-sizing: border-box;
      /* position: relative; */
      border-radius: 3px;
      margin-top: 30px;
    }

    .header {
      text-align: center;
      border-bottom: 3px solid #4CAF50;
      padding-bottom: 15px;
      margin-bottom: 7px;
      position: relative;
      z-index: 1;
    }

.download_btn a {
    color: #086b64;
}

    .logo {
      width: 110px;
      height: 80px;
      object-fit: contain;
      margin-bottom: 18px;
    }

    .header h2 {
      color: #4CAF50;
      margin: 5px 0;
      margin-top: -57px;
    }

    .header p {
      margin: 3px 0;
      font-size: 14px;
    }

    .receipt-no {
      font-weight: bold;
      text-align: right;
      margin-bottom: 10px;
    }

    .details-table {
      width: 100%;
      border-collapse: collapse;
      margin-bottom: 20px;
      word-break: break-word;
    }

    .details-table th,
    .details-table td {
      border: 1px solid #ddd;
      padding: 7px;
      text-align: left;
      vertical-align: top;
    }

    .details-table th {
      background-color: #f2f2f2 !important;
    }

    .amount-in-words {
      font-style: italic;
      color: #555;
    }

    .qr-signature-section {
      display: flex;
      justify-content: center;
      /* flex-wrap: wrap; */
      border-top: 1px dashed #aaa;
      padding-top: 0px;
    }

    .qr-code {
      width: 45%;
      text-align: center;
    }

    .qr-code img {
      width: 130px;
      height: 130px;
    }

    .signature-block {
      width: 45%;
      text-align: center;
      margin-top: 20px;
    }

    .signature-block p {
      margin: 5px 0;
    }

    .footer-info {
      text-align: center;
      font-size: 13px;
      margin-top: 6px;
    }

    .footer-info p {
      margin: 3px 0;
    }

    .download-btn {
      display: block;
      width: 160px;
      height: 40px;
      background: #f7f7f7;
      color: #086b64;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 14px;
      font-weight: 600;
    }

    .watermark {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) rotate(-30deg);
      font-size: 80px;
      color: rgba(255, 0, 0, 0.15);
      font-weight: bold;
      z-index: 0;
      display: none;
      pointer-events: none;
      white-space: nowrap;
    }

    .fail-message {
      text-align: center;
      color: red;
      font-weight: bold;
      margin-top: -10px;
      margin-bottom: 9px;
      font-size: 16px;
      background-color: rgba(255, 0, 0, 0.1);
      padding: 10px;
      border: 1px solid red;
      border-radius: 5px;
      display: none;
    }
    
    .logo_box{
         transform: translate(0px, -38px);
   }
   
    .member_qr_box{
        display: flex;
        justify-content: center;
        margin: auto;
        padding: 10px;
        border-radius: 5px;
    }
    
.download_btn {
    background: #f7f7f7;
    font-size: 14px;
    font-weight: 600;
    border-radius: 5px;
    display: block;
    color: #086a64 !important;
    border:none;
    width: 160px;
    align-items: center;
    justify-content: center;
    display: flex;
    font-family: 'Arial', sans-serif;
}

    
    #qrcoder{
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        padding: 10px;
    }

    @media (max-width: 600px) {
      .qr-signature-section {
        flex-wrap: wrap !important;
       
        gap: 20px;
      }

      .qr-code,
      .signature-block {
        width: 100%;
        text-align: center;
      }
      
      .header h2 {
    margin-top: -9px !important;
}

 .logo_box{
         transform: translate(0px, 7px) !important;
   }
   
   .logo{
       width: 113px;
       margin-top: -26px;
   }
   
.watermark {
      top: 100% !important;
           
  }
   
}
    
    @media print {
      .download-btn {
        display: none;
      }
      
      .download_btn {
        display: none !important;
      }
    
      .receipt-wrapper {
        margin: 0;
        padding: 15px;
      }
      
      .download_btn{
          display:none;
      }
      
      * {
    -webkit-print-color-adjust: exact !important; /* For Chrome/Safari */
    print-color-adjust: exact !important;         /* For Firefox */
  }
     
     body{
          background:unset !important;
          background-image:unset !important;
     }
     
     .background_color{
         background:none !important;
     }
      
    }
    
.main_btn_box{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 30px;
}    