/* General Styles */
body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	background-color: #f4f4f4;
}

h1, h2, h3 {
	text-align: center;
	color: #333;
}

.content {
	max-width: 800px;
	margin: 20px auto;
	padding: 15px;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#blockmsg {
	color: red;
}

.submit-wrapper {
	width: 100%;
	margin-bottom: 15px;
}

.tooltip-icon {
	font-size: 15px;
	cursor: pointer;
	color: gray;
	margin-left: 4px;
	vertical-align: middle;
	display: inline-block; /* Ensures proper alignment */
}

.tooltip-close {
	position: absolute;
	left: 50%;
	top: 20px;
	transform: translateX(-50%);
	font-size: 20pt;
	cursor: pointer;
	color: red;
	background-color: gray;
	margin-left: 4px;
	vertical-align: middle;
}

#tooltip {
	position: fixed;
	top: 10%;
	left: 50%;
	white-space: nowrap;
	z-index: 10;
	background-color: #eeeee4;
}

#tooltip img {
	height: auto;
	display: block;
}

input[type="text"], input[type="number"] {
	max-width: 100%;
	padding: 8px;
	margin: 5px 0;
	border: 1px solid #ccc;
	border-radius: 4px;
}

button {
	width: 100%;
	padding: 10px;
	background-color: #007BFF;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: not-allowed;
}

button:enabled {
	background-color: #007BFF;
	cursor: pointer;
}

input:disabled, button:disabled {
	background-color: #e0e0e0;  /* Light gray background */
	color: #a0a0a0;  /* Gray text color */
	cursor: not-allowed;  /* Not-allowed cursor */
	opacity: 0.7;  /* Slight transparency */
	border: 1px solid #c0c0c0;  /* Light gray border */
}

@media only screen and (min-width: 601px) {
	#tooltip {
		transform: translateX(-50%);
	}
	
	#tooltip img {
		max-width: 400px; /* Adjust size as needed */
	}
}
/* Mobile Styles */
@media only screen and (max-width: 600px) {
	
	#tooltip img {
		width: 100%;
		max-width: 100%;
		max-height: 100%;
	}
	
	#tooltip {
		width: 90%;
		border-radius: 10px;
		left: 5%;
	}

	input[type="text"] {
		max-width: 300pt;
	}
	
	input[type="number"] {
		max-width: 40pt;
	}
	
	.tooltip-icon {
		font-size: 16px; /* Make it more visible on small screens */
		margin-left: 6px; /* More spacing to avoid crowding */
	}
	
	.tooltip-close {
		font-size: 15pt;
		top: -20px;
	}
}