body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	background: #0f172a;
	color: #e2e8f0;
	line-height: 1.6;
}

/* header */

.header {
	padding: 20px 40px;
	border-bottom: 1px solid #1e293b;
	display: flex;
	align-items: center;
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.logo {
	font-size: 18px;
	font-weight: bold;
	background: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.back {
	margin-right: 20px;
	color: #38bdf8;
	text-decoration: none;
	padding: 8px 16px;
	border-radius: 6px;
	background: rgba(56, 189, 248, 0.1);
	transition: all 0.3s;
}

.back:hover {
	background: rgba(56, 189, 248, 0.2);
	transform: translateX(-2px);
}

/* container */

.container {
	max-width: 1000px;
	margin: 40px auto;
	padding: 0 20px;
}

/* title */

.title {
	font-size: 36px;
	margin-bottom: 10px;
	font-weight: 700;
	background: linear-gradient(135deg, #f8fafc 0%, #94a3b8 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.desc {
	color: #94a3b8;
	margin-bottom: 40px;
	font-size: 16px;
}

/* input */

textarea {
	width: 100%;
	min-height: 180px;
	background: #020617;
	border: 1px solid #334155;
	border-radius: 12px;
	color: white;
	padding: 16px;
	font-size: 15px;
	font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
	transition: all 0.3s;
	resize: vertical;
	line-height: 1.6;
}

textarea:focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

input[type="text"],
input[type="number"],
input[type="url"],
input[type="email"],
input[type="password"],
select {
	width: 100%;
	padding: 14px 16px;
	background: #020617;
	border: 1px solid #334155;
	border-radius: 10px;
	color: white;
	font-size: 15px;
	transition: all 0.3s;
	box-sizing: border-box;
}

input:focus,
select:focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* buttons */

.actions {
	margin-top: 20px;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

button {
	padding: 12px 24px;
	margin-right: 0;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	font-size: 15px;
	font-weight: 500;
	transition: all 0.3s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

button:hover {
	transform: translateY(-2px);
}

button:active {
	transform: translateY(0);
}

.btn {
	background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
	color: white;
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn:hover {
	background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
	box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn2 {
	background: linear-gradient(135deg, #334155 0%, #475569 100%);
	color: white;
	box-shadow: 0 4px 12px rgba(51, 65, 85, 0.2);
}

.btn2:hover {
	background: linear-gradient(135deg, #475569 0%, #64748b 100%);
	box-shadow: 0 6px 20px rgba(51, 65, 85, 0.3);
}

/* output */

.output {
	margin-top: 40px;
}

pre {
	background: #020617;
	padding: 20px;
	border-radius: 12px;
	overflow: auto;
	border: 1px solid #334155;
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
}

/* result box */

.result-box {
	background: #1e293b;
	border-radius: 16px;
	padding: 24px;
	margin-top: 24px;
	border: 1px solid #334155;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.result-item {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #334155;
}

.result-item:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.result-label {
	color: #94a3b8;
	font-size: 14px;
	margin-bottom: 10px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.result-value {
	color: #e2e8f0;
	font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
	word-break: break-all;
	font-size: 15px;
	line-height: 1.6;
}

/* info and error */

.info {
	color: #94a3b8;
	font-size: 14px;
	margin-top: 8px;
	padding: 12px 16px;
	background: rgba(148, 163, 184, 0.1);
	border-radius: 8px;
	border-left: 3px solid #3b82f6;
}

.error {
	color: #fca5a5;
	background: #7f1d1d;
	border-radius: 10px;
	padding: 16px;
	margin-top: 16px;
	border: 1px solid #ef4444;
}

.loading {
	text-align: center;
	padding: 30px;
	color: #3b82f6;
	font-size: 15px;
}

/* input group */

.input-group {
	margin-bottom: 28px;
}

.input-group label {
	display: block;
	margin-bottom: 10px;
	color: #e2e8f0;
	font-weight: 600;
	font-size: 15px;
}

/* footer */

.footer {
	text-align: center;
	padding: 50px 40px;
	color: #64748b;
	font-size: 14px;
	border-top: 1px solid #1e293b;
	margin-top: 60px;
	background: linear-gradient(180deg, transparent 0%, rgba(30, 41, 59, 0.3) 100%);
}

.footer a {
	color: #94a3b8;
	text-decoration: none;
	transition: color 0.3s;
}

.footer a:hover {
	color: #3b82f6;
}

/* responsive */

@media (max-width: 768px) {
	.container {
		padding: 0 16px;
		margin: 24px auto;
	}
	
	.title {
		font-size: 28px;
	}
	
	.header {
		padding: 16px 20px;
	}
	
	button {
		padding: 10px 20px;
		width: 100%;
	}
	
	.result-box {
		padding: 20px;
	}
}