* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Arial", "sans-serif";
}

html {
	background: white;
	font-weight: 500;
	min-height: 100vh;
}

.container {
	padding: 2rem 1rem 6rem;
	max-width: 1400px;
	margin: 0 auto;
}

.header {
	text-align: center;
	margin-bottom: 3rem;
	margin-top: 3rem;
}

.header h1 {
	font-size: 3.5rem;
	font-weight: 500;
	margin-bottom: 2rem;
	color: #374151;
}

.header p {
	font-size: 1.5rem;
	opacity: 0.95;
	font-weight: 400;
	padding-bottom: 2.5rem;
	color: #374151;
}

.color-picker {
	display: flex;
	background: white;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	overflow: hidden;
	max-width: 900px;
	margin: 0 auto;
	border-radius: 10px;
}

.left-panel {
	z-index: 1;
	background: #f9fafb;
	border-right: 3px solid #e5e7eb;
}

.color-selector {
	list-style: none;
	display: flex;
	flex-direction: column;
	padding: 1.5rem 0;
}

.color-selector input[type='radio'] {
	display: none;
}

.color-selector label {
	position: relative;
	display: flex;
	align-items: center;
	padding: 0.75rem 1.5rem;
	cursor: pointer;
	transition: background 200ms;
}

.color-selector label:hover {
	background: rgba(0, 0, 0, 0.05);
}

.color-circle {
	display: inline-block;
	width: 1.5rem;
	height: 1.5rem;
	background-color: currentColor;
	border-radius: 50%;
	position: relative;
}

.color-ring {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 1rem;
	height: 1rem;
	border: 3px solid;
	border-radius: 50%;
	opacity: 0;
	transition: all 250ms;
}

.color-selector input[type='radio']:checked + label .color-ring {
	opacity: 1;
	width: 2rem;
	height: 2rem;
}

.right-panel {
	position: relative;
	flex-grow: 1;
	overflow: hidden;
	min-height: 600px;
}

.palette-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	padding: 2rem;
	transform: translateX(-100%);
	transition: transform 300ms ease-in-out;
}

.palette-wrapper.active {
	transform: translateX(0);
}

.palette-header {
	font-weight: 500;
	font-size: 2.5rem;
	color: #374151;
	margin-bottom: 1.5rem;
}

.palette {
	list-style: none;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	gap: 0.5rem;
}

.palette-item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-grow: 1;
	padding: 0 1.25rem;
	border-radius: 0.5rem;
	font-family: 'Fira Code', monospace;
	font-size: 0.875rem;
	transition: transform 200ms, box-shadow 200ms;
	color: white;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.palette-item:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.weight,
.hex {
	cursor: pointer;
	padding: 0.5rem;
	margin: -0.5rem;
	border-radius: 0.25rem;
	transition: background 150ms;
	font-size: 1.5rem;
}

.weight:hover,
.hex:hover {
	background: rgba(0, 0, 0, 0.1);
}

.copied-indicator {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, 100%);
	opacity: 0;
	background: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	font-family: 'Arial', sans-serif;
	pointer-events: none;
	transition: all 300ms;
	white-space: nowrap;
}

.copied-indicator.show {
	transform: translate(-50%, -50%);
	opacity: 1;
}

@media (max-width: 768px) {
	.header h1 {
		font-size: 2rem;
	}

	.header p {
		font-size: 1.15rem;
		padding-bottom: 1rem;
	}

	.palette-wrapper {
		padding: 1.5rem;
	}

	.palette-header {
		font-size: 1.25rem;
		margin-bottom: 1rem;
	}

	.palette-item {
		padding: 0 0.875rem;
		font-size: 0.8rem;
	}

	.weight,
	.hex {
		font-size: 1rem;
		padding: 0.375rem;
		margin: -0.375rem;
	}
}