body {
	margin: 0;
	background: #f0f0f0;
	font-family: "Segoe UI", Arial;
}

.topbar {
	display: flex;
	justify-content: center;
	padding: 10px;
	background: #285078;
}

.search-box {
	display: flex;
	align-items: center;
	gap: 10px;
}

.search-box input {
	padding: 10px;
	width: 200px;
	border-radius: 4px;
	border: none;
	text-transform: uppercase;
}

.search-box button {
	padding: 10px 15px;
	background: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	color: #000;
}

.search-box button i {
	color: #646464;
}

.ticket {
	display: flex;
	margin: 40px auto;
	max-width: 700px;
	width: 90%;
	background: white;
	border-radius: 10px;
	box-shadow: 0 10px 25px rgba(0,0,0,0.1);
	overflow: hidden;
}

.ticket-left {
	padding: 20px;
	flex: 3;
}

.ticket h3 {
	margin-top: 0;
}

.row {
	display: flex;
	margin: 8px 0;
	justify-content: space-between;
}

.label {
	color: #646464;
}

.value {
	font-size: 16px;
}

.ticket-right {
	display: flex;	
	padding: 20px;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	background: #6496c8;
	color: #fafafa;
	text-align: center;
}

.print-area {
	margin-bottom: 40px;
	text-align: center;
}

.print-btn {
	padding: 12px 20px;
	background: white;
	border-radius: 4px;
	color: #000;
	text-decoration: none;
}

.error {
	margin-top: 20px;
	color: red;
	text-align: center;
}

@media print {
	body {
		background: white;
	}

	.topbar, .print-area {
		display: none;
	}
}

@media (max-width: 768px) {
	.search-box {
		flex-direction: column;
		gap: 10px;
	}

	.search-box input {
		width: 100%;
	}

	.search-box button {
		width: 100%;
	}

	.ticket {
		width: 90%;
		flex-direction: column;
	}

	.ticket-left, .ticket-right {
		padding: 15px;
		text-align: center;
	}

	.ticket-right {
		border-left: none;
		border-top: 2px dashed #b4b4b4;
	}

	.row {
		align-items: center;
		flex-direction: column;
	}

	.label {
		font-size: 12px;
	}

	.value {
		margin-bottom: 5px;
		font-size: 16px;
	}
}