.control-group { margin-bottom: 15px; }
            .control-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.85rem; color: var(--text-main); }
            .color-input, .text-input { width: 100%; padding: 10px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 0.9rem; background: #fafafa; font-family: monospace; }
            .color-input:focus, .text-input:focus { outline: 2px solid var(--primary-color); background: #fff; }
            
            .color-picker-row { display: flex; gap: 10px; align-items: center; }
            .color-picker-input { -webkit-appearance: none; border: none; width: 50px; height: 42px; border-radius: 8px; cursor: pointer; background: none; }
            .color-picker-input::-webkit-color-swatch-wrapper { padding: 0; }
            .color-picker-input::-webkit-color-swatch { border: 1px solid var(--border-color); border-radius: 8px; }

            .action-btn { width: 100%; background-color: var(--primary-color); color: white; border: none; border-radius: 8px; padding: 12px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background-color 0.2s; margin-top: 10px; }
            .action-btn:hover { background-color: var(--primary-hover); }

            .preview-panel { background: #fff; flex: 1; padding: 25px; border-radius: var(--radius); box-shadow: 0 4px 12px rgba(0,0,0,0.08); border: 1px solid var(--border-color); display: flex; flex-direction: column; justify-content: center; }
            
            .color-preview-box { width: 100%; height: 100px; border-radius: 8px; border: 1px solid var(--border-color); background-color: #3498db; margin-top: 5px; margin-bottom: 15px; transition: background-color 0.2s; }
            
            .result-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
            .result-card { background: #f0f4f8; padding: 12px; border-radius: 8px; border: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
            .result-card span { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }
            .result-card strong { font-size: 0.95rem; color: var(--text-main); font-family: monospace; }
            
            .copy-code-btn { background: var(--primary-color); color: white; border: none; padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; cursor: pointer; font-weight: 600; }
            .copy-code-btn:hover { background: var(--primary-hover); }

            @media (max-width: 768px) { .main-container { flex-direction: column; } }