<?php

defined( 'ABSPATH' ) || exit;

global $SEOAIC;

?>
<div id="edit-idea-subtitle" class="seoaic-modal">
    <div class="seoaic-modal-background seoaic-modal-close"></div>
    <div class="seoaic-popup">
        <div class="seoaic-popup__header">
            <span class="seoaic-modal-close">
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M1 1L15 15M15 1L1 15" stroke="#F1EBF7" stroke-width="2"/>
                </svg>
            </span>
            <h3 class="modal-title" data-title="<?php esc_html_e('Edit an item', 'seoaic');?>"></h3>
        </div>
        <div class="seoaic-popup__content">
            <form id="edit-idea-form-subtitle" class="seoaic-form" method="post">
                <input class="seoaic-form-item" type="hidden" name="action" value="seoaic_edit_idea">
                <input id="item_edit_id" class="seoaic-form-item" type="hidden" name="item_id" value="">
                <div class="seoaic-popup__field">
                    <div class="add-idea-subtitle-wrap">
                        <input type="text"
                            name="title"
                            value=""
                            id="item_edit_name"
                            class="seoaic-form-item"
                            placeholder="Subtitle"
                        >

                        <textarea
                            class="seoaic-form-item px-30"
                            name="outline"
                            placeholder="Subtitle outline"
                            autocomplete="off"
                            rows="6"
                        ></textarea>
                    </div>
                </div>
            </form>
        </div>
        <div class="seoaic-popup__footer">
            <button type="submit" form="edit-idea-form-subtitle" class="seoaic-popup__btn edit-idea-keyword"><?php esc_html_e('Save', 'seoaic');?></button>
        </div>
    </div>
</div>
