#rightpart {
	/* background     : linear-gradient(135deg, #ececec 0%, #e1e1e1 100%); */
	background     : linear-gradient(135deg, #efefef 0%, #ececec 100%);
	min-height     : 100vh;
	display        : flex;
	align-items    : center;
	justify-content: center;
	padding        : 20px;
}

#toolwrap {
	background   : white;
	border-radius: 20px;
	padding      : 40px;
	max-width    : 680px;
	width        : 100%;
	box-shadow   : 0 5px 20px rgba(0, 0, 0, 0.3);
}

h1 {
	text-align   : center;
	color        : #333;
	margin-bottom: 30px;
	font-size    : 28px;

	small {
		font-weight: 400;
	}
}

.color-preview {
	width        : 100%;
	height       : 120px;
	border-radius: 12px;
	margin-bottom: 30px;
	border       : 3px solid #e0e0e0;
	transition   : all 0.3s ease;
}

.input-group {
	margin-bottom: 25px;
}

label {
	display      : block;
	margin-bottom: 8px;
	color        : #555;
	font-weight  : 600;
	font-size    : 14px;
}

input[type="text"],
input[type="color"] {
	width        : 100%;
	padding      : 12px;
	border       : 2px solid #e0e0e0;
	border-radius: 8px;
	font-size    : 16px;
	transition   : border-color 0.3s;
}

input[type="text"]:focus,
input[type="color"]:focus {
	outline     : none;
	border-color: #667eea;
}

input[type="color"] {
	height: 50px;
	cursor: pointer;
}

.slider-group {
	margin-bottom: 20px;
}

.slider-label {
	display        : flex;
	justify-content: space-between;
	margin-bottom  : 8px;
	color          : #555;
	font-size      : 14px;
}

input[type="range"] {
	width             : 100%;
	height            : 8px;
	border-radius     : 5px;
	background        : #e0e0e0;
	outline           : none;
	-webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance        : none;
	width             : 20px;
	height            : 20px;
	border-radius     : 50%;
	background        : #667eea;
	cursor            : pointer;
	transition        : all 0.3s;
}

input[type="range"]::-webkit-slider-thumb:hover {
	background: #764ba2;
	transform : scale(1.2);
}

input[type="range"]::-moz-range-thumb {
	width        : 20px;
	height       : 20px;
	border-radius: 50%;
	background   : #667eea;
	cursor       : pointer;
	border       : none;
}

.output-group {
	background   : #f8f9fa;
	padding      : 15px;
	border-radius: 8px;
	margin-top   : 25px;
}

.output-label {
	font-weight  : 600;
	color        : #555;
	margin-bottom: 8px;
	font-size    : 14px;
}

.output-value {
	font-family  : 'Courier New', monospace;
	background   : white;
	padding      : 12px;
	border-radius: 6px;
	border       : 2px solid #e0e0e0;
	word-break   : break-all;
	position     : relative;
	cursor       : pointer;
	transition   : background 0.3s;
}

.output-value:hover {
	background: #f0f0f0;
}

.copy-hint {
	font-size : 11px;
	color     : #999;
	margin-top: 4px;
	font-style: italic;
}

.copied-message {
	position      : fixed;
	top           : 20px;
	right         : 20px;
	background    : #4caf50;
	color         : white;
	padding       : 12px 20px;
	border-radius : 8px;
	box-shadow    : 0 4px 12px rgba(0, 0, 0, 0.2);
	opacity       : 0;
	transform     : translateY(-20px);
	transition    : all 0.3s;
	pointer-events: none;
}

.copied-message.show {
	opacity  : 1;
	transform: translateY(0);
}

.tabs {
	display      : flex;
	gap          : 10px;
	margin-bottom: 25px;
	border-bottom: 2px solid #e0e0e0;
}

.tab {
	padding      : 12px 24px;
	background   : transparent;
	border       : none;
	cursor       : pointer;
	font-size    : 15px;
	font-weight  : 600;
	color        : #999;
	transition   : all 0.3s;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
}

.tab:hover {
	color: #667eea;
}

.tab.active {
	color              : #667eea;
	border-bottom-color: #667eea;
}

.tab-content {
	display: none;
}

.tab-content.active {
	display: block;
}