body {
  background: url('img/bg1.jpg') no-repeat center center fixed;
  background-size: cover;
  background-color: #fff; /* fallback */
}
/* Create transparent overlay over background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.6); /* white with 60% opacity */
  z-index: -1; /* behind all content */
}
    header {
      background-color: #002B80;
      color: white;
      padding: 30px 0;
      text-align: center;
      font-size: 1.8rem;
      font-weight: bold;
    }
	/*
    .table-container {
      margin: 40px auto;
      max-width: 1000px;
      background: #fff;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    }*/
	.table-container {
	  margin: 40px auto;
	  max-width: 1000px;
	  background: rgba(255, 255, 255, 0.92);
	  padding: 20px;
	  border-radius: 10px;
	  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
	}
	
	/* --- Responsive Fixes for regform.php --- */

.table-container table {
  width: 100%;
  border-collapse: collapse;
}

.table-container td {
  padding: 6px 8px;
  vertical-align: middle;
}

.table-container td:first-child {
  width: 35%;
  white-space: nowrap;
  font-weight: 500;
}

.table-container td:last-child {
  width: 65%;
}

/* Mobile view optimization */
@media (max-width: 768px) {
  .table-container {
    padding: 12px;
    box-shadow: none;
    border-radius: 6px;
  }

  .table-container table,
  .table-container tr,
  .table-container td {
    display: block;
    width: 100%;
  }

  .table-container td {
    padding: 8px 4px;
  }

  .table-container td:first-child {
    font-weight: 600;
    margin-top: 8px;
  }

  .table-container input,
  .table-container select,
  .table-container textarea {
    width: 100% !important;
  }

  /* Optional: reduce form element spacing */
  .table-container .form-control,
  .table-container .form-select {
    min-height: 32px;
    font-size: 14px;
  }
}

	.table td select,
	.table td input,
	.table td textarea {
	  width: 100% !important;
	  box-sizing: border-box;
	}
	
	
    .modal-xl { max-width: 95% !important; }
    .modal-body {
      height: 80vh;
      display: flex;
      justify-content: center;
      align-items: center;
      background: #f8f9fa;
    }
    #cropImage {
      max-width: 100%;
      height: auto;
      display: block;
    }
	#previewBox {
      width: 132px;
      height: 170px;
      border: 2px solid #ccc;
      border-radius: 5px;
      overflow: hidden;
      margin: 0 auto;
    }
	/* ✅ Limit dropdown height and enable scroll */
	select.dropdown-scroll option {
	  padding: 4px 8px;
	}

	select.dropdown-scroll {
	  max-height: 150px;
	  overflow-y: auto;
	}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 25px !important;
	font-size: .875rem;
}