<!-- KPI Indicator Duration Setup Section -->
<div id="indicatorDurationSetup" class="row mt-4" style="display: none;">
    <div class="col-12">
      <div class="card mb-4">
        <div class="card-body">
          <div class="d-flex justify-content-between align-items-center mb-4">
            <h5 class="card-title mb-0">KPI Indicator Duration Setup</h5>
           
          </div>

          <!-- Duration Setup Form -->
          <form id="durationSetupForm" method="POST" action="{{ url('/kpi-configuration/duration-setup') }}">
            @csrf
            <div class="row mb-3">
              <div class="col-md-6">
                <div class="mb-3">
                  <label for="startYear" class="form-label">Start Year <span class="text-danger">*</span></label>
                  <select class="form-select" id="startYear" name="startYear" required>
                    <option value="">Select year</option>
                    <option value="2023">2023</option>
                    <option value="2024">2024</option>
                    <option value="2025">2025</option>
                    <option value="2026" selected>2026</option>
                    <option value="2027">2027</option>
                  </select>
                </div>
              </div>
            </div>

            <div class="row mb-3">
              <div class="col-md-6">
                <div class="mb-3">
                  <label for="startDate" class="form-label">Start Date <span class="text-danger">*</span></label>
                  <div class="input-group">
                    <input type="text" class="form-control datepicker" id="startDate" name="startDate"
                      placeholder="Select date" required>
                    <span class="input-group-text"><i class="bx bx-calendar"></i></span>
                  </div>
                </div>
              </div>
            </div>

            <div class="row mb-3">
              <div class="col-md-6">
                <div class="mb-3">
                  <label for="endDate" class="form-label">End Date <span class="text-danger">*</span></label>
                  <div class="input-group">
                    <input type="text" class="form-control datepicker" id="endDate" name="endDate"
                      placeholder="Select date" required>
                    <span class="input-group-text"><i class="bx bx-calendar"></i></span>
                  </div>
                </div>
              </div>
            </div>

            <div class="d-flex justify-content-end mt-4">
              <button type="submit" class="btn btn-primary">Save</button>
            </div>
          </form>
        </div>
      </div>
    </div>
  </div>