body {
    background-color: #f2f2f2;
    font-family: Arial, sans-serif;
    background-image: url('bg.jpeg');
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }

  .container1 {
    max-width: 600px;
    width: 100%; /* Ensures responsiveness */
    padding: 20px;
    background-color: white;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
  }

  .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    /* No need for min-height here */
  }

  img {
    margin: 0;
    padding: 0;
    max-width: 100%; /* Ensure the image doesn't exceed its container */
  }
  
h1 {
	color: rgb(29, 29, 102);
	text-align: center;
	margin-top: 0;
}

form {
	display: grid;
	grid-gap: 20px;
	grid-template-columns: 1fr 1fr;
	margin-top: 20px;
}

label {
	font-weight: bold;
	color: rgb(29, 29, 102);
}

input[type="text"],
select,
input[type="tel"] {
	padding: 10px;
	border-radius: 5px;
	border: 1px solid #ccc;
	font-size: 16px;
	width: 100%;
	box-sizing: border-box;
	background-color: #f2f2f2;
}

select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath fill='%23B5B5B5' d='M4 4.5l-4-4-1 1.1 4 4 4-4 1 1.1z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 8px 10px;
	padding-right: 30px;
}

button[type="submit"] {
	background-color: rgb(29, 29, 102);
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	font-size: 16px;
	cursor: pointer;
}

button[type="submit"]:hover {
	background-color: #d60000;
}

@media (max-width: 768px) {
	form {
		grid-template-columns: 1fr;
	}
}

.popup {
	position: fixed;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	top: 0;
	left: 0;
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
	visibility: hidden;
	opacity: 0;
	transition: 0.3s;
}

.popup.active {
	visibility: visible;
	opacity: 1;
}

.popup-container {
	width: 400px;
	padding: 20px;
	background: #fff;
	box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.2);
	border-radius: 5px;
	position: relative;
}

.popup-container h3 {
	margin: 0;
	font-size: 20px;
	color: #00dbde;
	text-align: center;
	padding-bottom: 10px;
}

.popup-container p {
	margin: 0;
	font-size: 16px;
	color: #333;
	text-align: center;
}

.popup-container .pay-now-btn {
	display: block;
	margin: 20px auto 0;
	padding: 10px 20px;
	background-color: #00dbde;
	color: #fff;
	text-align: center;
	text-decoration: none;
	border-radius: 5px;
}

.popup-container .close-btn {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 20px;
	height: 20px;
	background: #00dbde;
	border-radius: 50%;
	font-size: 12px;
	line-height: 20px;
	color: #fff;
	text-align: center;
	cursor: pointer;
}

span {
	color: red;
	font-weight: bold;
}

.popup {
	position: fixed;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	top: 0;
	left: 0;
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
	visibility: hidden;
	opacity: 0;
	transition: 0.3s;
}

.popup.active {
	visibility: visible;
	opacity: 1;
}

.popup-container {
	width: 400px;
	padding: 20px;
	background: #fff;
	box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.2);
	border-radius: 5px;
	position: relative;
}

.popup-container h3 {
	margin: 0;
	font-size: 20px;
	color: #00dbde;
	text-align: center;
	padding-bottom: 10px;
}

.popup-container p {
	margin: 0;
	font-size: 16px;
	color: #333;
	text-align: center;
}

.popup-container .pay-now-btn {
	display: block;
	margin: 20px auto 0;
	padding: 10px 20px;
	background-color: #00dbde;
	color: #fff;
	text-align: center;
	text-decoration: none;
	border-radius: 5px;
}

.popup-container .close-btn {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 20px;
	height: 20px;
	background: #00dbde;
	border-radius: 50%;
	font-size: 12px;
	line-height: 20px;
	color: #fff;
	text-align: center;
	cursor: pointer;
}

span {
	color: red;
	font-weight: bold;
}

.popup-overlay1 {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	overflow-y: scroll;
}

.popup1 {
	background-color: white;
	padding: 20px;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	max-width: 500px;
	text-align: center;
	height: 90%;
	width: 90%;
	overflow-y: auto;
}

.popup1 h2 {
	margin-top: 0;
}

.accept-btn {
	background-color: green;
	color: white;
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

/*p{
  text-align: left;
}
@media only screen and (max-width: 767px) {
   .content form .user-details{
      max-height: 70vh;
      overflow-y: scroll;
   }
}
*/

.custom-popup-container {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 9999;
	justify-content: center;
	align-items: center;
}

.custom-popup-content {
	background-color: #fff;
	padding: 20px;
	border-radius: 5px;
	text-align: center;
}

.custom-popup-content h2 {
	font-size: 24px;
	margin-bottom: 10px;
}

.custom-popup-content input {
	width: 100%;
	padding: 10px;
	margin-bottom: 10px;
	border: 1px solid #ccc;
	border-radius: 3px;
	font-size: 16px;
}

.custom-popup-content button {
	padding: 10px 20px;
	background-color: #007bff;
	color: #fff;
	border: none;
	border-radius: 3px;
	font-size: 16px;
	cursor: pointer;
}