
        }

        .error {
            background: #f8d7da;
            color: #721c24;
        }
    </style>
</head>

<body>
    <h1>CSRF Protection Test</h1>

    <div class="test-section">
        <h3>1. Check Auto-Generated CSRF Token</h3>
        <button onclick="checkAutoToken()">Check Auto Token</button>
        <button onclick="getCsrfToken()">Get NEW CSRF Token</button>
        <div id="token-result" class="result"></div>
    </div>

    <div class="test-section">
        <h3>2. Test CSRF Protec