<!DOCTYPE html>
<html>
<head>
    <title>Upload Documents</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='index.css') }}">
    <style>
        /* Reset and base styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f5f7fa;
            color: #333;
            padding: 30px 0;
        }

        .container {
            width: 90%;
            max-width: 700px;
            margin: auto;
            background-color: #fff;
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        }

        h2 {
            text-align: center;
            margin-bottom: 30px;
            font-size: 28px;
            color: #2c3e50;
        }

        form {
            display: flex;
            flex-direction: column;
        }

        label {
            margin-top: 15px;
            margin-bottom: 6px;
            font-weight: 600;
        }

        input[type="number"],
        select,
        input[type="file"] {
            padding: 10px 12px;
            border: 1px solid #ccc;
            border-radius: 6px;
            font-size: 16px;
            transition: border-color 0.3s ease;
        }

        input[type="number"]:focus,
        select:focus,
        input[type="file"]:focus {
            border-color: #007BFF;
            outline: none;
        }

        button[type="submit"] {
            margin-top: 30px;
            padding: 12px;
            background-color: #007BFF;
            border: none;
            border-radius: 6px;
            color: white;
            font-size: 18px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        button[type="submit"]:hover {
            background-color: #0056b3;
        }

        @media (max-width: 600px) {
            .container {
                padding: 20px;
            }

            h2 {
                font-size: 22px;
            }

            input, select {
                font-size: 15px;
            }

            button[type="submit"] {
                font-size: 16px;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <h2>Upload Income Tax Documents</h2>
        <form method="POST" enctype="multipart/form-data">
            <label for="year">Year:</label>
            <input type="number" name="year" required>

            <label for="stage">Stage:</label>
            <select name="stage" required>
                <option value="ITR">ITR</option>
                <option value="AO">AO</option>
                <option value="CIT">CIT</option>
                <option value="ITAT">ITAT</option>
            </select>

            <label for="documents">Select Documents:</label>
            <input type="file" name="documents" multiple required>

            <button type="submit">Upload</button>
        </form>
    </div>
</body>
</html>
