<div class="d-none" id="InstructorHighlightsModal">
    <h3 class="section-title after-line font-20 text-dark-blue mb-25">{{ trans('webinars.admin_instructor_highlights_title') }}</h3>

    <form action="/admin/webinar-instructor-highlights/store" method="post" id="instructorHighlightsForm">
        {{ csrf_field() }}
        <input type="hidden" name="webinar_id" value="{{ !empty($webinar) ? $webinar->id : '' }}">

        <p class="text-gray font-13">{{ trans('webinars.admin_instructor_highlights_hint') }}</p>

        <div class="d-flex justify-content-between align-items-center mb-3 mt-20">
            <h4 class="mb-0">{{ trans('webinars.admin_instructor_highlights_cards') }}</h4>
            <button type="button" id="addInstructorHighlightBox" class="btn btn-sm btn-success">{{ trans('webinars.admin_instructor_highlights_add') }}</button>
        </div>

        <div id="instructorHighlightsList"></div>

        <div class="mt-30 d-flex align-items-center justify-content-end">
            <button type="button" id="saveInstructorHighlights" class="btn btn-primary">{{ trans('public.save') }}</button>
            <button type="button" class="btn btn-danger ml-2 close-swl">{{ trans('public.close') }}</button>
        </div>
    </form>
</div>

<div class="d-none" id="instructorHighlightBoxTemplate">
    <div class="highlight-box-item card mb-3" data-box-index="">
        <div class="card-body">
            <div class="d-flex justify-content-between align-items-center mb-3">
                <h5 class="mb-0">{{ trans('webinars.admin_instructor_highlights_card') }} <span class="highlight-box-number"></span></h5>
                <button type="button" class="btn btn-sm btn-danger remove-instructor-highlight">{{ trans('public.delete') }}</button>
            </div>

            <div class="row">
                <div class="col-md-4">
                    <div class="form-group">
                        <label>{{ trans('webinars.admin_instructor_highlights_icon') }}</label>
                        <select name="items[][icon]" class="form-control highlight-icon">
                            <option value="users">{{ trans('webinars.admin_instructor_highlights_icon_users') }}</option>
                            <option value="award">{{ trans('webinars.admin_instructor_highlights_icon_award') }}</option>
                            <option value="book-open">{{ trans('webinars.admin_instructor_highlights_icon_book') }}</option>
                            <option value="clock">{{ trans('webinars.admin_instructor_highlights_icon_clock') }}</option>
                            <option value="star">{{ trans('webinars.admin_instructor_highlights_icon_star') }}</option>
                            <option value="check-circle">{{ trans('webinars.admin_instructor_highlights_icon_check') }}</option>
                            <option value="layers">{{ trans('webinars.admin_instructor_highlights_icon_layers') }}</option>
                            <option value="play-circle">{{ trans('webinars.admin_instructor_highlights_icon_play') }}</option>
                        </select>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="form-group">
                        <label>{{ trans('webinars.admin_instructor_highlights_value') }}</label>
                        <input type="text" name="items[][value]" class="form-control highlight-value" placeholder="23 / معتمد / 300:00">
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="form-group">
                        <label>{{ trans('webinars.admin_instructor_highlights_label') }}</label>
                        <input type="text" name="items[][label]" class="form-control highlight-label" placeholder="{{ trans('webinars.landing_lesson_label') }}">
                    </div>
                </div>
            </div>

            <div class="custom-control custom-checkbox mt-10">
                <input type="checkbox" name="items[][status]" value="1" class="custom-control-input highlight-status" id="highlight_status_" checked>
                <label class="custom-control-label" for="highlight_status_">{{ trans('admin/main.active') }}</label>
            </div>
        </div>
    </div>
</div>
