* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	min-height: 100vh;
	padding: 20px;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	background: white;
	border-radius: 15px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.header {
	background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
	color: white;
	padding: 30px;
	text-align: center;
}

.header h1 {
	font-size: 2.5rem;
	margin-bottom: 10px;
}

.header p {
	font-size: 1.1rem;
	opacity: 0.9;
}

.content {
	padding: 40px;
}

.form-group {
	margin-bottom: 25px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 12px 15px;
	border: 2px solid #e1e5e9;
	border-radius: 8px;
	font-size: 16px;
	transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #4facfe;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.btn {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border: none;
	padding: 15px 30px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s ease;
	margin-right: 10px;
	margin-bottom: 10px;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.btn-secondary {
	background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
	color: #333;
}

.result {
	margin-top: 30px;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
	border-left: 4px solid #4facfe;
}

.result h3 {
	color: #333;
	margin-bottom: 15px;
}

.result pre {
	background: #2d3748;
	color: #e2e8f0;
	padding: 20px;
	border-radius: 8px;
	overflow-x: auto;
	font-size: 14px;
	line-height: 1.5;
}

.loading {
	display: none;
	text-align: center;
	padding: 20px;
}

.spinner {
	border: 4px solid #f3f3f3;
	border-top: 4px solid #4facfe;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
	margin: 0 auto 10px;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.error {
	background: #fee;
	border-left-color: #e53e3e;
	color: #c53030;
}

.success {
	background: #f0fff4;
	border-left-color: #38a169;
}

.tabs {
	display: flex;
	margin-bottom: 20px;
	border-bottom: 2px solid #e1e5e9;
}

.tab {
	padding: 10px 20px;
	cursor: pointer;
	border-bottom: 2px solid transparent;
	transition: all 0.3s ease;
}

.tab.active {
	border-bottom-color: #4facfe;
	color: #4facfe;
	font-weight: 600;
}

.tab-content {
	display: none;
}

.tab-content.active {
	display: block;
}

.stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}

.stat-card {
	background: white;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	text-align: center;
}

.stat-number {
	font-size: 2rem;
	font-weight: bold;
	color: #4facfe;
}

.stat-label {
	color: #666;
	margin-top: 5px;
}
