<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Dashboard | Income Tax Utilities</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='index.css') }}">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f4f7f6;
            color: #333;
            line-height: 1.6;
        }
        .container {
            max-width: 750px;
            margin: 50px auto;
            padding: 40px;
            background-color: #fff;
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        }
        .header {
            text-align: center;
            margin-bottom: 40px;
            font-size: 32px;
            color: #2c3e50;
            font-weight: 600;
        }
        .section {
            margin-bottom: 35px;
        }
        .section h3 {
            font-size: 22px;
            color: #0056b3;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid #e9ecef;
        }
        ul {
            list-style: none;
            padding-left: 5px;
        }
        li {
            margin: 15px 0;
        }
        a {
            display: block;
            text-decoration: none;
            background-color: #007BFF;
            color: white;
            padding: 14px 20px;
            border-radius: 8px;
            font-size: 17px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px rgba(0, 123, 255, 0.1);
        }
        a:hover {
            background-color: #0056b3;
            transform: translateY(-2px) scale(1.01);
            box-shadow: 0 6px 12px rgba(0, 91, 179, 0.2);
        }
        /* Responsive */
        @media (max-width: 600px) {
            .container {
                margin: 20px;
                padding: 25px;
            }
            .header {
                font-size: 26px;
            }
            a {
                font-size: 16px;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <h2 class="header">Dashboard 🏛️</h2>

        <div class="section">
            <h3>ITR (Income Tax Return)</h3>
            <ul>
                <li><a href="{{ url_for('add_itr') }}">➕ Add New ITR Record</a></li>
                <li><a href="{{ url_for('display_itr') }}">🧾 View & Manage ITR Records</a></li>
            </ul>
        </div>

        <div class="section">
            <h3>AO (Assessing Officer)</h3>
            <ul>
                <li><a href="{{ url_for('add_ao') }}">➕ Add New AO Record</a></li>
                <li><a href="{{ url_for('display_ao') }}">🧾 View & Manage AO Records</a></li>
            </ul>
        </div>

        <div class="section">
            <h3>CIT (Commissioner of Income Tax)</h3>
            <ul>
                <li><a href="{{ url_for('add_cit') }}">➕ Add New CIT Record</a></li>
                <li><a href="{{ url_for('display_cit') }}">🧾 View & Manage CIT Records</a></li>
            </ul>
        </div>

        <div class="section">
            <h3>ITAT (Income Tax Appellate Tribunal)</h3>
            <ul>
                 <li><a href="{{ url_for('add_itat') }}">➕ Add New ITAT Record</a></li>
                 <li><a href="{{ url_for('display_itat') }}">🧾 View & Manage ITAT Records</a></li>
            </ul>
        </div>

        <div class="section">
            <h3>Documents & Reports 📂</h3>
            <ul>
                <li><a href="/upload">→ Upload Documents</a></li>
                <li><a href="/documents">→ View Documents</a></li>
                <li><a href="/reports">→ Generate Reports</a></li>
                <li><a href="/summary_report">→ Generate Summary Reports</a></li>
            </ul>
        </div>
    </div>
</body>
</html>