body {
	background-color: #0a0e14;
	color: #cccccc;
	font-family: 'Roboto Mono', monospace;
	margin: 0;
	padding: 0;
	line-height: 1.6;
}

h1,
h2,
h3 {
	color: #00ff00;
	text-shadow: 0 0 5px rgba(0, 255, 0, 0.7);
}

h1 {
	font-size: 2.5em;
	margin-bottom: 20px;
	border-bottom: 1px solid #00ff00;
	padding-bottom: 10px;
}

.container {
	max-width: 900px;
	margin: 0 auto;
	padding: 20px;
}

.info-panel {
	background-color: #141b23;
	padding: 20px;
	border-radius: 5px;
	margin: 20px 0;
	border-left: 3px solid #00ff00;
	box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

.info-panel p {
	margin-bottom: 10px;
}

.info-panel ul {
	margin-left: 20px;
}

.highlight {
	color: #00ff00;
	font-weight: bold;
}

.error-highlight {
	color: #ff3333;
	font-weight: bold;
}

.normal-highlight {
	color: #aaaaaa;
	font-weight: bold;
}

.hex-display-container {
	text-align: center;
	margin: 30px 0;
	padding: 20px;
	background-color: #141b23;
	border-radius: 5px;
	box-shadow: 0 0 15px rgba(0, 255, 0, 0.1);
}

.hex-display {
	font-size: 2.5em;
	padding: 15px;
	background-color: #0a0e14;
	border: 2px solid #00ff00;
	display: inline-block;
	border-radius: 5px;
	margin: 15px 0;
	letter-spacing: 2px;
	box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.hex-part {
	display: inline-block;
}

.error-part {
	color: #ff3333;
	padding-right: 5px;
}

.count-part {
	color: #aaaaaa;
}

.hex-explanation {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 10px;
}

.error-box,
.count-box {
	display: inline-block;
	width: 15px;
	height: 15px;
	margin-right: 5px;
	vertical-align: middle;
}

.error-box {
	background-color: #ff3333;
}

.count-box {
	background-color: #aaaaaa;
}

.calculator {
	background-color: #141b23;
	padding: 25px;
	border-radius: 5px;
	margin: 30px 0;
	box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

.input-group {
	margin-bottom: 20px;
}

.input-group label {
	display: block;
	margin-bottom: 8px;
	color: #00ff00;
}

.format-hint {
	font-size: 0.8em;
	color: #aaaaaa;
	margin-top: 5px;
	margin-bottom: 10px;
	font-style: italic;
}

.mono-text {
	font-family: 'Roboto Mono', monospace;
	padding: 2px 4px;
	background-color: #0a0e14;
	border-radius: 3px;
}

.calculator input {
	padding: 12px;
	border: 1px solid #00ff00;
	background-color: #0a0e14;
	color: #ffffff;
	border-radius: 3px;
	width: 100%;
	box-sizing: border-box;
	transition: all 0.3s ease;
}

.calculator input:focus {
	outline: none;
	box-shadow: 0 0 5px rgba(0, 255, 0, 0.8);
	border-color: #00cc00;
}

.calculator button {
	padding: 12px 20px;
	background-color: #00ff00;
	border: none;
	color: #000000;
	border-radius: 3px;
	cursor: pointer;
	font-weight: bold;
	transition: all 0.3s ease;
	min-width: 100px;
}

.calculator button:hover {
	background-color: #00cc00;
	box-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
	transform: translateY(-2px);
}

.result-container {
	margin-top: 20px;
	padding: 15px;
	background-color: #0a0e14;
	border-radius: 5px;
	border: 1px solid #333;
}

.decoded-hex {
	text-align: center;
	margin-bottom: 15px;
}

.decoded-display {
	font-size: 2em;
	padding: 10px;
	background-color: #000000;
	display: inline-block;
	border-radius: 3px;
	letter-spacing: 2px;
}

.interpretation {
	padding: 10px;
}

.format-info {
	margin-top: 10px;
	padding: 8px;
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: 3px;
	font-size: 0.9em;
}

.health-status {
	padding: 10px;
	margin-top: 10px;
	border-radius: 3px;
	font-weight: bold;
	text-align: center;
}

.status-good {
	background-color: rgba(0, 255, 0, 0.2);
	color: #00ff00;
	border: 1px solid #00ff00;
}

.status-warning {
	background-color: rgba(255, 165, 0, 0.2);
	color: #ffa500;
	border: 1px solid #ffa500;
}

.status-bad {
	background-color: rgba(255, 0, 0, 0.2);
	color: #ff0000;
	border: 1px solid #ff0000;
}

.hidden {
	display: none;
}

.instructions {
	margin-top: 30px;
}

.attribute-card {
	background-color: #141b23;
	padding: 20px;
	border-radius: 5px;
	margin-bottom: 20px;
	border-left: 3px solid #00ff00;
	transition: transform 0.3s ease;
}

.attribute-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0, 255, 0, 0.2);
}

.attribute-card h3 {
	margin-top: 0;
	border-bottom: 1px solid rgba(0, 255, 0, 0.3);
	padding-bottom: 8px;
}

footer {
	margin-top: 50px;
	text-align: center;
	padding: 20px;
	border-top: 1px solid #333;
	color: #666;
}

footer a {
	color: #00ff00;
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

.input-with-button {
	display: flex;
	gap: 10px;
	margin-bottom: 5px;
}

.input-with-button input {
	flex: 1;
}

.input-with-button button {
	white-space: nowrap;
}

@media (max-width: 600px) {
	.hex-display {
		font-size: 1.8em;
	}

	.input-with-button {
		flex-direction: column;
	}

	.input-with-button button {
		width: 100%;
		margin-top: 10px;
	}
}

.sources-section {
	margin-top: 40px;
	border-top: 1px dashed rgba(0, 255, 0, 0.3);
	padding-top: 15px;
	font-size: 0.85em;
}

.sources-section h3 {
	font-size: 1.1em;
	margin-bottom: 10px;
	opacity: 0.9;
}

.sources-section ul {
	list-style-type: none;
	padding-left: 0;
	margin-left: 0;
}

.sources-section li {
	margin-bottom: 5px;
}

.sources-section a {
	color: #00cc00;
	text-decoration: none;
	opacity: 0.8;
	transition: all 0.2s ease;
}

.sources-section a:hover {
	opacity: 1;
	text-decoration: underline;
}