    /* Bottom right corner popup styling */
    #voucher-popup {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 340px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        transition: all 0.3s ease;
        transform: translateY(120%);
        opacity: 0;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      }
  
      #voucher-popup.show {
        transform: translateY(0);
        opacity: 1;
      }
  
      /* Close button at the top right */
      .popup-close {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 18px;
        color: #999;
        cursor: pointer;
        background: none;
        border: none;
        padding: 0;
        line-height: 1;
      }
  
      .popup-close:hover {
        color: #e74c3c;
      }
  
      /* Form styling */
      #voucher-form {
        padding: 20px;
      }
  
      /* Form heading */
      .form-heading {
        text-align: center;
        color: #e74c3c;
        margin-bottom: 15px;
        font-size: 18px;
        padding-right: 20px;
      }
  
      /* Group styling */
      .form-group {
        margin-bottom: 15px;
      }
  
      /* Label styling */
      label {
        display: block;
        margin-bottom: 6px;
        font-weight: 600;
        color: #333;
        font-size: 14px;
      }
  
      /* Input and select styling */
      .form-control {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
        transition: border-color 0.3s;
        box-sizing: border-box;
      }
  
      .form-control:focus {
        border-color: #e74c3c;
        outline: none;
        box-shadow: 0 0 5px rgba(231, 76, 60, 0.3);
      }
  
      /* Button container */
      .popup-buttons {
        display: flex;
        justify-content: space-between;
        margin-top: 15px;
      }
  
      /* Button styling */
      .popup-btn {
        padding: 10px 15px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s;
      }
  
      #close-voucher {
        background-color: #f1f1f1;
        color: #333;
      }
  
      .popup-btn-primary {
        background-color: #e74c3c;
        color: white;
      }
  
      .popup-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      }
  
      #close-voucher:hover {
        background-color: #e0e0e0;
      }
  
      .popup-btn-primary:hover {
        background-color: #c0392b;
      }
  
      /* Success message */
      .success-message {
        display: none;
        text-align: center;
        padding: 20px;
        color: #3c763d;
        border-radius: 5px;
      }
  
      /* Required field indication */
      .required-field::after {
        content: "*";
        color: #e74c3c;
        margin-left: 3px;
      }
  
      /* Error styling */
      .error-text {
        color: #e74c3c;
        font-size: 12px;
        margin-top: 4px;
        display: none;
      }
  
      input.error,
      select.error {
        border-color: #e74c3c;
      }
  
      /* Floating action button to show the form again */
      #show-voucher-btn {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: #e74c3c;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        z-index: 999;
        border: none;
        font-size: 24px;
        transition: all 0.3s;
        display: none;
      }
  
      #show-voucher-btn:hover {
        transform: scale(1.1);
        background: #c0392b;
      }