<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>PCB Tools by kennycoder + pszsh</title>
    <link rel="stylesheet" href="/static/style.css">
</head>

<body>
    <div class="card">
        <h2>Success!</h2>
        <p>{{.Message}}</p>
        {{if .ZipFile}}
        <a href="/download/{{.ZipFile}}" class="btn"
            style="display: block; width: 100%; margin-bottom: 20px; font-weight: bold; font-size: 1.1em; padding: 15px;">Download
            All (ZIP)</a>
        <h3
            style="margin-bottom: 10px; font-size: 0.9em; text-transform: uppercase; color: var(--border-color); letter-spacing: 1px;">
            Individual Files</h3>
        {{end}}

        <ul class="download-list">
            {{range .Files}}
            <li><a href="/download/{{.}}" class="btn">Download {{.}}</a></li>
            {{end}}
        </ul>
        {{if .BackURL}}
        <a href="{{.BackURL}}" class="btn secondary" style="background-color: #6b7280; color: white;">Back for
            Adjustments</a>
        {{end}}
        <a href="/" class="btn secondary">Start Over</a>
    </div>
</body>

</html>