<!DOCTYPE html>
<html>
<head>
    <title>Bubulle Corp - Profile Settings</title>
    <link rel="stylesheet" href="/static/style.css">
    <link rel="icon" href="/static/blowfish.svg" type="image/svg+xml">
</head>
<body>
    <div class="dashboard">
        <div class="bubbles">
            <span></span><span></span><span></span><span></span>
            <span></span><span></span><span></span><span></span>
        </div>
        <div class="topbar">
            <div class="brand">
                <span class="fish-icon">&#x1F421;</span>
                <h1>BUBULLE CORP</h1>
                <span>Profile Configuration</span>
            </div>
            <div class="profile">
                <span class="username">{{ user['username'] }}</span>
                <img src="/icon" alt="Profile">
                <a href="/logout" class="logout">Logout</a>
            </div>
        </div>

        <div class="settings-container">
            <h1>&#x2699; Profile Settings</h1>
            <p class="subtitle">Configure your crew badge and avatar source</p>
            {% if error %}<div class="error">{{ error }}</div>{% endif %}
            <form method="POST">
                <textarea name="settings" rows="8">{{ user['settings'] }}</textarea>
                <button type="submit">&#x1F4BE; Save Configuration</button>
            </form>
            <a href="/" class="back">&#x2190; Back to Dashboard</a>
        </div>
    </div>
</body>
</html>
