.form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.address-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

form input,
form select {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}
  /* Add gap after each label and input/select */
  #pancard-form label,
  #pancard-form input,
  #pancard-form select,
  #pancard-form .form-group {
    margin-bottom: 10px;
    display: block;
  }

  #pancard-form .form-group input {
    margin-right: 10px;
    margin-bottom: 10px;
  }

  #pancard-form .form-group {
    margin-bottom: 15px;
  }

  /* To make checkboxes more spaced */
  #pancard-form .income-group label {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 5px;
  }

  /* Adjust full address fields */
  #pancard-form .form-group input[type="text"] {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }

  /* For select inside form-group */
  #pancard-form .form-group select {
    display: block;
    width: 100%;
  }

  .payment-section {
    margin: 20px 0;
    padding: 15px;
    background-color: #f1f1f1;
    border-radius: 8px;
    text-align: center;
  }

  .payment-amount {
    font-size: 1.5rem;
    color: green;
    font-weight: bold;
  }
 

input[type="text"] {
  text-transform: uppercase;
}
#pancard-form button {
  margin-top: 15px;
  padding: 10px;
  font-size: 16px;
  border-radius: 6px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
}

#pancard-form button:hover {
  background-color: #0056b3;
}


#submitBtn {
  background-color: #28a745; /* Green */
  color: white;
}

#submitBtn:hover {
  background-color: #218838;
}

#pancard-form button[onclick="backToServices()"] {
  background-color: #6c757d; /* Grey */
  color: white;
}

#pancard-form button[onclick="backToServices()"]:hover {
  background-color: #5a6268;
}
#payment-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

#payment-form input {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}

#payment-form button {
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  background-color: #28a745;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#payment-form button:hover {
  background-color: #218838;
}


/* PAN Card History Table Styling */
#panHistoryTable {
  width: 100%;
  overflow-x: auto;
}

#panHistoryTable table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

#panHistoryTable th,
#panHistoryTable td {
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
  text-align: left;
  white-space: nowrap;
}

#panHistoryTable th {
  background-color: #f2f2f2;
}

/* Button Styles */
#panHistoryTable button {
  margin: 2px;
  padding: 5px 10px;
  font-size: 13px;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  background-color: #007bff;
  color: white;
}

#panHistoryTable button:hover {
  background-color: #0056b3;
}

/* Mobile Responsive */
@media screen and (max-width: 600px) {
  #panHistoryTable th,
  #panHistoryTable td {
    font-size: 12px;
    padding: 6px;
  }

  #panHistoryTable button {
    font-size: 12px;
    padding: 4px 8px;
  }
}
.back-button {
  background-color: #007BFF;
  color: white;
  padding: 10px 20px;
  margin-top: 20px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.back-button:hover {
  background-color: #0056b3;
  transform: scale(1.03);
}

.back-button:active {
  transform: scale(0.98);
}
.back-button {
  background-color: #007BFF;
  color: white;
  padding: 10px 20px;
  margin-top: 20px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.back-button:hover {
  background-color: #0056b3;
  transform: scale(1.03);
}

body {
  margin: 0;
  padding: 0;
  background: #f7f7f7;
  overflow-x: hidden;
}






  
.section input,
.section select {
  width: 100%;
  padding: 10px;
  margin: 6px 0 15px 0;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.dashboard-container {
  padding-bottom: 60px; /* or more if needed */
}


  .btn-submit {
    background-color: #28a745 !important;  /* ✅ Green */
    color: white !important;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
  }

  .btn-submit:hover {
    background-color: #218838 !important;
  }

  .btn-back {
    background-color: #cccccc !important;  /* ✅ Light Gray */
    color: #000 !important;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
  }

  .btn-back:hover {
    background-color: #bbb !important;
  }

.section {
  padding: 15px;              /* Left & right margin */
  padding-bottom: 80px;       /* So bottom nav को overlap न करे */
  box-sizing: border-box;     /* So width सही से adjust हो */
}

@media print {
  body * {
    visibility: hidden !important;
  }

  #receiptSection,
  #receiptSection * {
    visibility: visible !important;
  }

  #receiptSection {
    position: absolute !important;
    top: 0;
    left: 0;
    transform: none !important;
    width: 210mm !important;
    height: 297mm !important;
    padding: 20mm !important;
    background: white !important;
    overflow: hidden !important;
    z-index: 9999 !important;
  }

  #receiptContent {
    width: 100% !important;
    height: auto !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #receiptSection button {
    display: none !important;
  }

  @page {
    size: A4 portrait;
    margin: 0;
  }

  html, body {
    margin: 0;
    padding: 0;
    height: auto;
  }
}

 /* recharge histry */
.table-container {
  overflow-x: auto;
  width: 100%;
  margin-top: 10px;
}

.responsive-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  font-size: 14px;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.responsive-table thead {
  background-color: #007bff;
  color: white;
}

.responsive-table th,
.responsive-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.responsive-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.responsive-table tbody tr:hover {
  background-color: #f1f1f1;
}
.responsive-table td.status {
  font-weight: bold;
  color: white;
  background-color: #ffc107; /* yellow for pending */
  border-radius: 4px;
  padding: 5px;
}

