<div class="modal-overlay" id="add-list-modal">
    <div class="modal-content modal-list">
        <button class="modal-close" onclick="closeAddToListModal()">✕</button>
        <h2 class="modal-title" id="modal-title">Add to List</h2>

        <div class="modal-body">
            <div class="modal-fields-grid">
                <div class="form-group">
                    <label>Status</label>
                    <select id="entry-status" class="form-input">
                        <option value="CURRENT">Watching/Reading</option>
                        <option value="COMPLETED">Completed</option>
                        <option value="PLANNING">Planning</option>
                        <option value="PAUSED">Paused</option>
                        <option value="DROPPED">Dropped</option>
                        <option value="REPEATING">Rewatching</option>
                    </select>
                </div>

                <div class="form-group">
                    <label>Episodes Watched</label>
                    <input type="number" id="entry-progress" class="form-input" min="0" placeholder="0">
                </div>

                <div class="form-group">
                    <label>Your Score (0-10)</label>
                    <input type="number" id="entry-score" class="form-input" min="0" max="10" step="0.1" placeholder="Optional">
                </div>

                <div class="form-group full-width">
                    <div class="date-group">
                        <div class="date-input-pair">
                            <label for="entry-start-date">Start Date</label>
                            <input type="date" id="entry-start-date" class="form-input">
                        </div>
                        <div class="date-input-pair">
                            <label for="entry-end-date">End Date</label>
                            <input type="date" id="entry-end-date" class="form-input">
                        </div>
                    </div>
                </div>

                <div class="form-group">
                    <label for="entry-repeat-count">Rewatch Count</label>
                    <input type="number" id="entry-repeat-count" class="form-input" min="0">
                </div>

                <div class="form-group notes-group">
                    <label for="entry-notes">Notes</label>
                    <textarea id="entry-notes" class="form-input notes-textarea" rows="4" placeholder="Personal notes..."></textarea>
                </div>

                <div class="form-group checkbox-group">
                    <input type="checkbox" id="entry-is-private" class="form-checkbox">
                    <label for="entry-is-private">Mark as Private</label>
                </div>
            </div>
        </div>

        <div class="modal-actions">
            <button class="btn-danger" id="modal-delete-btn" onclick="deleteFromList()">Remove</button>
            <button class="btn-secondary" onclick="closeAddToListModal()">Cancel</button>
            <button class="btn-primary" onclick="saveToList()">Save Changes</button>
        </div>
    </div>
</div>