body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: #f2f2f2;
  display: flex; /* Add this */
  flex-direction: column; /* Add this */
  min-height: 100vh; /* Add this */
}
nav {
  background: #1c1c1c;
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 1.2rem;
}
.tab-container {
  max-width: 600px; /* Increased from 600px to 800px for wider content */
  width: 90%; /* Added to make it responsive and take 90% of available width */
  margin: 20px auto;
  background: white;
  padding: 20px;
  border: 1px solid #ccc;
  /* Removed flex-grow: 1 from here */
}
.tabs {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}
.tabs button {
  flex: 1;
  padding: 10px;
  cursor: pointer;
  background: #ddd;
  border: none;
}
.tabs button.active {
  background: #17a2b8;
  color: white;
  
}
.form-section {
  display: none;
  
}
.form-section.active {
  display: block;
}

/* Target all inputs of a specific type */
  input[type="date"],
  input[type="number"] {
    font-size: larger; 
  }

  select {
  font-size: 1.1em; /* Adjust as needed */
  /* You might also want to adjust padding or height to accommodate the larger text */
  padding: 8px;
}

label {
  font-weight: bold;
  display: block;
  margin-top: 12px;
}
input, select {
  width: 95%;
  padding: 8px;
  margin-top: 5px;
  
}
/* button.generate {
  margin-top: 20px;
  width: 50%;
  padding: 12px;
  font-size: 16px;
  background-color: #0082fb;
  color: white;
  border: none;
  cursor: pointer;
  
} */

.button-group {
      display: flex;
      gap: 10px;
      margin-top: 20px;
     
    }
    .generate, .clear-btn {
      flex: 1;
      padding: 12px;
      font-size: 16px;
      color: white;
      border: none;
      cursor: pointer;
    }
    .generate {
      background-color: #007bff;
      border-radius: 10px;
    }
    .clear-btn {
      background-color: #dc3545;
      border-radius: 10px;
    }

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}
.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 20px;
  border: 2px none black;
  width: 90%;
  max-width: 600px; /* This max-width is for the modal, not the main content */
  position: relative;
}



.modal-header {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 5px 10px;
  position: absolute;
  top: 0;
  right: 0;
}

.screenshot-btn,
.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  transition: color 0.3s ease;
  margin-left: 10px;
}

/* Unique hover effects */
.screenshot-btn:hover {
  color: #ffd700; /* Gold */
}

.close-btn:hover {
  color: #ff4d4d; /* Red */
}




.bill-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.bill-table td, .bill-table th {
  border: 1px solid #000;
  padding: 8px;
  text-align: left;
}
.bill-table th {
  background-color: #f2f2f2;
}
.bill-table td:nth-child(2) {
text-align: right;
}


.highlight {
  background-color: yellow;
  font-weight: bold;
  font-size: 1.2em;
}

footer {
  background: #1c1c1c;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: auto; /* Keep this */
}