/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
  }
  
  /* Navbar */
  .navbar {
    background-color: #6200ee;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .navbar-nav {
    list-style: none;
    display: flex;
  }
  
  .nav-item {
    margin-left: 1.5rem;
  }
  
  .nav-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
  }
  
  .nav-link.active {
    font-weight: bold;
    border-bottom: 2px solid white;
  }
  
  .nav-link:hover {
    color: #bb86fc;
  }
  
  /* Container */
  .container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #6200ee;
  }
  
  h2 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    color: #333;
  }
  
  /* Form Group */
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  label {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #555;
  }
  
  input {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s ease;
  }
  
  input:focus {
    border-color: #6200ee;
    outline: none;
  }
  
  /* Button */
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    color: white;
    background-color: #6200ee;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .btn:hover {
    background-color: #3700b3;
  }
  
  /* Output */
  pre {
    background: #f4f4f9;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    overflow-x: auto;
  }
  
  /* Receipt Section */
  .receipt {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  .receipt h2 {
    font-size: 1.75rem;
    color: #6200ee;
    margin-bottom: 1rem;
  }
  
  .receipt p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    color: #333;
  }
  
  #qrcode {
    margin: 1.5rem auto;
    display: inline-block;
  }
  
  #ticket-output {
    margin-top: 1rem;
    background: #f4f4f9;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    overflow-x: auto;
  }

 /* Input with Icons */
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon input {
  flex: 1;
  padding-right: 80px; /* Increase space for icons */
}

.input-with-icon .icon {
  position: absolute;
  right: 10px;
  cursor: pointer;
  color: #6200ee;
  margin-left: 10px;
}

.input-with-icon .icon:hover {
  color: #3700b3;
}

/* Position the QR code icon to the left of the paste icon */
.input-with-icon .fa-qrcode {
  right: 40px; /* Adjust this value as needed */
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  position: relative;
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 80%;
  max-width: 600px;
  border-radius: 8px;
  text-align: center;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #6200ee;
}

.close:hover {
  color: #3700b3;
}