/* Detail Page Styles for traditional2020 */
@import url('option.css');

.detail-container {
	max-width: 1000px;
	margin: 0 auto;
	padding: 40px 20px 80px 20px;
}

/* Glassmorphic Container */
.detail-hero {
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-radius: var(--radius-lg);
	padding: 36px 24px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.5);
	margin-bottom: 24px;
}

.color-main-title {
	font-size: 3rem;
	font-weight: 800;
	margin: 0 0 10px 0;
	color: #0f172a;
	letter-spacing: -0.02em;
}

.color-sub-name {
	font-size: 1.5rem;
	font-weight: 400;
	color: #475569;
	margin-left: 8px;
}

.color-tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-bottom: 20px;
}

.color-tag-item {
	background: rgba(15, 23, 42, 0.06);
	color: #334155;
	padding: 4px 12px;
	border-radius: var(--radius-full);
	font-size: 0.875rem;
	font-weight: 500;
}

.hex-hero-display {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	background: #0f172a;
	color: #ffffff;
	padding: 10px 24px;
	border-radius: var(--radius-full);
	box-shadow: var(--shadow-md);
}

.hex-code-text {
	font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
	font-size: 1.75rem;
	font-weight: 700;
	margin: 0;
	letter-spacing: 0.05em;
}

.copy-hex-btn {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: #ffffff;
	padding: 6px 14px;
	border-radius: var(--radius-full);
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition-fast);
}

.copy-hex-btn:hover {
	background: rgba(255, 255, 255, 0.35);
	transform: scale(1.05);
}

/* Color Parameters Grid */
.color-params-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin-bottom: 32px;
}

.param-card {
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-radius: var(--radius-md);
	padding: 20px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.5);
}

.param-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	padding-bottom: 8px;
}

.param-title {
	font-size: 1rem;
	font-weight: 700;
	color: #1e293b;
}

.param-help {
	color: #94a3b8;
	cursor: help;
	font-size: 0.9rem;
}

.param-values {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.param-badge {
	font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
	background: #f1f5f9;
	color: #334155;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 0.85rem;
	font-weight: 600;
}

.badge-red { background: #fee2e2; color: #991b1b; }
.badge-green { background: #dcfce7; color: #166534; }
.badge-blue { background: #dbeafe; color: #1e40af; }

/* Modern Slider / Palette Variations Panel */
.modern-slider-panel {
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-radius: var(--radius-lg);
	padding: 28px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.5);
}

.slider-panel-title {
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: #64748b;
	margin: 0 0 20px 0;
	text-transform: uppercase;
}

.slider-row {
	display: flex;
	align-items: center;
	margin-bottom: 14px;
	gap: 16px;
}

.slider-label {
	width: 48px;
	font-size: 0.8rem;
	font-weight: 700;
	color: #334155;
	text-align: right;
	font-family: 'SFMono-Regular', Consolas, monospace;
}

.slider-swatches {
	display: flex;
	flex: 1;
	height: 28px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.swatch-item {
	flex: 1;
	height: 100%;
	display: block;
	transition: var(--transition-fast);
	position: relative;
}

.swatch-item:hover {
	transform: scaleY(1.3);
	z-index: 10;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
	border-radius: 4px;
}
