description = "Demonstrates custom corner characters with fancy Unicode borders"
name = "Fancy Borders Demo"

# Fancy bordered header - border at margin 0, content at margin 2
[[elements]]
border_bottom = true
border_bottom_char = "─"
border_bottom_l = "╰"
border_bottom_len = 35
border_bottom_r = "╯"
border_margin_left = 0
border_top = true
border_top_char = "─"
border_top_l = "╭"
border_top_len = 35
border_top_r = "╮"
content_margin_left = 2
name = "fancy_header"
order = 1
title = "✨ Welcome to Fancy Forms ✨"
type = "section"

# Include fancy border fragment - margin settings are in the fragment items
[[elements]]
includes = ["fragments/fancy_border_section.toml"]
name = "fancy_group"
order = 2
type = "group"

# Simple field
[[elements]]
name = "favorite_style"
options = [
  { value = "Fancy Unicode", label = "✨ Fancy Unicode - Modern look" },
  { value = "Simple ASCII", label = "📝 Simple ASCII - Classic style" },
  { value = "Mixed Styles", label = "🎨 Mixed Styles - Custom borders" },
]
order = 3
prompt = "Your favorite border style"
required = true
type = "select"

# Box border for footer - border at 0, content at 2
[[elements]]
border_bottom = true
border_bottom_char = "─"
border_bottom_l = "└"
border_bottom_len = 40
border_bottom_r = "┘"
border_margin_left = 0
border_top = true
border_top_char = "─"
border_top_l = "┌"
border_top_len = 40
border_top_r = "┐"
content = "Thanks for exploring fancy borders!"
content_margin_left = 2
name = "box_footer"
order = 4
title = "✓ All Done!"
type = "section"
