<!DOCTYPE html>
<html>
<head>
    <title>Export</title>
    <link href="{{ asset('css/app.css') }}" rel="stylesheet">
    <style>
        .export-button {
            background: rgb(231, 70, 16);
            border-color: rgb(231, 70, 16);
            color: #fff;
            padding: 0 15px;
            cursor: pointer;
        }
        .export-button:disabled { opacity: 0.6; cursor: not-allowed; }
    </style>
</head>
<body>
    <form action="{{ route('dropdown.export') }}" method="POST">
        @csrf
        <button type="submit" class="export-button">Export CSV</button>
    </form>
    @if (session('success'))
        <div style="color: green;">{{ session('success') }}</div>
    @endif
</body>
</html>