body {
	font-family: Arial, sans-serif;
	background-color: #f4f4f4;
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
.main-content {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding: 20px;
	width: 100%;
	box-sizing: border-box;
	flex: 1;
}
footer {
	background-color: #333;
	color: white;
	text-align: center;
	padding: 10px 0;
	width: 100%;
	box-sizing: border-box;
}
header {
	background-color: #333;
	color: white;
	padding: 10px 20px;
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 1000;
	box-sizing: border-box;
	text-align: center;
}

.logo {
	font-size: 24px;
	font-weight: bold;
}
.logo a {
	text-decoration: none;
	color: white;
}
a.eml {
	color: #000;
	font-weight: bold;
	text-decoration: none;
}
.xright {
	width: 25%;
	padding: 10px;
	box-sizing: border-box;
}

.xbox {
	background-color: #f0f0f0;
	padding: 15px;
	text-align: center;
	border-radius: 8px;
}

.container {
	width: 75%;
	max-width: 900px;
	background: #fff;
	padding: 20px;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
	border-radius: 8px;
	text-align: center;
	margin: 0 20px 0 0;
	box-sizing: border-box;
}

h1 {
	color: #333;
}
#search-form {
	display: flex;
	margin-top: 20px;
}

#search-input {
	flex-grow: 1;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px 0 0 4px;
	font-size: 16px;
	box-sizing: border-box;
}

button,.button {
	padding: 10px 20px;
	border: none;
	background-color: #5cb85c;
	color: white;
	border-radius: 0 4px 4px 0;
	cursor: pointer;
	font-size: 16px;
	box-sizing: border-box;
	text-decoration: none;
}

button:hover,.button:hover {
	background-color: #4cae4c;
}
a.lnk {
	padding: 10px 20px;
	border: none;
	background-color: #5cb85c;
	color: white;
	border-radius: 0 4px 4px 0;
	cursor: pointer;
	font-size: 16px;
	text-decoration: none;
	box-sizing: border-box;
}
a.lnk:hover {
	background-color: #4cae4c;
}
#loading {
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#loading.hidden {
	display: none;
}

.loader {
	border: 4px solid #f3f3f3;
	border-top: 4px solid #3498db;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	animation: spin 1s linear infinite;
}
.countdown{font-size:2.5em;font-weight:bold;color:#5cb85c;margin-bottom:30px;}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

#results {
	margin-top: 20px;
	text-align: left;
}

.result-item {
	padding: 10px;
	border-bottom: 1px solid #eee;
	box-sizing: border-box;
}

.result-item:last-child {
	border-bottom: none;
}
@media (max-width: 768px) {
	.main-content {
		flex-direction: column;
		align-items: center;
	}

	.xright {
		width: 100%;
		margin-top: 20px;
	}

	.container {
		width: 90%;
		margin: 0;
	}
	
	#search-form {
		flex-direction: column;
	}
	
	#search-input {
		border-radius: 4px;
		margin-bottom: 10px;
	}
	
	button,.button {
		border-radius: 4px;
		width: 100%;
	}
}