.toolcontainer {
	background   : white;
	border-radius: 20px;
	padding      : 30px;
	max-width    : 1200px;
	margin-inline: auto;
	width        : 100%;
}

/* h1 {
text-align: center;
color: #333;
margin-bottom: 10px;
font-size: 28px;
} */

.subtitle {
	text-align   : center;
	color        : #666;
	margin-bottom: 30px;
	font-size    : 14px;
}

.content {
	display              : grid;
	grid-template-columns: 1fr 400px;
	gap                  : 30px;
	align-items          : start;
}

.canvas-wrapper {
	background   : #f8f9fa;
	border-radius: 15px;
	padding      : 20px;
	box-shadow   : inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

canvas {
	display   : block;
	width     : 100%;
	height    : auto;
	cursor    : default;
	transition: cursor 0.2s;
}

canvas.draggable {
	cursor: grab;
}

canvas.dragging {
	cursor: grabbing;
}

.controls {
	display       : flex;
	flex-direction: column;
	gap           : 20px;
}

.input-group {
	display       : flex;
	flex-direction: column;
	gap           : 8px;
}

.input-row {
	display    : flex;
	align-items: center;
	gap        : 12px;
}

label {
	font-weight: 600;
	color      : #333;
	min-width  : 140px;
	font-size  : 14px;
}

input {
	flex         : 1;
	padding      : 12px 16px;
	border       : 2px solid #e0e0e0;
	border-radius: 8px;
	font-size    : 16px;
	transition   : all 0.3s;
	font-family  : 'Courier New', monospace;
}

input:not([readonly]):hover {
	border-color: #667eea;
}

input:not([readonly]):focus {
	outline     : none;
	border-color: #667eea;
	box-shadow  : 0 0 0 3px rgba(102, 126, 234, 0.1);
}

input[readonly] {
	background: #f8f9fa;
	color     : #666;
	cursor    : not-allowed;
}

.editable {
	background: white !important;
	cursor    : text !important;
}

.info-box {
	background   : linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color        : white;
	padding      : 20px;
	border-radius: 12px;
	margin-top   : 10px;
}

.info-box h3 {
	margin-bottom: 10px;
	font-size    : 16px;
}

.info-box p {
	font-size  : 13px;
	line-height: 1.6;
	opacity    : 0.95;
}

.info-box ul {
	margin-top : 10px;
	margin-left: 20px;
	font-size  : 13px;
	line-height: 1.8;
}

.reset-btn {
	background   : linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color        : white;
	border       : none;
	padding      : 14px 28px;
	border-radius: 8px;
	font-size    : 15px;
	font-weight  : 600;
	cursor       : pointer;
	transition   : all 0.3s;
	box-shadow   : 0 4px 15px rgba(102, 126, 234, 0.3);
}

.reset-btn:hover {
	transform : translateY(-2px);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.reset-btn:active {
	transform: translateY(0);
}

@media (max-width: 968px) {
	.content {
		grid-template-columns: 1fr;
	}

	.controls {
		order: -1;
	}
}

@media (max-width: 600px) {
	.container {
		padding: 20px;
	}

	h1 {
		font-size: 22px;
	}

	.input-row {
		flex-direction: column;
		align-items   : stretch;
	}

	label {
		min-width: auto;
	}
}