.kontenpembelian {    
      max-width: 90%;
      margin: auto;
      background: white;
      padding: 5%;
      border-radius: 0;
      box-shadow: 0 0 10px rgba(0,0,0,0.5);
      font-size: 20px;
      
    }
    .header-receipt {
      text-align: center;
      margin-bottom: 20px;
      font-size: 30px;
      line-height: 1.2;
      
      
    }

    .header-receipt h2 {
      color: black;
      margin: 0;
      
      text-transform: uppercase;
      font-size: 30px;
      
    }
  
    .receipt-line {
      border-bottom: 1px dashed black;
      margin: 15px 0;
      font-size: 30px;
      
    }

    label {
      display: block;
      margin-bottom: 5px;
      color: black;
      font-size: 20px;
      
    }

    input[type="text"], input[type="number"] {
  
      width: 100%;
      padding: 4px 5px;
      margin-bottom: 8px;
      border: 1px solid black;
      border-radius: 0;
      color: black;
      font-family: 'Courier New', monospace;
      box-sizing: border-box; 
      font-size: 20px;
      
    }
    
    input[type="text"]:focus, input[type="number"]:focus {
        outline: none;
        border-color: red;
        font-size: 20px;
        
    }


    .file-upload-wrapper {
      position: relative;
      overflow: hidden;
      margin-bottom: 15px;
      display: flex;
      align-items: center;
      font-size: 30px;
      
    }
    .custom-file-upload {
      background-color: #333;
      border: 1px solid #555;
      display: inline-block;
      padding: 8px 12px;
      cursor: pointer;
      border-radius: 0;
      color: #ddd;
      transition: background-color 0.3s;
      font-size: 30px;
    }
    .custom-file-upload:hover {
      background-color: #444;
      font-size: 30px;
      
      
    }
    .file-name {
      margin-left: 10px;
      color: blue;
      display: none;
      font-size: 15px;
     
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 10%; 
    }
    #bukti {
      position: absolute;
      left: 0;
      top: 0;
      opacity: 0;
      cursor: pointer;
      width: 100%;
      height: 100%;
      font-size: 30px;
      
      
    }

    button {
      width: 100%;
      padding: 12px;
      background-color: #555;
      color: #fff;
      border: 1px solid #777;
      border-radius: 0;
      cursor: pointer;
      font-size: 16px;
      text-transform: uppercase;
      font-family: 'Courier New', monospace;
      font-size: 30px;
      
    }
    button:hover {
      background-color: #777;
      font-size: 30px;
      
    }
    #backButton, #printButton {
        margin-top: 10px;
        font-size: 30px;
        
    }

    #statusMessage {
      margin-top: 20px;
      text-align: center;
      
      font-size: 40px;
    }
    .success { color: black; }
    .error { color: #ff0000; }

  
    #transactionReceipt {
        display: none;
    }
    .receipt-details p {
        margin: 5px 0;
        line-height: 1.5;
        font-size: 20px;
    }
    .receipt-details strong {
        display: inline-block;
        min-width: 120px;
        font-size: 10px;
    }
    

    @media print {
      body {
        background-color: transparent !important;
        color: black !important;
        font-size: 10px;
      }
      
      .kontenpembelian {
        box-shadow: none !important;
        border: none !important;
        max-width: none !important;
      }
  
      #topupForm, #backButton, #printButton, #statusMessage {
        display: none !important;
      }
      #transactionReceipt {
        display: block !important;
      }
    }
