        <!-- State Master Form - Place this in your main content area -->
        <div class="state-master-wrapper" id="stateMasterContainer" style="display: none;">
            <div class="state-master-grid">
            <!-- Form Card -->
            <div class="form-card">
                <div class="form-header">
                <div class="header-icon">
                    <i class="bi bi-map"></i>
                </div>
                <div class="header-text">
                    <h3>STATE MASTER</h3>
                    <p>State Entry</p>
                </div>
                </div>
                <div class="form-body">
                <div class="form-row">
                    <div class="form-group">
                    <label><i class="bi bi-hash"></i> State Code</label>
                    <input type="text" id="stateCode" class="form-control" value="2" placeholder="Enter State Code">
                    </div>
                    <div class="form-group">
                    <label><i class="bi bi-pin-map-fill"></i> State Name</label>
                    <input type="text" id="stateName" class="form-control" value="WEST BENGAL" placeholder="Enter State Name">
                    </div>
                </div>
                <div class="form-actions">
                    <button class="btn-new" id="newBtn"><i class="bi bi-plus-circle"></i> New</button>
                    <button class="btn-save" id="saveBtn"><i class="bi bi-save"></i> Save</button>
                </div>
                </div>
            </div>

            <!-- State List Table Card -->
            <div class="table-card">
                <div class="table-header">
                <h4><i class="bi bi-table"></i> State List</h4>
                <span class="record-count" id="recordCount">0 Records</span>
                </div>
                <div class="table-responsive">
                <table class="data-table" id="stateTable">
                    <thead>
                    <tr>
                        <th>#</th>
                        <th>State Code</th>
                        <th>State Name</th>
                        <th>Action</th>
                    </tr>
                    </thead>
                    <tbody id="stateTableBody">
                    <tr>
                        <td>1</td>
                        <td>2</td>
                        <td>WEST BENGAL</td>
                        <td><button class="btn-delete" onclick="deleteState(0)"><i class="bi bi-trash"></i> Delete</button></td>
                    </tr>
                    </tbody>
                </table>
                </div>
            </div>
            </div>
        </div>
        <!--State Master Form-->