.toolcontainer {
	padding-top: 1rem;
	max-width            : 95%;
	margin               : 0 auto;
	display              : grid;
	grid-template-columns: 1fr 400px;
	gap                  : 20px;
	align-items          : start;
}

h1.bibi {
	display: block;
	text-align: center;
}

.preview-section {
	background   : white;
	border-radius: 10px;
	padding      : 40px;
	box-shadow   : 0 10px 30px rgba(0, 0, 0, 0.15);
}

.preview-container {
	min-height     : 500px;
	border-radius  : 12px;
	display        : flex;
	align-items    : center;
	justify-content: center;
	transition     : background-color 0.3s;
	position       : relative;
}

.target-element {
	transition: all 0.3s;
}

.controls-section {
	background   : white;
	border-radius: 10px;
	padding      : 25px;
	box-shadow   :  0 10px 30px rgba(0, 0, 0, 0.15);
	max-height   : calc(100vh - 40px);
	overflow-y   : auto;
}

h2 {
	color        : #2d3748;
	margin-bottom: 15px;
	font-weight  : 600;
	display      : flex;
	align-items  : center;
	gap          : 8px;
}

.section {
	margin-bottom : 25px;
	padding-bottom: 25px;
	border-bottom : 2px solid #e2e8f0;
}

.section:last-child {
	border-bottom: none;
}

.control-group {
	margin-bottom: 15px;
}

label {
	display      : block;
	color        : #4a5568;
	font-size    : 14px;
	font-weight  : 500;
	margin-bottom: 6px;
}

input[type="number"],
input[type="color"],
select {
	width        : 100%;
	padding      : 8px 12px;
	border       : 2px solid #e2e8f0;
	border-radius: 8px;
	font-size    : 14px;
	transition   : border-color 0.2s;
}

input[type="number"]:focus,
select:focus {
	outline     : none;
	border-color: #667eea;
}

input[type="color"] {
	height: 45px;
	cursor: pointer;
}

.shape-selector {
	display              : grid;
	grid-template-columns: repeat(2, 1fr);
	gap                  : 10px;
}

.shape-btn {
	padding      : 12px;
	border       : 2px solid #e2e8f0;
	background   : white;
	border-radius: 8px;
	cursor       : pointer;
	transition   : all 0.2s;
	font-size    : 14px;
	font-weight  : 500;
	color        : #4a5568;
}

.shape-btn:hover {
	border-color: #667eea;
	background  : #f7fafc;
}

.shape-btn.active {
	background  : #667eea;
	color       : white;
	border-color: #667eea;
}

.radius-presets {
	display              : grid;
	grid-template-columns: repeat(3, 1fr);
	gap                  : 8px;
	margin-top           : 8px;
}

.radius-btn {
	padding      : 8px;
	border       : 2px solid #e2e8f0;
	background   : white;
	border-radius: 6px;
	cursor       : pointer;
	font-size    : 12px;
	font-weight  : 500;
	color        : #4a5568;
	transition   : all 0.2s;
}

.radius-btn:hover {
	border-color: #667eea;
	background  : #f7fafc;
}

.radius-btn.active {
	background  : #667eea;
	color       : white;
	border-color: #667eea;
}

.shadow-item {
	background   : #f7fafc;
	padding      : 15px;
	border-radius: 8px;
	margin-bottom: 12px;
	border       : 2px solid #e2e8f0;
}

.shadow-header {
	display        : flex;
	justify-content: space-between;
	align-items    : center;
	margin-bottom  : 12px;
}

.shadow-title {
	font-weight: 600;
	color      : #2d3748;
	font-size  : 14px;
}

.shadow-controls {
	display              : grid;
	grid-template-columns: 1fr 1fr;
	gap                  : 10px;
}

.shadow-controls .control-group {
	margin-bottom: 0;
}

.shadow-controls label {
	font-size: 12px;
}

.shadow-controls input {
	padding  : 6px 10px;
	font-size: 13px;
}

.btn {
	padding      : 10px 16px;
	border       : none;
	border-radius: 8px;
	cursor       : pointer;
	font-size    : 14px;
	font-weight  : 600;
	transition   : all 0.2s;
}

.btn-primary {
	background: #667eea;
	color     : white;
}

.btn-primary:hover {
	background: #5568d3;
	transform : translateY(-1px);
}

.btn-danger {
	background: #f56565;
	color     : white;
}

.btn-danger:hover {
	background: #e53e3e;
}

.btn-small {
	padding  : 6px 12px;
	font-size: 12px;
}

.add-shadow-btn {
	width     : 100%;
	margin-top: 10px;
}

.checkbox-group {
	display    : flex;
	align-items: center;
	gap        : 8px;
	margin-top : 8px;
}

.checkbox-group input[type="checkbox"] {
	width : auto;
	cursor: pointer;
}

.checkbox-group label {
	margin-bottom: 0;
	cursor       : pointer;
}

.code-section {
	background   : #f7fafc;
	padding      : 20px;
	border-radius: 12px;
	margin-top   : 20px;
}

.code-header {
	display        : flex;
	justify-content: space-between;
	align-items    : center;
	margin-bottom  : 12px;
}

.code-title {
	font-weight: 600;
	color      : #2d3748;
	font-size  : 14px;
}

.code-output {
	background   : #2d3748;
	color        : #68d391;
	padding      : 15px;
	border-radius: 8px;
	font-family  : 'Courier New', monospace;
	font-size    : 13px;
	line-height  : 1.6;
	overflow-x   : auto;
	white-space  : pre-wrap;
	word-break   : break-all;
}

.copy-notification {
	position     : fixed;
	top          : 20px;
	right        : 20px;
	background   : #48bb78;
	color        : white;
	padding      : 12px 20px;
	border-radius: 8px;
	box-shadow   : 0 10px 30px rgba(0, 0, 0, 0.2);
	opacity      : 0;
	transform    : translateY(-20px);
	transition   : all 0.3s;
	z-index      : 1000;
}

.copy-notification.show {
	opacity  : 1;
	transform: translateY(0);
}

.color-row {
	display              : grid;
	grid-template-columns: 1fr 100px;
	gap                  : 10px;
	align-items          : end;
}

@media (max-width: 1200px) {
	.container {
		grid-template-columns: 1fr;
	}

	.controls-section {
		max-height: none;
	}
}

::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background   : #f1f1f1;
	border-radius: 10px;
}

::-webkit-scrollbar-thumb {
	background   : #cbd5e0;
	border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
	background: #a0aec0;
}