:root {
	--bg-primary: #fafafa; --bg-secondary: #ffffff; --bg-tertiary: #f5f5f5;
	--border-light: #e5e5e5; --border-medium: #d4d4d4;
	--text-primary: #171717; --text-secondary: #525252; --text-tertiary: #737373;
	--accent-blue: #2563eb; --accent-blue-hover: #1d4ed8; --accent-green: #16a34a;
	--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05); --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
		
.container { max-width: 1400px; margin: 0 auto; position: relative; z-index: 1; }

.color-card { background: var(--bg-secondary); border-radius: 1.5rem; padding: 2rem; box-shadow: var(--shadow-lg); border: 1px solid var(--border-light); margin-bottom: 1.5rem; animation: fadeIn 0.5s ease-out; }

.section-title { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.section-title::before { content: ''; width: 3px; height: 1rem; background: linear-gradient(180deg, var(--accent-blue), var(--accent-green)); border-radius: 2px; }

.color-inputs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.color-picker-large { display: flex; align-items: center; gap: 1.5rem; }

.container input[type="color"] { width: 100px; height: 100px; border-radius: 1.25rem; border: 3px solid var(--border-medium); cursor: pointer; background: transparent; transition: all 0.3s ease; }
.container input[type="color"]:hover { border-color: var(--accent-blue); transform: translateY(-3px); box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2); }
.container input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.container input[type="color"]::-webkit-color-swatch { border: none; border-radius: 1rem; }
.container input[type="color"]::-moz-color-swatch { border: none; border-radius: 1rem; }

.color-details { flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.color-label { font-size: 0.75rem; font-weight: 600; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.05em; }

.container select, .container input[type="text"] { width: 100%; padding: 0.5rem 1rem; background: var(--bg-tertiary); color: var(--text-primary); border: 1px solid var(--border-light); border-radius: 0.75rem; font-size: 0.9375rem; font-family: 'JetBrains Mono', monospace; transition: all 0.2s ease; }
.container select { cursor: pointer; font-family: 'DM Sans', sans-serif; }
.container select:hover, .container select:focus, .container input[type="text"]:focus { border-color: var(--accent-blue); outline: none; }
.container select optgroup { font-weight: 600; font-style: normal; color: var(--text-primary); }
.container select option { font-weight: 400; padding: 0.5rem; }

.mixer-section { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; }
.controls-panel { display: flex; flex-direction: column; gap: 1.5rem; }
.control-group { background: white; border-radius: 1rem; padding: 1.5rem; border: 1px solid var(--border-light); }
.control-label { font-size: 0.8125rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }

.slider-label-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.slider-label { font-size: 0.8125rem; font-weight: 500; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; }
.slider-value-badge { background: var(--bg-tertiary);border: 1px solid var(--border-light); color: var(--text-secondary); padding: 0.25rem 0.75rem; border-radius: 2rem; font-size: 0.75rem; font-weight: 600; font-family: 'JetBrains Mono', monospace; box-shadow: var(--shadow-sm); }

input[type="range"] { width: 100%; height: 10px; border-radius: 1rem; appearance: none; cursor: pointer; outline: none; background: var(--bg-tertiary); border: 1px solid var(--border-light); }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 22px; height: 22px; border-radius: 50%; background: white; cursor: pointer; border: 3px solid var(--accent-blue); box-shadow: var(--shadow-md); transition: all 0.2s ease; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: white; cursor: pointer; border: 3px solid var(--accent-blue); box-shadow: var(--shadow-md); transition: all 0.2s ease; }
input[type="range"]::-moz-range-thumb:hover { transform: scale(1.2); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4); }

.interpolation-section { margin-top: 1rem;}
.interpolation-label { font-size: 0.75rem; color: var(--text-tertiary); margin-bottom: 0.5rem; }

.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.quick-btn { padding: 0.75rem 1rem; background: var(--bg-tertiary); border: 1px solid var(--border-light); border-radius: 0.75rem; font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: all 0.2s ease; color: var(--text-primary); display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.quick-btn:hover { background: var(--bg-secondary); border-color: var(--accent-blue); transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.preview-panel { display: flex; flex-direction: column; gap: 1.5rem; }
.color-preview { width: 100%; height: 280px; border-radius: 1.25rem; box-shadow: var(--shadow-lg); border: 3px solid var(--border-medium); position: relative; overflow: hidden; background-image: linear-gradient(45deg, #e5e5e5 25%, transparent 25%), linear-gradient(-45deg, #e5e5e5 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e5e5e5 75%), linear-gradient(-45deg, transparent 75%, #e5e5e5 75%); background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0px; }
.color-preview-inner { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.color-info-overlay { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); padding: 1rem 1.75rem; border-radius: 1rem; box-shadow: var(--shadow-lg); border: 1px solid var(--border-light); font-family: 'JetBrains Mono', monospace; font-size: 1rem; color: var(--text-primary); font-weight: 500; }

.harmony-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.harmony-swatch { aspect-ratio: 1; border-radius: 1rem; border: 2px solid var(--border-medium); cursor: pointer; transition: all 0.2s ease; position: relative; }
.harmony-swatch:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-blue); }
.harmony-label { position: absolute; bottom: -1.75rem; left: 0; right: 0; text-align: center; font-size: 0.6875rem; color: var(--text-tertiary); font-weight: 500; }
        

.output-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; align-items: stretch; }
.output-content { height: 100%; }
.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}		
				
.output-item {
    background: #ffffff;
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #b9c5d5;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
	height: 100%;
}

.output-note {
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.7rem;
    margin-left: 6px;
    text-transform: none;
    letter-spacing: normal;
}

.output-item:hover {
    /*transform: translateY(-3px);*/
    border-color: #667eea;
    box-shadow: 0 10px 15px -3px rgba(102, 126, 234, 0.15), 0 4px 6px -2px rgba(102, 126, 234, 0.05);
}

.output-label {
    font-weight: 800; 
    color: #667eea; 
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
}

.output-label::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #667eea;
    border-radius: 50%;
    margin-right: 8px;
}
.output-value {
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    color: #2d3748;
    font-size: 0.95rem;
    background: #f1f5f9;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    word-break: break-all;
    border: 1px solid #e2e8f0;
    font-weight: 500;
} 

.copy-btn {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.copy-btn.copied1 {
    background: #10b981;
    border-color: #10b981;
    color: white;
} 

.full-width {
	grid-column: 1 / -1;
}
     
       
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 850px) { .mixer-section { grid-template-columns: 1fr; }.color-inputs-row, .output-grid { grid-template-columns: 1fr; } .harmony-grid { grid-template-columns: repeat(5, 1fr); } .header h1 { font-size: 2rem; } .quick-actions { grid-template-columns: 1fr; } input[type="color"] { width: 80px; height: 80px; } }