
body {
	font-family: Arial, sans-serif;
	padding: 20px;
	background: #f7f7f7;
}

h1 {
	color: #333;
	text-align: center;
}

input, textarea, button {
	display: block;
	margin: 10px auto;
	font-size: 1rem;
	border-radius: 6px;
	border: 1px solid #ccc;
	padding: 8px;
	width: 90%;
	max-width: 500px;
}

button {
	background: #0078d4;
	color: #fff;
	border: none;
	cursor: pointer;
	transition: background 0.2s;
}
button:disabled {
	background: #aaa;
	cursor: not-allowed;
}
button:hover:not(:disabled) {
	background: #005fa3;
}

textarea {
	height: 80px;
}

#questionSection {
	margin-top: 20px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.07);
	padding: 20px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

#timer {
	font-size: 1.2rem;
	color: #0078d4;
	margin-bottom: 10px;
	text-align: right;
}

#loadingModal {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.2);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}
.spinner {
	border: 6px solid #eee;
	border-top: 6px solid #0078d4;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
	margin-bottom: 16px;
}
@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

#infoBox {
	display: none;
	background: #ffe0e0;
	color: #a00;
	border: 1px solid #f99;
	border-radius: 6px;
	padding: 12px;
	margin: 20px auto;
	max-width: 500px;
	text-align: center;
	font-weight: bold;
}
